diff options
Diffstat (limited to 'plugins/AMenuManager/menu_templates/menubar_randompic.tpl')
-rw-r--r-- | plugins/AMenuManager/menu_templates/menubar_randompic.tpl | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/plugins/AMenuManager/menu_templates/menubar_randompic.tpl b/plugins/AMenuManager/menu_templates/menubar_randompic.tpl index a79206103..20d7a0bf8 100644 --- a/plugins/AMenuManager/menu_templates/menubar_randompic.tpl +++ b/plugins/AMenuManager/menu_templates/menubar_randompic.tpl @@ -1,14 +1,12 @@ <!-- random picture menu bar --> -{if $section.NAME!=""} - <dt>{$section.NAME|@translate}</dt> -{/if} +<dt>{$block->get_title()}</dt> <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} + {if $block->data.IMGNAME!="" and $block->data.SHOWNAME=="o"}{$block->data.IMGNAME}<br/>{/if} + {if $block->data.IMGCOMMENT!="" and $block->data.SHOWCOMMENT=="o"}{$block->data.IMGCOMMENT}<br/>{/if} + <a href="{$block->data.LINK}"><img src="{$block->data.IMG}"/></a> + {if $block->data.IMGNAME!="" and $block->data.SHOWNAME=="u"}<br/>{$block->data.IMGNAME}{/if} + {if $block->data.IMGCOMMENT!="" and $block->data.SHOWCOMMENT=="u"}<br/>{$block->data.IMGCOMMENT}{/if} </div> </dd>
\ No newline at end of file |