{* * 2007-2011 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 8971 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *}
{if $show_toolbar} {include file="toolbar.tpl" toolbar_btn=$toolbar_btn}

{block name=pageTitle} {$title|default:' '} {/block}

{/if}
{block name="leadin"}{/block}
{if $form_id} {/if} {assign var=tabsize value=count($tabs)} {foreach $tabs AS $tab} {if $tab.id_tab > $tabsize} {assign var=tabsize value=$tab.id_tab} {/if} {/foreach} {foreach $profiles as $profile}
{if $profile.id_profile != $admin_profile} {if !count($tabs)} {else} {foreach $tabs AS $tab} {assign var=access value=$accesses[$profile.id_profile]} {if !$tab.id_parent OR $tab.id_parent == -1} {assign var=is_child value=false} {assign var=result_accesses value=0} {if $is_child} » {/if}{$tab.name} {foreach $perms as $perm} {if $access_edit == 1} {else} {/if} {assign var=result_accesses value=$result_accesses + $access[$tab.id_tab][$perm]} {/foreach} {foreach $tabs AS $child} {if $child.id_parent === $tab.id_tab} {if isset($access[$child.id_tab])} {assign var=is_child value=true} {assign var=result_accesses value=0} {if $is_child} » {/if}{$child.name} {foreach $perms as $perm} {if $access_edit == 1} {else} {/if} {assign var=result_accesses value=$result_accesses + $access[$child.id_tab][$perm]} {/foreach} {/if} {/if} {/foreach} {/if} {/foreach} {/if}
{l s='Tabs'} {l s='View'} {l s='Add'} {l s='Edit'} {l s='Delete'} {l s='All'}
{l s='No tab'}
{if !count($modules)} {else} {foreach $modules[$profile.id_profile] AS $module} {/foreach} {/if}
{l s='Modules'} {l s='View'} {l s='Configure'}
{l s='No modules installed'}
» {$module.name}
 
{else} {l s='Administrator permissions can\'t be modified.'} {/if}
{/foreach}