aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-04-15 09:56:15 +0000
committerchrisaga <chrisaga@piwigo.org>2006-04-15 09:56:15 +0000
commite9aa23291c04a09b5132d23b172fc893339a6b09 (patch)
tree7d0522277f5a38b552708ab76b615b55bfd2c964 /template
parentf652fc5690907b63d3d35446af95ff6e40a37fda (diff)
- improve : protect IE7 from IE5&6 PNG fix and add a css dedicated to IE5&6 fixes
those fixes will eventually be moved into it to not bother IE7 git-svn-id: http://piwigo.org/svn/trunk@1181 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/yoga/fix-ie5-ie6.css2
-rw-r--r--template/yoga/header.tpl5
2 files changed, 6 insertions, 1 deletions
diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css
new file mode 100644
index 000000000..4e6daf38e
--- /dev/null
+++ b/template/yoga/fix-ie5-ie6.css
@@ -0,0 +1,2 @@
+/* $Id:$ */
+/* Issues in IE from 5 to 6 only to to be used with IE7 */
diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl
index 48b187e6d..c9708033c 100644
--- a/template/yoga/header.tpl
+++ b/template/yoga/header.tpl
@@ -8,6 +8,9 @@
<!-- the next css is used to fix khtml (Konqueror/Safari) issue
the "text/nonsense" prevents gecko based browsers to load it -->
<link rel="stylesheet" type="text/nonsense" href="{pwg_root}template/{themeconf:template}/fix-khtml.css">
+<!--[if lt IE 7]>
+<link rel="stylesheet" type="text/nonsense" href="{pwg_root}template/{themeconf:template}/fix-ie5-ie6.css">
+<![endif]-->
<link rel="stylesheet" type="text/css" media="print" href="{pwg_root}template/{themeconf:template}/print.css">
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/default-colors.css">
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/theme.css">
@@ -19,7 +22,7 @@ the "text/nonsense" prevents gecko based browsers to load it -->
<!-- END refresh -->
<title>{GALLERY_TITLE}:{PAGE_TITLE}</title>
<script type="text/javascript" src="{pwg_root}include/scripts.js"></script>
-<!--[if gte IE 5.5000]>
+<!--[if lt IE 7]>
<script type="text/javascript" src="{pwg_root}include/pngfix.js"></script>
<![endif]-->
</head>