Merge branch 'master' of ssh://git-mbunkus@lx-office.linet-services.de/~/lx-office-erp
[kivitendo-erp.git] / templates / webpages / admin / edit_groups_master.html
1 [% USE HTML %]<body>
2  <form name="Form" method="post" action="admin.pl">
3
4
5   [% IF message %]
6   <p>[% message %]</p>
7   [% END %]
8
9   <div class="listtop"><translate>Edit groups</translate></div>
10
11   <br>
12
13   <div class="listheading"><translate>Edit and delete a group</translate></div>
14
15   [% IF num_groups %]
16   <p>
17    <select name="group_id" size="10">
18     [% FOREACH row = GROUPS %]
19     <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.name) %][% IF row.description %] ([% HTML.escape(row.description) %])[% END %]</option>
20     [% END %]
21    </select>
22   </p>
23   [% ELSE %]
24   <p><translate>No groups have been added yet.</translate></p>
25   [% END %]
26
27   <p>
28    [% IF num_groups %]
29    <input type="hidden" name="edit_nextsub" value="edit_group">
30    <input type="hidden" name="delete_nextsub" value="delete_group">
31    <input type="submit" class="submit" name="action" value="<translate>Edit</translate>">
32    <input type="submit" class="submit" name="action" value="<translate>Delete</translate>">
33    [% END %]
34    <input type="hidden" name="back_nextsub" value="list_users">
35    <input type="submit" class="submit" name="action" value="<translate>Back</translate>">
36   </p>
37  </form>
38
39  <hr size="2" noshade>
40
41  <div class="listheading"><translate>Group membership</translate></div>
42
43  <p><translate>Edit the membership of all users in all groups:</translate></p>
44
45  <form method="post" action="admin.pl">
46   <p>
47    <input type="hidden" name="edit_nextsub" value="edit_group_membership">
48    <input type="submit" class="submit" name="action" value="<translate>Edit</translate>">
49   </p>
50
51  </form>
52
53  <hr size="2" noshade>
54
55  <div class="listheading"><translate>Add a new group</translate></div>
56
57  <form method="post" action="admin.pl">
58   <p>
59    <table border="0">
60     <tr>
61      <td><translate>Name</translate>:</td>
62      <td><input name="name" maxlength="50"></td>
63     </tr>
64
65     <tr>
66      <td><translate>Description</translate>:</td>
67      <td><input name="description"></td>
68     </tr>
69    </table>
70   </p>
71
72   <p>
73    <input type="hidden" name="add_nextsub" value="add_group">
74    <input type="submit" class="submit" name="action" value="<translate>Add</translate>">
75   </p>
76
77  </form>
78
79 </body>
80 </html>