Skip to content

Commit

Permalink
feature 2587: compatibility with ie7
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@13777 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
Zaphod committed Mar 27, 2012
1 parent 0db5a35 commit dc88285
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 1 addition & 2 deletions themes/default/template/picture.tpl
Expand Up @@ -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}
Expand Down Expand Up @@ -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">
Expand Down
3 changes: 3 additions & 0 deletions themes/elegant/fix-ie7.css
@@ -0,0 +1,3 @@
#theImage.infoshown { float: left;}
#theImage.infohidden { float: right;}
#imageToolBar .actionButtons { float: right;}
5 changes: 4 additions & 1 deletion themes/elegant/local_head.tpl
Expand Up @@ -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}
{/if}
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/elegant/fix-ie7.css">
<![endif]-->

0 comments on commit dc88285

Please sign in to comment.