Changeset 4276 for extensions/event_cats/admin/template
- Timestamp:
- Nov 16, 2009, 1:26:06 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/event_cats/admin/template/duplication.tpl
r4263 r4276 12 12 13 13 {* <!-- Duplication configuration parameters --> *} 14 <form class = "titrePage" name = "ec_duplic_conf">14 <form action = "" method = "post" class = "titrePage" name = "ec_duplic_conf"> 15 15 <fieldset> 16 16 <legend>{'ec_duplication_config'|@translate}</legend> … … 22 22 <td> 23 23 <label for = "ec_dup_conf_none_id"> 24 <input type = "radio" name = "ec_dup_conf " id = "ec_dup_conf_none_id" />24 <input type = "radio" name = "ec_dup_conf[]" value = "none" id = "ec_dup_conf_none_id" /> 25 25 {'ec_dup_allowance_none'|@translate} 26 26 </label><br> 27 27 <label for = "ec_dup_conf_group_id"> 28 <input type = "radio" name = "ec_dup_conf " id = "ec_dup_conf_group_id" />28 <input type = "radio" name = "ec_dup_conf[]" value = "group" id = "ec_dup_conf_group_id" /> 29 29 {'ec_dup_allowance_group'|@translate} 30 </label><br> {* <!-- 31 <label for = "ec_dup_conf_gen_id"> 32 <input type = "radio" name = "ec_dup_conf" id = "ec_dup_conf_gen_id" /> 33 {'ec_dup_allowance_gen'|@translate} 34 </label><br> --> *} 30 </label><br> 35 31 <label for = "ec_dup_conf_all_id"> 36 <input type = "radio" name = "ec_dup_conf " id = "ec_dup_conf_all_id" />32 <input type = "radio" name = "ec_dup_conf[]" value = "all" id = "ec_dup_conf_all_id" /> 37 33 {'ec_dup_allowance_all'|@translate} 38 34 </label> … … 46 42 {* <!-- Duplication settings by groups / types / user ids --> *} 47 43 <form action = "" method = "post" name = "ec_duplic_set" id="categoryPermissions"> 48 44 49 45 <h4>{'Groups'|@translate}</h4> 50 46 51 47 <fieldset> 52 48 <legend>{'ec_duplic_ok'|@translate}</legend> 53 49 <ul> 54 {foreach from=$group _granted_ids item=id}50 {foreach from=$groups_granted_ids item=id} 55 51 <li><label><input type = "checkbox" name = "deny_groups[]" value = "{$id}" /> {$all_groups[$id]}</label></li> 56 52 {/foreach} … … 58 54 <input class = "submit" type = "submit" name = "deny_groups_submit" value = "{'ec_dup_grp_ok_sbmt_lbl'|@translate}" /> 59 55 </fieldset> 60 56 61 57 <fieldset> 62 58 <legend>{'ec_duplic_nok'|@translate}</legend> 63 59 <ul> 64 {foreach from=$group _denied_ids item=id}60 {foreach from=$groups_denied_ids item=id} 65 61 <li><label><input type = "checkbox" name = "grant_groups[]" value = "{$id}"> {$all_groups[$id]}</label></li> 66 62 {/foreach} … … 68 64 <input class = "submit" type = "submit" name = "grant_groups_submit" value = "{'ec_dup_grp_nok_sbmt_lbl'|@translate}" /> 69 65 </fieldset> 70 66 71 67 <h4>{'ec_dup_types'|@translate}</h4> 72 68 73 69 <fieldset> 74 70 <legend>{'ec_duplic_ok'|@translate}</legend> 75 71 <ul> 76 <li><label><input type = "checkbox" name = "ec_dup_types_generic_ok" value = "ec_dup_types_generic_ok_id" /> {'user_status_generic'|@translate}</label></li> 72 {if $ec_gen_granted} 73 <li><label><input type = "checkbox" name = "deny_generic" {* id = "ec_dup_types_generic_nok_id" *} /> {'user_status_generic'|@translate}</label></li> 77 74 <br /> 78 <li><label><input type = "checkbox" name = "ec_dup_types_contacts_ok" value = "ec_dup_types_contacts_ok_id" /> {'Level 1'|@translate}</label></li> 79 <li><label><input type = "checkbox" name = "ec_dup_types_friends_ok" value = "ec_dup_types_friends_ok_id" /> {'Level 2'|@translate}</label></li> 80 <li><label><input type = "checkbox" name = "ec_dup_types_family_ok" value = "ec_dup_types_family_ok_id" /> {'Level 4'|@translate}</label></li> 75 {/if} 76 {foreach from=$types_granted_ids item=id} 77 <li><label><input type = "checkbox" name = "deny_types[]" value = "{$id}" /> {$all_types[$id]}</label></li> 78 {/foreach} 81 79 </ul> 82 <input class = "submit" type = "submit" name = "deny_ users_submit" value = "{'ec_dup_typ_sbmt_lbl'|@translate}" />80 <input class = "submit" type = "submit" name = "deny_types_submit" value = "{'ec_dup_typ_sbmt_nok_lbl'|@translate}" /> 83 81 </fieldset> 84 82 83 <fieldset> 84 <legend>{'ec_duplic_nok'|@translate}</legend> 85 <ul> 86 {if !$ec_gen_granted} 87 <li><label><input type = "checkbox" name = "grant_generic" {* id = "ec_dup_types_generic_ok_id" *} /> {'user_status_generic'|@translate}</label></li> 88 <br /> 89 {/if} 90 {foreach from=$types_denied_ids item=id} 91 <li><label><input type = "checkbox" name = "grant_types[]" value = "{$id}" /> {$all_types[$id]}</label></li> 92 {/foreach} 93 </ul> 94 <input class = "submit" type = "submit" name = "grant_types_submit" value = "{'ec_dup_typ_sbmt_ok_lbl'|@translate}" /> 95 </fieldset> 96 85 97 <h4>{'Users'|@translate}</h4> 86 98 87 99 <fieldset> 88 100 <legend>{'ec_duplic_ok'|@translate}</legend> 89 101 <ul> 90 {foreach from=$user _granted_direct_ids item=id}102 {foreach from=$users_granted_direct_ids item=id} 91 103 <li><label><input type = "checkbox" name = "deny_users[]" value = "{$id}" /> {$all_users[$id]}</label></li> 92 104 {/foreach} … … 94 106 <input class = "submit" type = "submit" name = "deny_users_submit" value = "{'ec_dup_usr_ok_sbmt_lbl'|@translate}" /> 95 107 </fieldset> 96 108 97 109 <fieldset> 98 110 <legend>{'ec_duplic_ok_groups'|@translate}</legend> … … 105 117 {/if} 106 118 </fieldset> 107 119 108 120 <fieldset> 109 121 <legend>{'ec_duplic_nok'|@translate}</legend> 110 122 <ul> 111 {foreach from=$user _denied_ids item=id}123 {foreach from=$users_denied_ids item=id} 112 124 <li><label><input type = "checkbox" name = "grant_users[]" value = "{$id}"> {$all_users[$id]}</label></li> 113 125 {/foreach} … … 115 127 <input class = "submit" type = "submit" name = "grant_users_submit" value = "{'ec_dup_usr_nok_sbmt_lbl'|@translate}" /> 116 128 </fieldset> 117 129 118 130 </form> 119 131
Note: See TracChangeset
for help on using the changeset viewer.