aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgrum <grum@piwigo.org>2008-08-09 21:27:58 +0000
committergrum <grum@piwigo.org>2008-08-09 21:27:58 +0000
commitd4a7be644b24729dd76067bef3f059d55fd5239a (patch)
tree8cd2c03cb047f8b27b787e49f54d5729de805684 /template
parent526d8006a16bd8b666d94aaf152346537045a0a5 (diff)
updating files for the Menu class (test_menu)
+ fixes "Links" translation bug updating files for the AMenuManager plugin + enhance links template updating common classes grum_plugins_classes-2 (needed for the AMenuManager plugin) + clearing the code updating the calendar_base.class.php the 'get_nav_bar_from_items' method was returning a hard coded html string now replaced by a template file (calendar_nav.tpl) git-svn-id: http://piwigo.org/svn/trunk@2469 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/yoga/calendar_navbar.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/template/yoga/calendar_navbar.tpl b/template/yoga/calendar_navbar.tpl
new file mode 100644
index 000000000..8e35c766b
--- /dev/null
+++ b/template/yoga/calendar_navbar.tpl
@@ -0,0 +1,13 @@
+
+{foreach from=$datas item=data}
+ <span class="{$data.classname}">
+ {if isset($data.url) and $data.url!=""}
+ <a href="{$data.url}">{$data.label}</a>
+ {else}
+ {$data.label}
+ {/if}
+ {if isset($data.nb_images) and $data.nb_images!=""}
+ ({$data.nb_images})
+ {/if}
+ </span>
+{/foreach} \ No newline at end of file