Add missing @s in codemirror.tl
authorTim Düsterhus <timwolla@googlemail.com>
Sun, 23 Jun 2013 12:11:22 +0000 (15:11 +0300)
committerTim Düsterhus <timwolla@googlemail.com>
Sun, 23 Jun 2013 12:11:22 +0000 (15:11 +0300)
wcfsetup/install/files/acp/templates/codemirror.tpl

index ca871afc3b8a9f18c0b5685ba7ad4c1526f7574f..cf43ce2aa1c76125c8ccb040396ffbe8db953bf6 100644 (file)
@@ -1,23 +1,23 @@
 {if !$codemirrorLoaded|isset}
-       <script type="text/javascript" src="{$__wcf->getPath()}js/3rdParty/codemirror/codemirror.js"></script>
-       <script type="text/javascript" src="{$__wcf->getPath()}js/3rdParty/codemirror/addon/dialog/dialog.js"></script>
-       <script type="text/javascript" src="{$__wcf->getPath()}js/3rdParty/codemirror/addon/search/searchcursor.js"></script>
-       <script type="text/javascript" src="{$__wcf->getPath()}js/3rdParty/codemirror/addon/search/search.js"></script>
+       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/codemirror/codemirror.js"></script>
+       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/dialog/dialog.js"></script>
+       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/search/searchcursor.js"></script>
+       <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/search/search.js"></script>
 {/if}
-{if $codemirrorMode|isset}<script type="text/javascript" src="{$__wcf->getPath()}js/3rdParty/codemirror/mode/{$codemirrorMode}/{$codemirrorMode}.js"></script>{/if}
+{if $codemirrorMode|isset}<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/codemirror/mode/{$codemirrorMode}/{$codemirrorMode}.js"></script>{/if}
 {event name='javascriptIncludes'}
 
 <script type="text/javascript">
 //<![CDATA[
        {if !$codemirrorLoaded|isset}
-               $('<link rel="stylesheet" href="{$__wcf->getPath()}js/3rdParty/codemirror/codemirror.css" />').appendTo('head');
-               $('<link rel="stylesheet" href="{$__wcf->getPath()}js/3rdParty/codemirror/addon/dialog/dialog.css" />').appendTo('head');
+               $('<link rel="stylesheet" href="{@$__wcf->getPath()}js/3rdParty/codemirror/codemirror.css" />').appendTo('head');
+               $('<link rel="stylesheet" href="{@$__wcf->getPath()}js/3rdParty/codemirror/addon/dialog/dialog.css" />').appendTo('head');
        {/if}
        
        $(function() {
-               var $elements = $('{$codemirrorSelector|encodeJS}');
+               var $elements = $('{@$codemirrorSelector|encodeJS}');
                var $config = {
-                       {if $codemirrorMode|isset}mode: '{$codemirrorMode|encodeJS}',{/if}
+                       {if $codemirrorMode|isset}mode: '{@$codemirrorMode|encodeJS}',{/if}
                        lineWrapping: true,
                        indentWithTabs: true,
                        lineNumbers: true,