aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/AMenuManager/menu_templates
diff options
context:
space:
mode:
authorgrum <grum@piwigo.org>2008-08-07 21:52:45 +0000
committergrum <grum@piwigo.org>2008-08-07 21:52:45 +0000
commit526d8006a16bd8b666d94aaf152346537045a0a5 (patch)
treebe1a62befe2bdbe3d0d03a8155aa1d1b228093e5 /plugins/AMenuManager/menu_templates
parent5e3d71c9cab75c7796c566823df96765522c8965 (diff)
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
Diffstat (limited to 'plugins/AMenuManager/menu_templates')
-rw-r--r--plugins/AMenuManager/menu_templates/menubar_personalised.tpl8
-rw-r--r--plugins/AMenuManager/menu_templates/menubar_randompic.tpl14
2 files changed, 22 insertions, 0 deletions
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 @@
+
+<!-- personalised menu bar -->
+{if $section.NAME!=""}
+ <dt>{$section.NAME|@translate}</dt>
+{/if}
+<dd>
+ {if $section.ITEMS.CONTENT!=""}{$section.ITEMS.CONTENT}{/if}
+</dd> \ 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 @@
+
+<!-- random picture menu bar -->
+{if $section.NAME!=""}
+ <dt>{$section.NAME|@translate}</dt>
+{/if}
+<dd>
+ <div class="illustration" style="text-align:center;padding:5px;font-size:85%;">
+ {if $section.ITEMS.IMGNAME!="" and $section.ITEMS.SHOWNAME=="o"}{$section.ITEMS.IMGNAME}<br/>{/if}
+ {if $section.ITEMS.IMGCOMMENT!="" and $section.ITEMS.SHOWCOMMENT=="o"}{$section.ITEMS.IMGCOMMENT}<br/>{/if}
+ <a href="{$section.ITEMS.LINK}"><img src="{$section.ITEMS.IMG}"/></a>
+ {if $section.ITEMS.IMGNAME!="" and $section.ITEMS.SHOWNAME=="u"}<br/>{$section.ITEMS.IMGNAME}{/if}
+ {if $section.ITEMS.IMGCOMMENT!="" and $section.ITEMS.SHOWCOMMENT=="u"}<br/>{$section.ITEMS.IMGCOMMENT}{/if}
+ </div>
+</dd> \ No newline at end of file