2 [% USE HTML %]<body class="admin" onload="">
4 <form method="post" action="admin.pl">
6 <div class="listtop" width="100%">[% title %]</div>
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">[% 'Driver' | $T8 %]</th> -->
22 [% FOREACH row = MEMBERS %]
23 <tr class="listrow[% loop.count % 2 %]">
24 <td> <a href="admin.pl?action=edit&login=[% HTML.url(row.login_url) %]">[% HTML.escape(row.login) %]</a></td>
25 <td> [% HTML.escape(row.name) %]</td>
26 <td> [% HTML.escape(row.company) %]</td>
27 <td> [% HTML.escape(row.templates) %]</td>
28 <td> [% HTML.escape(row.template_format) %]</td>
29 <td> [% HTML.escape(row.countrycode) %]</td>
30 <td> [% HTML.escape(row.dbname) %]</td>
31 <td> [% IF row.dbhost %][% HTML.escape(row.dbhost) %][% ELSE %]localhost[% END %]</td>
32 <!-- <td> [% HTML.escape(row.dbdriver) %]</td> -->
41 <input type="submit" class="submit" name="action" value="[% 'Add User' | $T8 %]">
42 <input type="submit" class="submit" name="action" value="[% 'Edit groups' | $T8 %]">
43 <input type="submit" class="submit" name="action" value="[% 'Printer Management' | $T8 %]">
44 <input type="submit" class="submit" name="action" value="[% 'Pg Database Administration' | $T8 %]">
46 <input type="submit" class="submit" name="action" value="[% 'Unlock System' | $T8 %]">
48 <input type="submit" class="submit" name="action" value="[% 'Lock System' | $T8 %]">
50 <input type="submit" class="submit" name="action" value="[% 'Logout' | $T8 %]">
52 <div style="background-color: #FFFFDA; font-size: 12px; padding: 0.5em; max-width: 720px; margin: 1em;">
53 <p>[% 'Click on login name to edit!' | $T8 %]</p>
54 <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>
58 <form method="post" action="login.pl">
60 <div class="listheading">[% 'User Login' | $T8 %]</div>
64 <th align="right">[% 'Login Name' | $T8 %]</th>
65 <td><input class="login" name="login"></td>
69 <th align="right">[% 'Password' | $T8 %]</th>
70 <td><input class="login" type="password" name="password"></td>
71 <td><input type="submit" name="action" value="[% 'Login' | $T8 %]"></td>