1 [% USE HTML %]<body class="admin" onload="">
3 <form method="post" action="admin.pl">
5 <div class="listtop" width="100%">[% title %]</div>
10 <th class="listtop"><translate>Login</translate></th>
11 <th class="listtop"><translate>Name</translate></th>
12 <th class="listtop"><translate>Company</translate></th>
13 <th class="listtop"><translate>Driver</translate></th>
14 <th class="listtop"><translate>Host</translate></th>
15 <th class="listtop"><translate>Dataset</translate></th>
16 <th class="listtop"><translate>Templates</translate></th>
19 [% SET row_odd = '1' %]
20 [% FOREACH row = MEMBERS %]
21 <tr class="listrow[% IF row_odd %]1[% SET row_odd = '0' %][% ELSE %]0[% SET row_odd = '1' %][% END %]">
22 <td><a href="admin.pl?action=edit&login=[% HTML.url(row.login) %]">[% HTML.escape(row.login) %]</a></td>
23 <td>[% HTML.escape(row.name) %]</td>
24 <td>[% HTML.escape(row.company) %]</td>
25 <td>[% HTML.escape(row.dbdriver) %]</td>
26 <td>[% IF row.dbhost %][% HTML.escape(row.dbhost) %][% ELSE %]localhost[% END %]</td>
27 <td>[% HTML.escape(row.dbname) %]</td>
28 <td>[% HTML.escape(row.templates) %]</td>
32 <td colspan="7"><hr size="3" noshade></td>
37 <input type="submit" class="submit" name="action" value="<translate>Add User</translate>">
38 <input type="submit" class="submit" name="action" value="<translate>Edit groups</translate>">
39 <input type="submit" class="submit" name="action" value="<translate>Pg Database Administration</translate>">
41 <input type="submit" class="submit" name="action" value="<translate>Unlock System</translate>">
43 <input type="submit" class="submit" name="action" value="<translate>Lock System</translate>">
45 <input type="submit" class="submit" name="action" value="<translate>Logout</translate>">
47 <p><translate>Click on login name to edit!</translate></p>
49 <p><translate>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.</translate></p>
52 <form method="post" action="login.pl">
54 <div class="listheading">Lx-Office ERP <translate>Login</translate></div>
58 <th align="right"><translate>Name</translate></th>
59 <td><input class="login" name="login"></td>
63 <th align="right"><translate>Password</translate></th>
64 <td><input class="login" type="password" name="password"></td>
65 <td><input type="submit" name="action" value="<translate>Login</translate>"></td>