{* $Id$ *} {title help="Menus" admpage="general&cookietab=3"}{tr}Menus{/tr}{/title} {if $tiki_p_admin eq 'y'}
{icon name="create"} {tr}Create Menu{/tr} {button href="tiki-admin_modules.php" _icon_name="modules" _type="link" _text="{tr}Modules{/tr}"}
{/if} {include file='find.tpl'}
{* table-responsive class cuts off css drop-down menus *} {section name=user loop=$channels} {sectionelse} {norecords _colspan=5} {/section}
{self_link _sort_arg='sort_mode' _sort_field='menuId'}{tr}ID{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='name'}{tr}Name{/tr}{/self_link} {self_link _sort_arg='sort_mode' _sort_field='type'}{tr}Type{/tr}{/self_link} {tr}Options{/tr}
{$channels[user].menuId} {if $tiki_p_edit_menu_option eq 'y' and $channels[user].menuId neq 42} {$channels[user].name|escape} {else} {$channels[user].name|escape} {/if} {$channels[user].description|escape|nl2br} {$channels[user].type} {$channels[user].options} {actions} {strip} {if $channels[user].menuId neq 42} {if $tiki_p_edit_menu eq 'y'} {icon name='edit' _menu_text='y' _menu_icon='y' alt="{tr}Edit{/tr}"} {/if} {if $tiki_p_edit_menu_option eq 'y'} {icon name="list" _menu_text='y' _menu_icon='y' alt="{tr}Menu options{/tr}"} {/if} {if $tiki_p_edit_menu eq 'y'} {icon name="remove" _menu_text='y' _menu_icon='y' alt="{tr}Delete{/tr}"} {/if} {else} {if $tiki_p_admin eq 'y'} {button reset="y" menuId=$channels[user].menuId _text="{tr}RESET{/tr}" _auto_args="reset,menuId" _class="btn btn-warning btn-sm"}
{/if} {/if} {if $tiki_p_edit_menu eq 'y'} {icon name="copy" _menu_text='y' _menu_icon='y' alt="{tr}Clone{/tr}"} {/if} {/strip} {/actions}
{pagination_links cant=$cant step=$maxRecords offset=$offset}{/pagination_links}