Ignore:
Timestamp:
Jan 28, 2011, 8:56:39 AM (13 years ago)
Author:
LucMorizur
Message:

Fix bug:2135

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/admin/template/duplication.tpl

    r7832 r8956  
    11{* <!-- Event Cats (event categories) LucMorizur June 2009 - ... --> *}
    22
    3 {* <!-- Keeps file coded in UTF-8 without BOM: é --> *}
     3{* <!-- Keeps file coded in UTF-8 without BOM : é --> *}
    44
    55{include file=$HeaderIncTPL}
     
    2222//--></script>
    2323
    24 <!-- Acknowledgement
    25   A lot of below code has simply been copied-pasted from file cat_perm.tpl . 
    26   Many thanks to people who wrote it !                                       
    27 -->
     24<!-- Aknowledgement ----------------------------------------------------------
     25| A lot of below code has simply been copied-pasted from file cat_perm.tpl . |
     26| Many thanks to people who wrote it !                                       |
     27----------------------------------------------------------------------------->
    2828
    2929{* <!-- Duplication configuration parameters --> *}
    30 <form action = "" method = "post" class = "titrePage" {* name = "ec_duplic_conf"  *} >
     30<form action = "" method = "post" class = "titrePage" name = "ec_duplic_conf">
    3131  <fieldset>
    3232    <legend>{'Configuration'|@translate}</legend>
     
    3434      <tr>
    3535        <td style = "text-align:right; font-weight:bold;">
    36           {'Duplication allowance'|@translate}
     36          {'Duplication allowance'|@translate}&nbsp;&nbsp;
    3737        </td>
    3838        <td>
    39           <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;">
    40             <li style = "margin-bottom:0;">
    41               <label for = "ec_dup_conf_none_id">
    42                 <input
    43                   type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id"
    44                   {if $ec_conf.dup_allow == '0'} checked = "checked" {/if}
    45                >
    46                 {'No account'|@translate}
    47               </label>
    48             </li>
    49             <li style = "margin-bottom:0;">
    50               <label for = "ec_dup_conf_group_id">
    51                 <input
    52                   type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id"
    53                   {if $ec_conf.dup_allow == '2'} checked = "checked" {/if}
    54                >
    55                 {'Selection per group'|@translate}
    56               </label>
    57             </li>
    58             <li style = "margin-bottom:0;">
    59               <label for = "ec_dup_conf_all_id">
    60                 <input
    61                   type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id"
    62                   {if $ec_conf.dup_allow == '1'} checked = "checked" {/if}
    63                >
    64                 {'All accounts'|@translate}
    65               </label>
    66             </li>
    67           </ul>
     39          <label for = "ec_dup_conf_none_id">
     40            <input
     41              type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id"
     42              {if $ec_conf.dup_allow == '0'} checked = "checked" {/if}
     43            />
     44            {'No account'|@translate}
     45          </label><br />
     46          <label for = "ec_dup_conf_group_id">
     47            <input
     48              type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id"
     49              {if $ec_conf.dup_allow == '2'} checked = "checked" {/if}
     50            />
     51            {'Selection per group'|@translate}
     52          </label><br />
     53          <label for = "ec_dup_conf_all_id">
     54            <input
     55              type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id"
     56              {if $ec_conf.dup_allow == '1'} checked = "checked" {/if}
     57            />
     58            {'All accounts'|@translate}
     59          </label>
    6860        </td>
    6961        <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td> {* <!-- sorry :-\ --> *}
    7062        <td style = "text-align:right; font-weight:bold;">
    71           {$ec_dup_link_conf}
     63          {$ec_dup_link_conf}&nbsp;&nbsp;
    7264        </td>
    7365        <td>
    74           <ul style = "list-style-type:none; list-style-position:inside; padding-left: 0.5em;">
    75             <li style = "margin-bottom:0;">
    76               <label for = "ec_dup_disp_normal_id">
    77                 <input
    78                   type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id"
    79                   {if $ec_conf.duplic_display == '0'} checked = "checked" {/if}
    80                >
    81                 {'No account'|@translate}
    82               </label>
    83             </li>
    84             <li style = "margin-bottom:0;">
    85               <label for = "ec_dup_disp_but_gen_id">
    86                 <input
    87                   type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id"
    88                   {if $ec_conf.duplic_display == '2'} checked = "checked" {/if}
    89                >
    90                 {'All but generics'|@translate}
    91               </label>
    92             </li>
    93             <li style = "margin-bottom:0;">
    94               <label for = "ec_dup_disp_dup_id">
    95                 <input
    96                   type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id"
    97                   {if $ec_conf.duplic_display == '1'} checked = "checked" {/if}
    98                >
    99                 {'All accounts'|@translate}
    100               </label>
    101             </li>
    102           </ul>
     66          <label for = "ec_dup_disp_normal_id">
     67            <input
     68              type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id"
     69              {if $ec_conf.duplic_display == '0'} checked = "checked" {/if}
     70            />
     71            {'No account'|@translate}
     72          </label><br />
     73          <label for = "ec_dup_disp_but_gen_id">
     74            <input
     75              type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id"
     76              {if $ec_conf.duplic_display == '2'} checked = "checked" {/if}
     77            />
     78            {'All but generics'|@translate}
     79          </label><br />
     80          <label for = "ec_dup_disp_dup_id">
     81            <input
     82              type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id"
     83              {if $ec_conf.duplic_display == '1'} checked = "checked" {/if}
     84            />
     85            {'All accounts'|@translate}
     86          </label><br />
    10387        </td>
    10488      </tr>
    105     </table><br>
    106     <input class = "submit" type = "submit" name = "ec_duplic_conf_submit" value = "{'Save dup. config btn'|@translate}">
     89    </table>
     90    <input class = "submit" type = "submit" name = "ec_duplic_conf_submit" value = "{'Save dup. config btn'|@translate}" />
    10791  </fieldset>
    10892</form>
    10993
    11094{* <!-- Duplication settings by groups / types / user ids --> *}
    111 <form action = "" method = "post" {* name = "ec_duplic_set" *} id="categoryPermissions">
     95<form action = "" method = "post" name = "ec_duplic_set" id="categoryPermissions">
    11296 
    11397  <h4>{'Groups'|@translate}</h4>
     
    117101    <ul>
    118102      {foreach from=$groups_granted_ids item=id}
    119       <li><label><input type = "checkbox" name = "deny_groups[]" value = "{$id}"> {$all_groups[$id]}</label></li>
     103      <li><label><input type = "checkbox" name = "deny_groups[]" value = "{$id}" /> {$all_groups[$id]}</label></li>
    120104      {/foreach}
    121     </ul><br>
    122     <input class = "submit" type = "submit" name = "deny_groups_submit" value = "{'Deny to groups btn'|@translate}">
     105    </ul>
     106    <input class = "submit" type = "submit" name = "deny_groups_submit" value = "{'Deny to groups btn'|@translate}" />
    123107  </fieldset>
    124108 
     
    129113      <li><label><input type = "checkbox" name = "grant_groups[]" value = "{$id}"> {$all_groups[$id]}</label></li>
    130114      {/foreach}
    131     </ul><br>
    132     <input class = "submit" type = "submit" name = "grant_groups_submit" value = "{'Grant to groups btn'|@translate}">
     115    </ul>
     116    <input class = "submit" type = "submit" name = "grant_groups_submit" value = "{'Grant to groups btn'|@translate}" />
    133117  </fieldset>
    134118 
     
    139123    <ul>
    140124      {if $ec_gen_granted}
    141         <li><label><input type = "checkbox" name = "deny_generic"> {'user_status_generic'|@translate}</label><br></li>
     125      <li><label><input type = "checkbox" name = "deny_generic" /> {'user_status_generic'|@translate}</label></li>
     126      <br />
    142127      {/if}
    143128      {foreach from=$types_granted_ids item=id}
    144         <li><label><input type = "checkbox" name = "deny_types[]" value = "{$id}"> {$all_types[$id]}</label></li>
     129        <li><label><input type = "checkbox" name = "deny_types[]" value = "{$id}" /> {$all_types[$id]}</label></li>
    145130      {/foreach}
    146     </ul><br>
    147     <input class = "submit" type = "submit" name = "deny_types_submit" value = "{'Deny to types btn'|@translate}">
     131    </ul>
     132    <input class = "submit" type = "submit" name = "deny_types_submit" value = "{'Deny to types btn'|@translate}" />
    148133  </fieldset>
    149134 
     
    152137    <ul>
    153138      {if !$ec_gen_granted}
    154       <li><label><input type = "checkbox" name = "grant_generic"> {'user_status_generic'|@translate}</label></li>
    155       <br>
     139      <li><label><input type = "checkbox" name = "grant_generic" /> {'user_status_generic'|@translate}</label></li>
     140      <br />
    156141      {/if}
    157142      {foreach from=$types_denied_ids item=id}
    158         <li><label><input type = "checkbox" name = "grant_types[]" value = "{$id}"> {$all_types[$id]}</label></li>
     143        <li><label><input type = "checkbox" name = "grant_types[]" value = "{$id}" /> {$all_types[$id]}</label></li>
    159144      {/foreach}
    160     </ul><br>
    161     <input class = "submit" type = "submit" name = "grant_types_submit" value = "{'Grant to types btn'|@translate}">
     145    </ul>
     146    <input class = "submit" type = "submit" name = "grant_types_submit" value = "{'Grant to types btn'|@translate}" />
    162147  </fieldset>
    163148 
     
    168153    <ul>
    169154      {foreach from=$users_granted_direct_ids item=id}
    170       <li><label><input type = "checkbox" name = "deny_users[]" value = "{$id}"> {$all_users[$id]}</label></li>
     155      <li><label><input type = "checkbox" name = "deny_users[]" value = "{$id}" /> {$all_users[$id]}</label></li>
    171156      {/foreach}
    172     </ul><br>
    173     <input class = "submit" type = "submit" name = "deny_users_submit" value = "{'Deny to users btn'|@translate}">
     157    </ul>
     158    <input class = "submit" type = "submit" name = "deny_users_submit" value = "{'Deny to users btn'|@translate}" />
    174159  </fieldset>
    175160 
     
    191176      <li><label><input type = "checkbox" name = "grant_users[]" value = "{$id}"> {$all_users[$id]}</label></li>
    192177      {/foreach}
    193     </ul><br>
    194     <input class = "submit" type = "submit" name = "grant_users_submit" value = "{'Grant to users btn'|@translate}">
     178    </ul>
     179    <input class = "submit" type = "submit" name = "grant_users_submit" value = "{'Grant to users btn'|@translate}" />
    195180  </fieldset>
    196181 
Note: See TracChangeset for help on using the changeset viewer.