Changeset 8956 for extensions/event_cats/admin/template/duplication.tpl
- Timestamp:
- Jan 28, 2011, 8:56:39 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/admin/template/duplication.tpl
r7832 r8956 1 1 {* <!-- Event Cats (event categories) LucMorizur June 2009 - ... --> *} 2 2 3 {* <!-- Keeps file coded in UTF-8 without BOM : é --> *}3 {* <!-- Keeps file coded in UTF-8 without BOM : é --> *} 4 4 5 5 {include file=$HeaderIncTPL} … … 22 22 //--></script> 23 23 24 <!-- A cknowledgement25 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 -----------------------------------------------------------------------------> 28 28 29 29 {* <!-- 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"> 31 31 <fieldset> 32 32 <legend>{'Configuration'|@translate}</legend> … … 34 34 <tr> 35 35 <td style = "text-align:right; font-weight:bold;"> 36 {'Duplication allowance'|@translate} 36 {'Duplication allowance'|@translate} 37 37 </td> 38 38 <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> 68 60 </td> 69 61 <td> </td><td> </td><td> </td> {* <!-- sorry :-\ --> *} 70 62 <td style = "text-align:right; font-weight:bold;"> 71 {$ec_dup_link_conf} 63 {$ec_dup_link_conf} 72 64 </td> 73 65 <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 /> 103 87 </td> 104 88 </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}" /> 107 91 </fieldset> 108 92 </form> 109 93 110 94 {* <!-- 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"> 112 96 113 97 <h4>{'Groups'|@translate}</h4> … … 117 101 <ul> 118 102 {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> 120 104 {/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}" /> 123 107 </fieldset> 124 108 … … 129 113 <li><label><input type = "checkbox" name = "grant_groups[]" value = "{$id}"> {$all_groups[$id]}</label></li> 130 114 {/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}" /> 133 117 </fieldset> 134 118 … … 139 123 <ul> 140 124 {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 /> 142 127 {/if} 143 128 {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> 145 130 {/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}" /> 148 133 </fieldset> 149 134 … … 152 137 <ul> 153 138 {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 /> 156 141 {/if} 157 142 {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> 159 144 {/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}" /> 162 147 </fieldset> 163 148 … … 168 153 <ul> 169 154 {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> 171 156 {/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}" /> 174 159 </fieldset> 175 160 … … 191 176 <li><label><input type = "checkbox" name = "grant_users[]" value = "{$id}"> {$all_users[$id]}</label></li> 192 177 {/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}" /> 195 180 </fieldset> 196 181
Note: See TracChangeset
for help on using the changeset viewer.