</html> entfernen
[kivitendo-erp.git] / templates / webpages / fu / edit_access_rights.html
1 [%- USE T8 %]
2 [% USE HTML %]
3 <body>
4
5  [%- IF SAVED_MESSAGE %]
6  <p>[% SAVED_MESSAGE %]</p>
7  [%- END %]
8
9  <div class="listtop">[% title %]</div>
10
11  <p>[% 'Allow the following users access to my follow-ups:' | $T8 %]</p>
12
13  <form action="fu.pl" method="post" name="Form">
14   <p>
15    <table>
16     <tr>
17      <td class="listheading">[% 'User' | $T8 %]</td>
18      <td class="listheading">[% 'Allow access' | $T8 %]</td>
19     </tr>
20
21     [%- FOREACH row = EMPLOYEES %]
22     [%- UNLESS row.login == login %]
23     <input type="hidden" name="employee_id_[% loop.count %]" value="[% HTML.escape(row.id) %]">
24
25     <tr class="listrow[% loop.count % 2 %]">
26      <td>[% IF row.name %][% HTML.escape(row.name) %] ([% HTML.escape(row.login) %])[% ELSE %][% HTML.escape(row.login) %][% END %]</td>
27      <td>
28       <input type="radio" id="access_[% HTML.escape(row.id) %]_yes" name="access_[% HTML.escape(row.id) %]" value="1"[% IF row.access %] checked[% END %]>
29       <label for="access_[% HTML.escape(row.id) %]_yes">[% 'Yes' | $T8 %]</label>
30       <input type="radio" id="access_[% HTML.escape(row.id) %]_no" name="access_[% HTML.escape(row.id) %]" value=""[% UNLESS row.access %] checked[% END %]>
31       <label for="access_[% HTML.escape(row.id) %]_no">[% 'No' | $T8 %]</label>
32      </td>
33     </tr>
34     [%- END %]
35     [%- END %]
36    </table>
37   </p>
38
39   <input type="hidden" name="rowcount" value="[% EMPLOYEES.size %]">
40   <input type="hidden" name="save_nextsub" value="save_access_rights">
41
42   <p>
43    <input type="submit" class="submit" name="action" value="[% 'Save' | $T8 %]">
44   </p>
45
46  </form>
47 </body>