aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-01-17 20:49:14 +0000
committerrvelices <rv-github@modusoptimus.com>2011-01-17 20:49:14 +0000
commitb5046a4f949435ffbf068884f97cce300bf5ee90 (patch)
tree0810fc1bfec8a5be40964cefd26b9b9d0b678862 /include
parentd125d527fa4c0384f3478419e6db985f767923d9 (diff)
got rid of a very innefficient (and not required) css rule
git-svn-id: http://piwigo.org/svn/trunk@8725 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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[]=