aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZaphod <zaphod@piwigo.org>2012-03-28 19:35:03 +0000
committerZaphod <zaphod@piwigo.org>2012-03-28 19:35:03 +0000
commit67135f0a9aa797403ed51a4744ed8a34149957ce (patch)
treeb1a868d6c3884ec2ed9ea89409bbf1e36666288a
parente01f669fb028c26a6192587661c999826b1f25a6 (diff)
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
Diffstat (limited to '')
-rw-r--r--themes/default/template/index.tpl4
-rw-r--r--themes/default/template/slideshow.tpl42
2 files changed, 24 insertions, 22 deletions
diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl
index 34fa425a8..f5cc8c16c 100644
--- a/themes/default/template/index.tpl
+++ b/themes/default/template/index.tpl
@@ -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 --> *}
diff --git a/themes/default/template/slideshow.tpl b/themes/default/template/slideshow.tpl
index c37996ebe..8a2304b8a 100644
--- a/themes/default/template/slideshow.tpl
+++ b/themes/default/template/slideshow.tpl
@@ -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>