aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-05-23 10:15:48 +0000
committerrvelices <rv-github@modusoptimus.com>2008-05-23 10:15:48 +0000
commit553727dffacc48e8337c1d141f2a25af359e74b1 (patch)
tree3862effd5384b7c39295ed6690c9ccafd1677e54 /template
parent9300a7118d82ed3b1dd4359509d6cbcd40a0ab98 (diff)
- merge r2355 from 1.7 to trunk: fix display of menubar related tags in IE7
- optimized sql query in permalinks - remove some unused global variable declarations - fix bug in admin/themeconf.inc.php git-svn-id: http://piwigo.org/svn/trunk@2356 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/fix-ie5-ie6.css5
-rw-r--r--template/yoga/fix-khtml.css6
-rw-r--r--template/yoga/menubar.css4
-rw-r--r--template/yoga/theme/admin/themeconf.inc.php6
4 files changed, 10 insertions, 11 deletions
diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css
index a16290fcb..b78bc7bf4 100644
--- a/template/yoga/fix-ie5-ie6.css
+++ b/template/yoga/fix-ie5-ie6.css
@@ -16,11 +16,6 @@ H1, #theHeader {
width: 99%; /* buggy IE box model */
}
-/* fix tag clouds : IE doesn't like anything but inline */
-#menubar #menuTagCloud LI
-{
- display: inline;
-}
/* fix quickconnect layout */
FORM#quickconnect FIELDSET {
diff --git a/template/yoga/fix-khtml.css b/template/yoga/fix-khtml.css
index ce35d70f3..29ffd1877 100644
--- a/template/yoga/fix-khtml.css
+++ b/template/yoga/fix-khtml.css
@@ -10,5 +10,11 @@
top: -1px; /* move the container up by the same amount */
margin-bottom: 5px;
}
+
+#menubar #menuTagCloud LI
+{
+ display: inline-block;/* required for Safari 3.1 - otherwise overflows on the right */
+}
+
/* end Safari/Konqueror */
diff --git a/template/yoga/menubar.css b/template/yoga/menubar.css
index 0e8185eeb..e676d5784 100644
--- a/template/yoga/menubar.css
+++ b/template/yoga/menubar.css
@@ -144,8 +144,6 @@ input#qsearchInput {
#menubar #menuTagCloud LI
{
- display: inline; /* FF doesn't see the inline-block below */
+ display: inline;
white-space: nowrap; /* No line break in the LI but Opera set nowrap to */
- display: inline-block;/* the whole UL, inline-block fix it. */
- /* IE wants inline in fix-ie5-ie6.css */
}
diff --git a/template/yoga/theme/admin/themeconf.inc.php b/template/yoga/theme/admin/themeconf.inc.php
index ab68d89e3..5a6450e82 100644
--- a/template/yoga/theme/admin/themeconf.inc.php
+++ b/template/yoga/theme/admin/themeconf.inc.php
@@ -14,12 +14,12 @@ function selected_admin_menu()
case 'cat_list':
case 'cat_modify':
case 'cat_move':
- case 'cat_options':
+ case 'cat_options':
case 'element_set':
case 'cat_perm':
case 'permalinks':
case 'picture_modify':
- if (isset($_GET['cat']) and $_GET['cat']='caddie') {
+ if (isset($_GET['cat']) and $_GET['cat']=='caddie') {
return 3;
}
return 2;
@@ -40,7 +40,7 @@ function selected_admin_menu()
case 'plugins_list':
case 'plugin':
return 5;
- }
+ }
}
return 0;
}