Location: PHPKode > projects > Blandware AtLeap Lite - CMS on PHP > atleaplite/smarty/templates/role/view.tpl
{* Smarty template *}
<table cellpadding="0" cellspacing="0" border="0" class="tableView">
    <tr>
        <th>{message key='role.form.identifier'}</th>
        <td>{$viewed->identifier|escape}</td>
    </tr>
    <tr>
        <th>{message key='role.form.title'}</th>
        <td>{$viewed->title|escape}</td>
    </tr>
    <tr>
        <th>{message key='role.form.description'}</th>
        <td>{$viewed->description|escape}</td>
    </tr>
    <tr>
        <th>{message key='role.form.admin'}</th>
        <td>{$viewed->isAdminYesno()|escape}</td>
    </tr>
</table>

<h2>{message key='role.form.permissions'}</h2>

<table cellpadding="0" cellspacing="0" border="0" class="tableView">
{foreach from=$allPermissions item=permission}
    {assign var=permId value=$permission->id}
    <tr>
        <th>
            {$permission->title|escape}
        </th>
        <td>
            {if $checked[$permId]}
                {message key='common.yes'}
            {else}
                {message key='common.no'}
            {/if}
        </td>
    </tr>
{/foreach}
</table>
{include file="after_view.tpl"}
Return current item: Blandware AtLeap Lite - CMS on PHP