aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/category.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-03-03 01:57:39 +0000
committerrvelices <rv-github@modusoptimus.com>2006-03-03 01:57:39 +0000
commit2a3d5012138715952add2f69e9b3253353ea419d (patch)
tree0edda816004ca51c4781bf12517f0c95ad422eae /template/yoga/category.tpl
parent8f33338fed3809c2b964cbe610658b143c96b6c9 (diff)
improvement: calendar navigation now uses at maximum one navigation bar
together with a next/previous date links improvement: calendar view styles now shown in DIV.titrePage (I still need to move padding from H2 to DIV.titrePage ...) fix: moved all calendar css colors from template to the theme git-svn-id: http://piwigo.org/svn/trunk@1062 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/category.tpl')
-rw-r--r--template/yoga/category.tpl39
1 files changed, 25 insertions, 14 deletions
diff --git a/template/yoga/category.tpl b/template/yoga/category.tpl
index 379004e73..7d75751c2 100644
--- a/template/yoga/category.tpl
+++ b/template/yoga/category.tpl
@@ -141,26 +141,37 @@
<!-- END mode_created -->
</ul>
- <h2>{TITLE}
+ <h2>{TITLE}</h2>
<!-- BEGIN calendar -->
- {calendar.TITLE}
+ <!-- BEGIN views -->
+ <div class="calendarViews">{lang:calendar_view}:
+ <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>
+ <!-- END views -->
<!-- END calendar -->
- </h2>
+
+ <!-- BEGIN calendar -->
+ <h2>{calendar.TITLE}
+</h2>
+ <!-- END calendar -->
+
</div> <!-- content -->
<!-- BEGIN calendar -->
-<!-- BEGIN views -->
-<div class="calendarViews">
-{lang:calendar_view}: <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>
-<!-- END views -->
-
<!-- BEGIN navbar -->
-<div class="calendarBar">{calendar.navbar.BAR}</div>
+<div class="calendarBar">
+<!-- BEGIN prev -->
+ <div style="float:left">&laquo; <a href="{calendar.navbar.prev.URL}">{calendar.navbar.prev.LABEL}</a></div>
+<!-- END prev -->
+<!-- BEGIN next -->
+ <div style="float:right"><a href="{calendar.navbar.next.URL}">{calendar.navbar.next.LABEL}</a> &raquo;</div>
+<!-- END next -->
+ {calendar.navbar.BAR}&nbsp;
+</div>
<!-- END navbar -->
<!-- BEGIN calbar -->