From 14778ce673277f2df41f963aa70df1cbed427294 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 13 Mar 2010 00:00:52 +0000 Subject: feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo manages template/theme in a simpler "theme only level" architecture. It supports multiple level inheritance. git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/month_calendar.tpl | 86 ++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 themes/default/template/month_calendar.tpl (limited to 'themes/default/template/month_calendar.tpl') diff --git a/themes/default/template/month_calendar.tpl b/themes/default/template/month_calendar.tpl new file mode 100644 index 000000000..45d6079e1 --- /dev/null +++ b/themes/default/template/month_calendar.tpl @@ -0,0 +1,86 @@ + +{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 empty($bar.items)} +   + {else} + {foreach from=$bar.items item=item} + + {if isset($item.URL)} + {$item.LABEL} + {else} + {$item.LABEL} + {/if} + + {/foreach} + {/if} +
+{/foreach} +{/if} + +{if !empty($chronology_calendar.calendar_bars) } +{foreach from=$chronology_calendar.calendar_bars item=bar} +
+ {$bar.HEAD_LABEL} ({$bar.NB_IMAGES})
+ {foreach from=$bar.items item=item} + + {if isset($item.URL)} + {$item.LABEL} + {else} + {$item.LABEL} + {/if} + {if isset($item.NB_IMAGES)}({$item.NB_IMAGES}){/if} + + {/foreach} +
+{/foreach} +{/if} + +{if isset($chronology_calendar.month_view) } + + + + {foreach from=$chronology_calendar.month_view.wday_labels item=wday} + + {/foreach} + + +{html_head} {*add the style to html head for strict standard compliance*} + +{/html_head} + {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*} +
{$wday}
+
{$day.DAY}
{$day.DAY}
+
+ + {$day.IMAGE_ALT} + +
+ {else} +
{$day.DAY} + {/if} + {else} + + {/if} +
+{/if} + -- cgit v1.2.3