[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 {* DO NOT EDIT THIS FILE! Use an override template instead. *} 2 <form action={concat($module.functions.edit.uri,"/",$role.id,"/")|ezurl} method="post" > 3 4 <div class="maincontentheader"> 5 <h1>{"Role edit %1"|i18n("design/standard/role",,array($role.name|wash))}</h1> 6 </div> 7 8 <div class="block"> 9 <label>{"Name"|i18n("design/standard/role")}</label><div class="labelbreak"/> 10 <input class="box" type="edit" name="NewName" value="{$role.name|wash}" /> 11 </div> 12 13 <h2>{"Current policies"|i18n("design/standard/role")}</h2> 14 15 <table class="list" width="100%" cellspacing="0" cellpadding="0" border="0"> 16 <tr> 17 <th width="10%">{"Module"|i18n("design/standard/role")}</th> 18 <th width="10%">{"Function"|i18n("design/standard/role")}</th> 19 <th width="79%">{"Limitations"|i18n("design/standard/role")}</th> 20 <th>{"Edit"|i18n("design/standard/role")}</th> 21 <th>{"Remove"|i18n("design/standard/role")}</th> 22 </tr> 23 {section name=Policy loop=$policies sequence=array(bglight,bgdark) } 24 <tr class="{$:sequence}"> 25 <td> 26 {$Policy:item.module_name} 27 </td> 28 <td> 29 {$Policy:item.function_name} 30 </td> 31 <td> 32 {section show=$Policy:item.limitations} 33 {section name=Limitation loop=$Policy:item.limitations} 34 {$Policy:Limitation:item.identifier}( 35 {section name=LimitationValues loop=$Policy:Limitation:item.values_as_array_with_names} 36 {$Policy:Limitation:LimitationValues:item.Name} 37 {delimiter}, {/delimiter} 38 {/section}) 39 {delimiter}, {/delimiter} 40 {/section} 41 {section-else} 42 * 43 {/section} 44 </td> 45 <td align="right" width="1"> 46 <a href={concat("role/policyedit/",$Policy:item.id)|ezurl}><img class="button" src={"edit.gif"|ezimage} width="16" height="16" alt="{'Edit'|i18n('design/standard/role')}" title="{'Edit policy'|i18n('design/standard/role')}" /></a> 47 </td> 48 <td align="right" width="1"> 49 <input type="checkbox" name="DeleteIDArray[]" value="{$Policy:item.id}" /> 50 </td> 51 </tr> 52 {/section} 53 <tr> 54 <td colspan="4"> 55 <input class="button" type="submit" name="CreatePolicy" value="{'New'|i18n('design/standard/role')}" /> 56 </td> 57 <td align="right" width="1"> 58 <input type="image" name="RemovePolicies" value="{'Remove'|i18n('design/standard/role')}" title="{'Remove selected policies'|i18n('design/standard/role')}" src={"trash.png"|ezimage} /> 59 </td> 60 </tr> 61 </table> 62 63 <div class="buttonblock"> 64 <input class="defaultbutton" type="submit" name="Apply" value="{'Store'|i18n('design/standard/role')}" /> 65 <input class="button" type="submit" name="Discard" value="{'Discard changes'|i18n('design/standard/role')}" /> 66 </div> 67 68 69 </form>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |