[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/design/admin/templates/role/ -> createpolicystep1.tpl (source)

   1  <form action={concat( $module.functions.edit.uri, '/', $role.id, '/' )|ezurl} method="post" >
   2  
   3  <div class="context-block">
   4  
   5  {* DESIGN: Header START *}<div class="box-header"><div class="box-tc"><div class="box-ml"><div class="box-mr"><div class="box-tl"><div class="box-tr">
   6  
   7  <h1 class="context-title">{'Create a new policy for the <%role_name> role'|i18n( 'design/admin/role/createpolicystep1',, hash( '%role_name', $role.name ) )|wash}</h1>
   8  
   9  {* DESIGN: Mainline *}<div class="header-mainline"></div>
  10  
  11  {* DESIGN: Header END *}</div></div></div></div></div></div>
  12  
  13  {* DESIGN: Content START *}<div class="box-ml"><div class="box-mr"><div class="box-content">
  14  
  15  <div class="context-attributes">
  16  <p>
  17  {'Welcome to the policy wizard. This three step wizard will help you create a new policy which will be added to the role that is currently being edited. The wizard can be aborted at any stage by using the "Cancel" button.'|i18n( 'design/admin/role/createpolicystep1' )}
  18  </p>
  19  
  20  <hr />
  21  
  22  <h2>{'Step one: select module'|i18n( 'design/admin/role/createpolicystep1' )}</h2>
  23  <p>
  24  {'Instructions'|i18n( 'design/admin/role/createpolicystep1' )}:
  25  </p>
  26  <ol>
  27  <li>{'Use the drop-down menu to select the module that you wish to grant access to.'|i18n( 'design/admin/role/createpolicystep1' )}</li>
  28  <li>{'Click one of the "Grant.." buttons (explained below) in order to go to the next step.'|i18n( 'design/admin/role/createpolicystep1' )}</li>
  29  </ol>
  30  <p>
  31  {'The "Grant access to all functions" button will create a policy that grants unlimited access to all functions of the selected module. If you wish to limit the access method to a specific function, use the "Grant access to a function" button. Please note that function limitation is only supported by some modules (the next step will reveal if it works or not).'|i18n( 'design/admin/role/createpolicystep1' )}
  32  </p>
  33  
  34  <div class="block">
  35      <label>{'Module'|i18n( 'design/admin/role/createpolicystep1' )}:</label>
  36      <select name="Modules">
  37      <option value="*">{'Every module'|i18n( 'design/admin/role/createpolicystep1' )}</option>
  38      {section var=Modules loop=$modules }
  39      <option value="{$Modules.item}">{$Modules.item}</option>
  40      {/section}
  41      </select>
  42  </div>
  43  
  44  <div class="block">
  45  <input class="button" type="submit" name="AddModule" value="{'Grant access to all functions'|i18n( 'design/admin/role/createpolicystep1' )}" />
  46  <input class="button" type="submit" name="CustomFunction" value="{'Grant access to one function'|i18n( 'design/admin/role/createpolicystep1' )}" />
  47  </div>
  48  
  49  </div>
  50  
  51  {* DESIGN: Content END *}</div></div></div>
  52  
  53  <div class="controlbar">
  54  {* DESIGN: Control bar START *}<div class="box-bc"><div class="box-ml"><div class="box-mr"><div class="box-tc"><div class="box-bl"><div class="box-br">
  55  <div class="block">
  56  <input class="button-disabled" type="submit" name="" value="{'OK'|i18n( 'design/admin/role/createpolicystep1' )}" disabled="disabled" />
  57  <input class="button" type="submit" value="{'Cancel'|i18n( 'design/admin/role/createpolicystep1' )}" />
  58  </div>
  59  {* DESIGN: Control bar END *}</div></div></div></div></div></div>
  60  </div>
  61  
  62  </div>
  63  
  64  </form>


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7