2 [% USE HTML %]<body class="admin" onload="">
6 <form method="post" action="admin.pl">
11 <th class="listtop">[% 'Login Name' | $T8 %]</th>
12 <th class="listtop">[% 'Name' | $T8 %]</th>
13 <th class="listtop">[% 'Company' | $T8 %]</th>
14 <th class="listtop">[% 'Templates' | $T8 %]</th>
15 <th class="listtop">[% 'Print' | $T8 %]</th>
16 <th class="listtop">[% 'Language' | $T8 %]</th>
17 <th class="listtop">[% 'Dataset' | $T8 %]</th>
18 <th class="listtop">[% 'Host' | $T8 %]</th>
19 <th class="listtop">[% 'Last Action' | $T8 %]</th>
20 <!-- <th class="listtop">[% 'Driver' | $T8 %]</th> -->
23 [% FOREACH row = MEMBERS %]
24 <tr class="listrow[% loop.count % 2 %]">
25 <td> <a href="admin.pl?action=edit&user.id=[% HTML.url(row.id) %]">[% HTML.escape(row.login) %]</a></td>
26 <td> [% HTML.escape(row.name) %]</td>
27 <td> [% HTML.escape(row.company) %]</td>
28 <td> [% HTML.escape(row.templates) %]</td>
29 <td> [% HTML.escape(row.template_format) %]</td>
30 <td> [% HTML.escape(row.countrycode) %]</td>
31 <td> [% HTML.escape(row.dbname) %]</td>
32 <td> [% IF row.dbhost %][% HTML.escape(row.dbhost) %][% ELSE %]localhost[% END %]</td>
34 [% IF( row.last_action ) %]
35 [% HTML.escape(row.last_action) %]
37 [% 'not logged in' | $T8 %]
39 <!-- <td> [% HTML.escape(row.dbdriver) %]</td> -->
48 <input type="submit" class="submit" name="action" value="[% 'Add User' | $T8 %]">
49 <input type="submit" class="submit" name="action" value="[% 'Edit groups' | $T8 %]">
50 <input type="submit" class="submit" name="action" value="[% 'Pg Database Administration' | $T8 %]">
51 <input type="submit" class="submit" name="action" value="[% 'Printer Management' | $T8 %]">
53 <input type="submit" class="submit" name="action" value="[% 'Unlock System' | $T8 %]">
55 <input type="submit" class="submit" name="action" value="[% 'Lock System' | $T8 %]">
57 <input type="submit" class="submit" name="action" value="[% 'Logout' | $T8 %]">
59 <div style="background-color: #FFFFDA; font-size: 12px; padding: 0.5em; max-width: 720px; margin: 1em;">
60 <p>[% 'Click on login name to edit!' | $T8 %]</p>
61 <p>[% 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' | $T8 %]</p>
65 <h1>[% 'User Login' | $T8 %]</h1>
67 <form method="post" action="controller.pl">
68 <input type="hidden" name="action" value="LoginScreen/login">
72 <th align="right">[% 'Login Name' | $T8 %]</th>
73 <td><input class="login" name="{AUTH}login"></td>
77 <th align="right">[% 'Password' | $T8 %]</th>
78 <td><input class="login" type="password" name="{AUTH}password"></td>
79 <td><input type="submit" value="[% 'Login' | $T8 %]"></td>