From 35076ee1b9e32618d3c92bdd8aee20f2c4abb694 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sat, 1 Mar 2008 13:12:07 +0000 Subject: - index.tpl, menubar.tpl, mainpage_categories.tpl and month_calendar.tpl go smarty - better template debugging tweak (the smarty console is shown only once at the end) git-svn-id: http://piwigo.org/svn/trunk@2231 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/month_calendar.tpl | 92 ++++++++++++++++++++++++++-------------- 1 file changed, 60 insertions(+), 32 deletions(-) (limited to 'template/yoga/month_calendar.tpl') diff --git a/template/yoga/month_calendar.tpl b/template/yoga/month_calendar.tpl index 3e5ef4f62..a965d40e1 100644 --- a/template/yoga/month_calendar.tpl +++ b/template/yoga/month_calendar.tpl @@ -1,36 +1,64 @@ - - - - +{* $Id$ *} + +{if !empty($chronology_navigation_bars) } +{foreach from=$chronology_navigation_bars item=bar} +
+ {if isset($bar.previous)} +
« {$bar.previous.LABEL}
+ {/if} + {if isset($bar.next)} +
{$bar.next.LABEL} »
+ {/if} + {if isset($bar.CONTENT)} + {$bar.CONTENT} + {else} +   + {/if} +
+{/foreach} +{/if} + +{if !empty($chronology_calendar.calendar_bars) } +{foreach from=$chronology_calendar.calendar_bars item=bar} +
+ {$bar.HEAD_LABEL} ({$bar.NB_IMAGES})
+ {$bar.NAV_BAR} +
+{/foreach} +{/if} + +{if isset($chronology_calendar.month_view) } - - - - - - - - + - - - - + {foreach from=$chronology_calendar.month_view.wday_labels item=wday} + + {/foreach} - + + + {foreach from=$chronology_calendar.month_view.weeks item=week} + + {foreach from=$week item=day} + {if !empty($day)} + {if isset($day.IMAGE)} + + {/foreach} {*day in week*} + + {/foreach} {*week in month*}
{calendar.thumbnails.head.col.LABEL}
- - - {calendar.thumbnails.row.col.empty.LABEL} - - -
{calendar.thumbnails.row.col.full.LABEL}
{calendar.thumbnails.row.col.full.LABEL}
- - -
{$wday}
+
{$day.DAY}
{$day.DAY}
+
+ + {$day.IMAGE_ALT} + +
+ {else} +
{$day.DAY} + {/if} + {else} + + {/if} +
- - +{/if} + -- cgit v1.2.3