source: extensions/event_cats/admin/template/duplication.tpl @ 4233

Last change on this file since 4233 was 4233, checked in by LucMorizur, 14 years ago

[Event Cats] Duplication management

File size: 4.8 KB
Line 
1{* <!-- Event Cats (event categories) LucMorizur June - ... 2009 --> *}
2
3{include file='../../../plugins/event_cats/admin/template/header.inc.tpl'}
4
5{* <!-- Available soon... --> *}
6
7<p>Bientôt disponible :-] !</p>
8
9<form class = "titrePage">
10  <fieldset>
11    <legend>{'ec_duplication_config'|@translate}</legend>
12    <table>
13      <tr>
14        <td>
15          <span style = "font-weight:bold;">{'ec_duplication_allowance'|@translate}</span>
16        </td>
17        <td>
18          <label for = "ec_dup_conf_none_id">
19            <input type = "radio" name = "ec_dup_conf" id = "ec_dup_conf_none_id" />
20            {'ec_dup_allowance_none'|@translate}
21          </label><br>
22          <label for = "ec_dup_conf_group_id">
23            <input type = "radio" name = "ec_dup_conf" id = "ec_dup_conf_group_id" />
24            {'ec_dup_allowance_group'|@translate}
25          </label><br>
26          <label for = "ec_dup_conf_all_id">
27            <input type = "radio" name = "ec_dup_conf" id = "ec_dup_conf_all_id" />
28            {'ec_dup_allowance_all'|@translate}
29          </label><br>
30        </td>
31        <td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
32        <td>
33          <span style = "font-weight:bold;">{'ec_duplication_display'|@translate}</span>
34        </td>
35        <td>
36          <label for = "ec_dup_disp_normal_id">
37            <input type = "radio" name = "ec_dup_disp" id = "ec_dup_disp_normal_id" />
38            {'ec_dup_display_normal'|@translate}{if $reg_display.0 != '0'} ("{$reg_display.1}"){/if}
39          </label><br>
40          <label for = "ec_dup_disp_dup_id">
41            <input type = "radio" name = "ec_dup_disp" id = "ec_dup_disp_dup_id" />
42            {'ec_dup_display_dup'|@translate} ("{'ec_duplication'|@translate}")
43          </label><br>
44        </td>
45      </tr>
46    </table>
47    <input class = "submit" type = "submit" name = "ec_duplic_conf_submit" value = "{'ec_dup_conf_submit_lbl'|@translate}" />
48  </fieldset>
49</form>
50
51{*
52
53<form action = "{$F_ACTION}" method = "post" id = "categoryPermissions">
54
55  <h4>{'Groups'|@translate}</h4>
56
57  <fieldset>
58    <legend>{'Permission granted'|@translate}</legend>
59    <ul>
60      {foreach from=$group_granted_ids item=id}
61      <li><label><input type = "checkbox" name = "deny_groups[]" value = "{$id}" /> {$all_groups[$id]}</label></li>
62      {/foreach}
63    </ul>
64    <input class = "submit" type = "submit" name = "deny_groups_submit" value = "{'Deny selected groups'|@translate}" {$TAG_INPUT_ENABLED}/>
65  </fieldset>
66
67  <fieldset>
68    <legend>{'Permission denied'|@translate}</legend>
69    <ul>
70      {foreach from=$group_denied_ids item=id}
71      <li><label><input type = "checkbox" name = "grant_groups[]" value = "{$id}"> {$all_groups[$id]}</label></li>
72      {/foreach}
73    </ul>
74    <input class = "submit" type = "submit" name = "grant_groups_submit" value = "{'Grant selected groups'|@translate}" {$TAG_INPUT_ENABLED}/>
75  </fieldset>
76
77  <h4>{'Users'|@translate}</h4>
78
79  <fieldset>
80    <legend>{'Permission granted'|@translate}</legend>
81    <ul>
82      {foreach from=$user_granted_direct_ids item=id}
83      <li><label><input type = "checkbox" name = "deny_users[]" value = "{$id}" /> {$all_users[$id]}</label></li>
84      {/foreach}
85    </ul>
86    <input class = "submit" type = "submit" name = "deny_users_submit" value = "{'Deny selected users'|@translate}" {$TAG_INPUT_ENABLED}/>
87  </fieldset>
88
89  <fieldset>
90    <legend>{'Permission granted thanks to a group'|@translate}</legend>
91    {if isset($user_granted_indirects) }
92    <ul>
93      {foreach from=$user_granted_indirects item=user_group}
94      <li>{$user_group.USER} ({$user_group.GROUP})</li>
95      {/foreach}
96    </ul>
97    {/if}
98  </fieldset>
99
100  <fieldset>
101    <legend>{'Permission denied'|@translate}</legend>
102    <ul>
103      {foreach from=$user_denied_ids item=id}
104      <li><label><input type = "checkbox" name = "grant_users[]" value = "{$id}"> {$all_users[$id]}</label></li>
105      {/foreach}
106    </ul>
107    <input class = "submit" type = "submit" name = "grant_users_submit" value = "{'Grant selected users'|@translate}" {$TAG_INPUT_ENABLED}/>
108  </fieldset>
109
110</form>
111
112
113*}
114
115
116
117{* <!-- JavaScript functions --> *}
118{* <!--
119<script type = "text/javascript" src = "{$RACINE_URL}{$EVNTCATS_PATH}admin/template/autolog_new.js"></script>
120<script type = "text/javascript"><!--
121  ec_JS_message['ec_gen_user_act_miss'] = "{'ec_gen_user_act_miss'|@translate|@escape:javascript}";
122  ec_JS_message['ec_act_cat_miss']      = "{'ec_act_cat_miss'|@translate|@escape:javascript}";
123  ec_JS_message['ec_new_pwd_gen1']       = "{'ec_new_pwd_gen1'|@translate|@escape:javascript}";
124  ec_JS_message['ec_up_code_lbl_home']  = "{'ec_up_code_lbl_home'|@translate}";
125  ec_init();
126//--></script>
127--> *}
128
129{include file='../../../plugins/event_cats/admin/template/footer.inc.tpl'}
130
131{* <!--
132--> *}
133
Note: See TracBrowser for help on using the repository browser.