aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorZaphod <zaphod@piwigo.org>2012-03-27 21:05:28 +0000
committerZaphod <zaphod@piwigo.org>2012-03-27 21:05:28 +0000
commitdc882859018c5c01b15fee242e8ff14e74329ab3 (patch)
tree162e621193a5481b9040992ee4083870c0ab83eb /themes
parent0db5a354adf4531a852b539c11913d888fa2f4d6 (diff)
feature 2587: compatibility with ie7
git-svn-id: http://piwigo.org/svn/trunk@13777 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/default/template/picture.tpl3
-rw-r--r--themes/elegant/fix-ie7.css3
-rw-r--r--themes/elegant/local_head.tpl5
3 files changed, 8 insertions, 3 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl
index da9dd1036..fb7fddf72 100644
--- a/themes/default/template/picture.tpl
+++ b/themes/default/template/picture.tpl
@@ -16,6 +16,7 @@
<div id="imageToolBar">
<div class="imageNumber">{$PHOTO}</div>
+{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
<div class="actionButtons">
{if count($current.unique_derivatives)>1}
@@ -121,8 +122,6 @@ y.callService(
</a>
{/if}{/strip}{*caddie management END*}
</div>
-
- {include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
</div>{*<!-- imageToolBar -->*}
<div id="theImageAndInfos">
diff --git a/themes/elegant/fix-ie7.css b/themes/elegant/fix-ie7.css
new file mode 100644
index 000000000..380666696
--- /dev/null
+++ b/themes/elegant/fix-ie7.css
@@ -0,0 +1,3 @@
+#theImage.infoshown { float: left;}
+#theImage.infohidden { float: right;}
+#imageToolBar .actionButtons { float: right;} \ No newline at end of file
diff --git a/themes/elegant/local_head.tpl b/themes/elegant/local_head.tpl
index bdb3ca729..0be176629 100644
--- a/themes/elegant/local_head.tpl
+++ b/themes/elegant/local_head.tpl
@@ -2,4 +2,7 @@
{combine_script id='elegant.scripts_pp' load='footer' require='jquery' path='themes/elegant/scripts_pp.js'}
{else}
{combine_script id='elegant.scripts' load='footer' require='jquery' path='themes/elegant/scripts.js'}
-{/if} \ No newline at end of file
+{/if}
+ <!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/elegant/fix-ie7.css">
+ <![endif]-->