aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--admin/themes/default/default-layout.css4
-rw-r--r--include/functions_html.inc.php2
-rw-r--r--include/template.class.php3
-rw-r--r--themes/default/theme.css3
4 files changed, 2 insertions, 10 deletions
diff --git a/admin/themes/default/default-layout.css b/admin/themes/default/default-layout.css
index 3c8aa7e2e..43c51c045 100644
--- a/admin/themes/default/default-layout.css
+++ b/admin/themes/default/default-layout.css
@@ -400,10 +400,6 @@ FORM.filter FIELDSET LABEL SPAN TEXTAREA {
margin: 0 0.5em 0 0;
}
-FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT {
- margin-right:0;
-}
-
/* following declaration is important to avoid strange FF behaviour */
FORM.filter FIELDSET LABEL SPAN SELECT {
margin: 0;
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[]=
diff --git a/themes/default/theme.css b/themes/default/theme.css
index 92e2f154f..9a74d6a7d 100644
--- a/themes/default/theme.css
+++ b/themes/default/theme.css
@@ -549,9 +549,6 @@ FIELDSET {
margin: 0 0.5em 0 0;
}
-.filter .tagSelection LI LABEL INPUT {
- margin-right:0;
-}
.filter INPUT[type="submit"] {