From 526d8006a16bd8b666d94aaf152346537045a0a5 Mon Sep 17 00:00:00 2001 From: grum Date: Thu, 7 Aug 2008 21:52:45 +0000 Subject: updating files for the Menu class (test_menu) + add functionnalities updating files for the AMenuManager plugin + fixes some bugs + add functionnalities updating common classes grum_plugins_classes-2 (needed for the AMenuManager plugin) + add functionalities for google_translator use git-svn-id: http://piwigo.org/svn/trunk@2468 68402e56-0260-453c-a942-63ccdbb3a9ee --- .../AMenuManager/menu_templates/menubar_personalised.tpl | 8 ++++++++ plugins/AMenuManager/menu_templates/menubar_randompic.tpl | 14 ++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 plugins/AMenuManager/menu_templates/menubar_personalised.tpl create mode 100644 plugins/AMenuManager/menu_templates/menubar_randompic.tpl (limited to 'plugins/AMenuManager/menu_templates') diff --git a/plugins/AMenuManager/menu_templates/menubar_personalised.tpl b/plugins/AMenuManager/menu_templates/menubar_personalised.tpl new file mode 100644 index 000000000..93c3b860b --- /dev/null +++ b/plugins/AMenuManager/menu_templates/menubar_personalised.tpl @@ -0,0 +1,8 @@ + + +{if $section.NAME!=""} +
{$section.NAME|@translate}
+{/if} +
+ {if $section.ITEMS.CONTENT!=""}{$section.ITEMS.CONTENT}{/if} +
\ No newline at end of file diff --git a/plugins/AMenuManager/menu_templates/menubar_randompic.tpl b/plugins/AMenuManager/menu_templates/menubar_randompic.tpl new file mode 100644 index 000000000..a79206103 --- /dev/null +++ b/plugins/AMenuManager/menu_templates/menubar_randompic.tpl @@ -0,0 +1,14 @@ + + +{if $section.NAME!=""} +
{$section.NAME|@translate}
+{/if} +
+
+ {if $section.ITEMS.IMGNAME!="" and $section.ITEMS.SHOWNAME=="o"}{$section.ITEMS.IMGNAME}
{/if} + {if $section.ITEMS.IMGCOMMENT!="" and $section.ITEMS.SHOWCOMMENT=="o"}{$section.ITEMS.IMGCOMMENT}
{/if} + + {if $section.ITEMS.IMGNAME!="" and $section.ITEMS.SHOWNAME=="u"}
{$section.ITEMS.IMGNAME}{/if} + {if $section.ITEMS.IMGCOMMENT!="" and $section.ITEMS.SHOWCOMMENT=="u"}
{$section.ITEMS.IMGCOMMENT}{/if} +
+
\ No newline at end of file -- cgit v1.2.3