feature 2588: modifications on index.tpl & slideshow.tpl

New classes & ID:
On index.tpl:
.calendarTitleBar for titrePage when a calendar title is shown
.calendarTitle for second h2 in titrePage
On slideshow.tpl:
#slideshow to indicate that we are on slideshow page

git-svn-id: http://piwigo.org/svn/trunk@13788 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
Zaphod 2012-03-28 19:35:03 +00:00
commit 67135f0a9a
2 changed files with 24 additions and 22 deletions

View file

@ -1,7 +1,7 @@
{$MENUBAR}
{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
<div class="titrePage">
<div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}">
<ul class="categoryActions">
{if !empty($image_orders)}
<li>{strip}<a href="javascript:toggleSortOrderBox()" id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
@ -125,7 +125,7 @@ function toggleImageDerivativesBox(forceHide) {
{/if}
{if isset($chronology.TITLE)}
<h2>{$chronology.TITLE}</h2>
<h2 class="calendarTitle">{$chronology.TITLE}</h2>
{/if}
</div>{* <!-- titrePage --> *}

View file

@ -1,22 +1,24 @@
<div id="imageHeaderBar">
<div class="browsePath">
{if isset($U_SLIDESHOW_STOP) }
[ <a href="{$U_SLIDESHOW_STOP}">{'stop the slideshow'|@translate}</a> ]
{/if}
<h2 class="showtitle">{$current.TITLE}</h2>
</div>
<div class="imageNumber">{$PHOTO}</div>
</div>
<div id="slideshow">
<div id="imageHeaderBar">
<div class="browsePath">
{if isset($U_SLIDESHOW_STOP) }
[ <a href="{$U_SLIDESHOW_STOP}">{'stop the slideshow'|@translate}</a> ]
{/if}
<h2 class="showtitle">{$current.TITLE}</h2>
</div>
</div>
<div id="imageToolBar">
{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
</div>
<div id="imageToolBar">
<div class="imageNumber">{$PHOTO}</div>
{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
</div>
<div id="content">
<div id="theImage">
{$ELEMENT_CONTENT}
{if isset($COMMENT_IMG)}
<p class="showlegend">{$COMMENT_IMG}</p>
{/if}
</div>
</div>
<div id="content">
<div id="theImage">
{$ELEMENT_CONTENT}
{if isset($COMMENT_IMG)}
<p class="showlegend">{$COMMENT_IMG}</p>
{/if}
</div>
</div>
<div>