aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-04-15 10:20:45 +0000
committerchrisaga <chrisaga@piwigo.org>2006-04-15 10:20:45 +0000
commit0833feaf86e36e066db7d7de3c2a897c43521bf1 (patch)
tree12af289fd529462b918b7a9ca7d03d0118eb22df
parenta8c0ca94498413670e8cbf994650176cde9be71c (diff)
- merge trunc r1178:1182 into branch 1.6 (template fixes)
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1183 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/.cvsignore1
-rw-r--r--template-common/default-layout.css7
-rw-r--r--template/yoga/default-layout.css2
-rw-r--r--template/yoga/fix-ie5-ie6.css2
-rw-r--r--template/yoga/fix-khtml.css2
-rw-r--r--template/yoga/header.tpl5
6 files changed, 14 insertions, 5 deletions
diff --git a/include/.cvsignore b/include/.cvsignore
deleted file mode 100644
index c8118277e..000000000
--- a/include/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-mysql.inc.php
diff --git a/template-common/default-layout.css b/template-common/default-layout.css
index 8f284e6eb..a92ad98cd 100644
--- a/template-common/default-layout.css
+++ b/template-common/default-layout.css
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id:$ */
/* Set the width of the menubar for the galery */
#menubar {
@@ -7,6 +7,11 @@
#content {
margin-left: 20em; /* = #menubar width + 2em */
}
+/* Set minimum width of the page before getting a scrollbar */
+/* IE5 and IE6 don't get that */
+BODY {
+ min-width: 60em; /* ~ 3* #menubar width */
+}
/* Set the width of the menubar for the admin section */
BODY#theAdminPage #menubar {
diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css
index f42cfc1a7..5d6705a4f 100644
--- a/template/yoga/default-layout.css
+++ b/template/yoga/default-layout.css
@@ -265,4 +265,4 @@ UL.tagSelection LI {
.tagLevel4 { font-size: 140%; }
.tagLevel3 { font-size: 120%; }
.tagLevel2 { font-size: 100%; }
-.tagLevel1 { font-size: 90%; } \ No newline at end of file
+.tagLevel1 { font-size: 90%; }
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/fix-khtml.css b/template/yoga/fix-khtml.css
index cbf276b4a..e071061c9 100644
--- a/template/yoga/fix-khtml.css
+++ b/template/yoga/fix-khtml.css
@@ -1,4 +1,4 @@
-/* $Id:*/
+/* $Id$ */
/* Issue in Safari/Konqueror only */
/* If H2 has a 0 margin-top categoryActions doesn't float right but overwrites H2 */
#content>DIV.titrePage>H2 {
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>