[ Index ] |
|
Code source de LifeType 1.2.4 |
1 {include file="$admintemplatepath/header.template"} 2 {include file="$admintemplatepath/navigation.template" showOpt=permissionsList title=$locale->tr("permissionsList")} 3 4 5 <form id="deletePermissions" action="admin.php" method="post"> 6 <div id="list"> 7 {include file="$admintemplatepath/successmessage.template"} 8 {include file="$admintemplatepath/errormessage.template"} 9 <table id="list" class="info" summary="{$locale->tr("permissionsList")}"> 10 <thead> 11 <tr> 12 <th><input class="checkbox" type="checkbox" name="all" id="all" value="1" onclick="toggleAllChecks('deletePermissions');" /></th> 13 <th style="width:30%;">{$locale->tr("name")}</th> 14 <th style="width:50%;">{$locale->tr("description")}</th> 15 <th style="width:5%">{$locale->tr("core_perm")}</th> 16 <th style="width:5%">{$locale->tr("admin_only")}</th> 17 <th style="width:10%;">{$locale->tr("actions")}</th> 18 </tr> 19 </thead> 20 <tbody> 21 {foreach from=$perms item=perm} 22 <tr class="{cycle values="odd, even"}"> 23 <td> 24 {if !$perm->isCorePermission()} 25 <input class="checkbox" type="checkbox" name="permIds[{counter}]" id="checks_{$perm->getId()}" value="{$perm->getId()}" /> 26 {/if} 27 </td> 28 <td class="col_highlighted"> 29 <a href="admin.php?op=editPermission&permId={$perm->getId()}">{$perm->getName()}</a> 30 </td> 31 <td> 32 {$locale->tr($perm->getDescription())} 33 </td> 34 <td> 35 {if $perm->isCorePermission()}{$locale->tr("yes")}{else}{$locale->tr("no")}{/if} 36 </td> 37 <td> 38 {if $perm->isAdminOnlyPermission()}{$locale->tr("yes")}{else}{$locale->tr("no")}{/if} 39 </td> 40 <td> 41 <div class="list_action_button"> 42 {check_perms adminperm=update_permission} 43 {if !$perm->isCorePermission()} 44 <a href="?op=editPermission&permId={$perm->getId()}" title="{$locale->tr("edit")}"> 45 <img src="imgs/admin/icon_edit-16.png" alt="{$locale->tr("edit")}" /> 46 </a> 47 {/if} 48 {if !$perm->isCorePermission()} 49 <a href="?op=deletePermission&permId={$perm->getId()}" title="{$locale->tr("delete")}"> 50 <img src="imgs/admin/icon_delete-16.png" alt="{$locale->tr("delete")}" /> 51 </a> 52 {/if} 53 {/check_perms} 54 </div> 55 </td> 56 </tr> 57 {/foreach} 58 </tbody> 59 </table> 60 </div> 61 <div id="list_action_bar"> 62 {check_perms adminperm=update_permission} 63 <input type="hidden" name="op" value="deletePermissions"/> 64 <input type="submit" name="Delete selected" value="{$locale->tr("delete")}"/> 65 {/check_perms} 66 </div> 67 </form> 68 {include file="$admintemplatepath/footernavigation.template"} 69 {include file="$admintemplatepath/footer.template"}
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |