Asked by rvelices on this topic
http://forum.phpwebgallery.net/viewtopic.php?pid=92097#p92097 A plugin to integrate the menu class see test_menu directory A plugin to show how to use the menu class see AMenuManager directory And common classes needed for the AMenuManager plugin see grum_plugins_classes-2 directory See topic http://forum.phpwebgallery.net/viewtopic.php?pid=92637#p92637 for more informations git-svn-id: http://piwigo.org/svn/trunk@2466 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
ee0af5d43d
commit
7ebed79726
58 changed files with 5207 additions and 0 deletions
16
plugins/AMenuManager/menu_templates/menubar_links.tpl
Normal file
16
plugins/AMenuManager/menu_templates/menubar_links.tpl
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
<!-- links menu bar -->
|
||||
{if $section.NAME!=""}
|
||||
<dt>{$section.NAME|@translate}</dt>
|
||||
{/if}
|
||||
<dd>
|
||||
<ul>
|
||||
{foreach from=$section.ITEMS.LINKS item=link}
|
||||
<li>
|
||||
{if $section.ITEMS.icons=='y'}<img src='{$link.icon}' style="position:relative;top:3px;"/>{/if}
|
||||
<a href="{$link.url}"
|
||||
{if $link.mode == 0} target = '_blank' {/if}>{$link.label}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</dd>
|
||||
Loading…
Add table
Add a link
Reference in a new issue