aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions_html.inc.php2
-rw-r--r--include/template.class.php3
2 files changed, 2 insertions, 3 deletions
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index cd997c9a3..2d4cc41a0 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -258,7 +258,7 @@ function get_html_tag_selection(
$output.=
'>'
- .' '. $tag['name']
+ .$tag['name']
.'</label>'
.'</li>'
."\n"
diff --git a/include/template.class.php b/include/template.class.php
index 0cccace81..e5f08a85a 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -618,8 +618,7 @@ class Template {
{
$content[]= '<script type="text/javascript">';
$content[]= '(function() {
-var after = document.getElementsByTagName(\'script\')[document.getElementsByTagName(\'script\').length-1];
-var s;';
+var s,after = document.getElementsByTagName(\'script\')[document.getElementsByTagName(\'script\').length-1];';
foreach ($scripts[1] as $id => $script)
{
$content[]=