diff --git a/include/admin/tpl/out_stack_loop.tpl b/include/admin/tpl/out_stack_loop.tpl index 03f819e1..84bd2a98 100644 --- a/include/admin/tpl/out_stack_loop.tpl +++ b/include/admin/tpl/out_stack_loop.tpl @@ -143,8 +143,9 @@ {$none} {/if} -{* Smarty 3 has a new auto literal option which is enabled by default. - When the { is surrounded by whitespace it is not interpreted as smarty delimiter but literal. e.g. ' } ;' *} +{*** Smarty 3 has a new auto literal option which is enabled by default. + When the { is surrounded by whitespace it is not interpreted as smarty delimiter but literal. e.g. ' } ;' + AS tests have proofed, ending javascript delimiters " } ;" and " };" and even "};" work fine as well. So back to origin. ***} diff --git a/include/admin/tpl/show_plugins.fnc.tpl b/include/admin/tpl/show_plugins.fnc.tpl index e6896498..6774be3f 100644 --- a/include/admin/tpl/show_plugins.fnc.tpl +++ b/include/admin/tpl/show_plugins.fnc.tpl @@ -15,8 +15,8 @@ {($is_first) ? 'var ' : ''}list = document.getElementById("{$sidebar}_col"); DragDrop.makeListContainer(list, 'g1'); - list.onDragOver = function() { this.style["border"] = "1px solid #4d759b"; } ; - list.onDragOut = function() { this.style["border"] = "none"; } ; + list.onDragOver = function() { this.style["border"] = "1px solid #4d759b"; }; + list.onDragOut = function() { this.style["border"] = "none"; }; {assign var="is_first" value=false} {/foreach} diff --git a/include/admin/tplold/out_stack_loop.tpl b/include/admin/tplold/out_stack_loop.tpl index 479c4b0a..88ed301e 100644 --- a/include/admin/tplold/out_stack_loop.tpl +++ b/include/admin/tplold/out_stack_loop.tpl @@ -165,8 +165,9 @@ {if (!is_array($items) || empty($order_id))} {$none} {/if} -{* Smarty 3 has a new auto literal option which is enabled by default. - When the { is surrounded by whitespace it is not interpreted as smarty delimiter but literal. e.g. ' } ;' *} +{*** Smarty 3 has a new auto literal option which is enabled by default. + When the { is surrounded by whitespace it is not interpreted as smarty delimiter but literal. e.g. ' } ;' + AS tests have proofed, ending javascript delimiters " } ;" and " };" and even "};" work fine as well. So back to origin. ***} diff --git a/include/admin/tplold/show_plugins.fnc.tpl b/include/admin/tplold/show_plugins.fnc.tpl index fb1b297f..f782cd0c 100644 --- a/include/admin/tplold/show_plugins.fnc.tpl +++ b/include/admin/tplold/show_plugins.fnc.tpl @@ -14,8 +14,8 @@ When the { is followed by a space it's not interpreted as smarty delimiter but l {($is_first) ? 'var ' : ''}list = document.getElementById("{$sidebar}_col"); DragDrop.makeListContainer(list, 'g1'); - list.onDragOver = function() { this.style["border"] = "1px solid #4d759b"; } ; - list.onDragOut = function() { this.style["border"] = "none"; } ; + list.onDragOver = function() { this.style["border"] = "1px solid #4d759b"; }; + list.onDragOut = function() { this.style["border"] = "none"; }; {assign var="is_first" value=false} {/foreach} diff --git a/templates/2k11/admin/media_choose.tpl b/templates/2k11/admin/media_choose.tpl index 6844eca6..6da269fa 100644 --- a/templates/2k11/admin/media_choose.tpl +++ b/templates/2k11/admin/media_choose.tpl @@ -296,7 +296,7 @@ if (parent.frames && parent.frames['tree']) { tree = new YAHOO.widget.TreeView("treeDiv1"); tree.onExpand = function(node) { document.getElementById('newdirlink').href = basenewdirurl + node.data.relpath; - } ; + }; coreNode = new YAHOO.widget.TextNode("{$CONST.MEDIA}", tree.getRoot(), false); coreNode.href = baseurl; diff --git a/templates/default/admin/media_choose.tpl b/templates/default/admin/media_choose.tpl index 021cfaad..55916d7b 100644 --- a/templates/default/admin/media_choose.tpl +++ b/templates/default/admin/media_choose.tpl @@ -274,7 +274,7 @@ tree = new YAHOO.widget.TreeView("treeDiv1"); tree.onExpand = function(node) { document.getElementById('newdirlink').href = basenewdirurl + node.data.relpath; - } ; + }; coreNode = new YAHOO.widget.TextNode("{$CONST.MEDIA}", tree.getRoot(), false); coreNode.href = baseurl;