aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-07-14 16:39:31 +0000
committerchrisaga <chrisaga@piwigo.org>2006-07-14 16:39:31 +0000
commite316c1ec039e5821ad2a8e29bec18cc3f6f2e936 (patch)
tree39a33facc6cbdb4603429c031c44cb1942f41c82 /template
parentf9147af63c484eba4790a8d19517357e6db26746 (diff)
fix bug 461: csshover.htc doesn't work if $conf['question_mark_in_urls'] = false
git-svn-id: http://piwigo.org/svn/trunk@1464 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-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>