0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
14.1-0
/
standard
/
htdocs
/
templates
/
[
Home
]
File: tiki-admin_menus.tpl
{* $Id: tiki-admin_menus.tpl 56301 2015-09-23 16:15:01Z jonnybradley $ *} {title help="Menus" admpage="general&cookietab=3"}{tr}Menus{/tr}{/title} {if $tiki_p_admin eq 'y'} <div class="t_navbar margin-bottom-md"> <a class="btn btn-default" href="{bootstrap_modal controller=menu action=manage_menu}"> {icon name="create"} {tr}Create Menu{/tr} </a> {button href="tiki-admin_modules.php" _icon_name="cogs" _text="{tr}Modules{/tr}"} </div> {/if} {include file='find.tpl'} <div class="table-responsive"> <table class="table table-hover"> <tr> <th>{self_link _sort_arg='sort_mode' _sort_field='menuId'}{tr}ID{/tr}{/self_link}</th> <th>{self_link _sort_arg='sort_mode' _sort_field='name'}{tr}Name{/tr}{/self_link}</th> <th>{self_link _sort_arg='sort_mode' _sort_field='type'}{tr}Type{/tr}{/self_link}</th> <th>{tr}Options{/tr}</th> <th></th> </tr> {section name=user loop=$channels} <tr> <td class="id">{$channels[user].menuId}</td> <td class="text"> {if $tiki_p_edit_menu_option eq 'y' and $channels[user].menuId neq 42} <a class="link tips" href="tiki-admin_menu_options.php?menuId={$channels[user].menuId}" title=":{tr}Menu Options{/tr}">{$channels[user].name|escape}</a> {else} {$channels[user].name|escape} {/if} <span class="help-block"> {$channels[user].description|escape|nl2br} </span> </td> <td class="text">{$channels[user].type}</td> <td><span class="badge">{$channels[user].options}</span></td> <td class="action"> {capture name=menu_actions} {strip} {if $channels[user].menuId neq 42} {if $tiki_p_edit_menu eq 'y'} <a href="{bootstrap_modal controller=menu action=manage_menu menuId=$channels[user].menuId}"> {icon name='edit' _menu_text='y' _menu_icon='y' alt="{tr}Edit{/tr}"} </a> {/if} {if $tiki_p_edit_menu_option eq 'y'} <a href="tiki-admin_menu_options.php?menuId={$channels[user].menuId}"> {icon name="list" _menu_text='y' _menu_icon='y' alt="{tr}Menu options{/tr}"} </a> {/if} {if $tiki_p_edit_menu eq 'y'} {self_link remove=$channels[user].menuId _menu_text='y' _menu_icon='y' _icon_name="remove"} {tr}Delete{/tr} {/self_link} {/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"} <hr> {/if} {/if} {if $tiki_p_edit_menu eq 'y'} <a href="{bootstrap_modal controller=menu action=clone_menu menuId=$channels[user].menuId}"> {icon name="copy" _menu_text='y' _menu_icon='y' alt="{tr}Clone{/tr}"} </a> {/if} {/strip} {/capture} <a class="tips" title="{tr}Actions{/tr}" href="#" {popup delay="0|2000" fullhtml="1" center=true text=$smarty.capture.menu_actions|escape:"javascript"|escape:"html"} style="padding:0; margin:0; border:0" > {icon name='wrench'} </a> </td> </tr> {sectionelse} {norecords _colspan=5} {/section} </table> </div> {pagination_links cant=$cant step=$maxRecords offset=$offset}{/pagination_links}