aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-07-14 16:42:36 +0000
committerchrisaga <chrisaga@piwigo.org>2006-07-14 16:42:36 +0000
commit69d0022bdd83d1367703b170c510fcaf9e277f6e (patch)
tree4185204b580d3f79ff3b3232f66bf6ecd589fb3a
parent65a9bc2ca79263aac1ae20cc23916221461ac4cd (diff)
merge from trunk r1463:1464 into branch 1.6 (fix bug 461: csshover.htc doesn't work if $conf['question_mark_in_urls'] = false)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1465 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--template/yoga/fix-ie5-ie6.css5
-rw-r--r--template/yoga/header.tpl4
2 files changed, 4 insertions, 5 deletions
diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css
index 99d2b311b..59e3ccee1 100644
--- a/template/yoga/fix-ie5-ie6.css
+++ b/template/yoga/fix-ie5-ie6.css
@@ -3,11 +3,6 @@
@import "thumbnails-fix-ie5-ie6.css";
-/* fix lack of :hover behaviour for non link objects */
-BODY {
- behavior:url("template-common/csshover.htc");
-}
-
/* to avoid vanishing objects in IE6 */
H1, #theHeader {
width: 100%; /* <- useless but seems to make IE6 happy */
diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl
index 0c0619352..3257185cc 100644
--- a/template/yoga/header.tpl
+++ b/template/yoga/header.tpl
@@ -24,6 +24,10 @@ the "text/nonsense" prevents gecko based browsers to load it -->
<title>{GALLERY_TITLE}:{PAGE_TITLE}</title>
<script type="text/javascript" src="{pwg_root}include/scripts.js"></script>
<!--[if lt IE 7]>
+ <style>
+ /* only because we need \{pwg_root\} otherwise use fix-ie5-ie6.css */
+ BODY { behavior:url("{pwg_root}template-common/csshover.htc"); }
+ </style>
<script type="text/javascript" src="{pwg_root}include/pngfix.js"></script>
<![endif]-->
</head>