aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-02-24 05:58:48 +0000
committerrvelices <rv-github@modusoptimus.com>2006-02-24 05:58:48 +0000
commitd4646f39d2259d4b4ba619b8f2b8aa61f9be74b5 (patch)
tree5e79d1234e3981ba449a6a9f85fd0c76565ba308 /template
parent3aff4f0bfec650d7a080b919b299ddcf6fc6ee59 (diff)
calendar: added posted/created chronology
calendar: added a where are we bar (like: created/2005/august) calendar: possibility to hide the All/Any buttons ($conf['calendar_show_any']) calendar: possibility to display a single navigation bar instead of several navigation bars ($conf['calendar_multi_bar']) calendar: tried to simplify code and improve readability (still requires a review) git-svn-id: http://piwigo.org/svn/trunk@1057 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/yoga/category.tpl20
-rw-r--r--template/yoga/content.css6
2 files changed, 13 insertions, 13 deletions
diff --git a/template/yoga/category.tpl b/template/yoga/category.tpl
index 11acfa853..0942a0f2d 100644
--- a/template/yoga/category.tpl
+++ b/template/yoga/category.tpl
@@ -138,19 +138,23 @@
<!-- END normal_view -->
</ul>
- <h2>{TITLE}</h2>
-
+ <h2>{TITLE}
+ <!-- BEGIN calendar -->
+ <br/>{calendar.TITLE}
+ <!-- END calendar --></h2>
</div> <!-- content -->
<!-- BEGIN calendar -->
-<!-- BEGIN styles -->
-<div class="calendarStyles">Style: {calendar.styles.BAR}</div>
-<!-- END styles -->
-
<!-- BEGIN views -->
-<div class="calendarViews">{calendar.views.BAR}</div>
+<div class="calendarViews">
+<select onchange="document.location = this.options[this.selectedIndex].value;">
+<!-- BEGIN view -->
+ <option value="{calendar.views.view.VALUE}" {calendar.views.view.SELECTED}>{calendar.views.view.CONTENT}</option>
+<!-- END view -->
+</select>
+</div><br/>
<!-- END views -->
-<br/>
+
<!-- BEGIN navbar -->
<div class="navigationBar">{calendar.navbar.BAR}</div>
<!-- END navbar -->
diff --git a/template/yoga/content.css b/template/yoga/content.css
index cc85cbc1e..fa45ab676 100644
--- a/template/yoga/content.css
+++ b/template/yoga/content.css
@@ -179,12 +179,8 @@ SPAN.filename:after {
}
-#content DIV.calendarStyles {
- float: left;
-}
-
#content DIV.calendarViews {
- float: right;
+ float: left;
}
SPAN.cal {