| 1 |
lars |
1 |
<table width="100%">
|
|
|
2 |
<tr class="links">
|
|
|
3 |
<td colspan="2">Benutzer: Bearbeiten</td>
|
|
|
4 |
</tr>
|
|
|
5 |
<tr>
|
|
|
6 |
<td class="links">Name</td>
|
|
|
7 |
<td class="rechts">
|
|
|
8 |
{if $smarty.get.ID}
|
|
|
9 |
{$smarty.get.ID}
|
|
|
10 |
<input type="hidden" name="name" value="{$smarty.get.ID}">
|
|
|
11 |
{else}
|
|
|
12 |
<input type="text" name="name" value="{$smarty.get.ID}" onchange="document.getElementById('home').value='/home/'+this.value">
|
|
|
13 |
{/if}
|
|
|
14 |
</td>
|
|
|
15 |
</tr>
|
|
|
16 |
<tr>
|
|
|
17 |
<td class="links">ID</td>
|
|
|
18 |
<td class="rechts">
|
|
|
19 |
{if $smarty.get.ID}
|
|
|
20 |
{$users[$smarty.get.ID].uid}
|
|
|
21 |
{else}
|
|
|
22 |
Wird automatisch angelegt
|
|
|
23 |
{/if}
|
|
|
24 |
</td>
|
|
|
25 |
</tr>
|
|
|
26 |
<tr>
|
|
|
27 |
<td class="links">Hauptgruppe</td>
|
|
|
28 |
<td class="rechts">
|
|
|
29 |
{if $smarty.get.ID}
|
|
|
30 |
{html_options name="gid" options=$groups selected=$users[$smarty.get.ID].gid}
|
|
|
31 |
<input type="hidden" name="old_gid" value="{$users[$smarty.get.ID].gid}">
|
|
|
32 |
{else}
|
|
|
33 |
Wird automatisch angelegt
|
|
|
34 |
{/if}
|
|
|
35 |
</td>
|
|
|
36 |
</tr>
|
|
|
37 |
<tr>
|
|
|
38 |
<td class="links">Kommentar</td>
|
|
|
39 |
<td class="rechts">
|
|
|
40 |
<input type="text" name="gecos" value="{$users[$smarty.get.ID].gecos}">
|
|
|
41 |
<input type="hidden" name="old_gecos" value="{$users[$smarty.get.ID].gecos}">
|
|
|
42 |
</td>
|
|
|
43 |
</tr>
|
|
|
44 |
<tr>
|
|
|
45 |
<td class="links">Heimatverzeichnis</td>
|
|
|
46 |
<td class="rechts">
|
|
|
47 |
<input type="text" name="home" value="{$users[$smarty.get.ID].home}" id="home">
|
|
|
48 |
<input type="hidden" name="old_home" value="{$users[$smarty.get.ID].home}">
|
|
|
49 |
</td>
|
|
|
50 |
</tr>
|
|
|
51 |
<tr>
|
|
|
52 |
<td class="links">Kommandozeile</td>
|
|
|
53 |
<td class="rechts">
|
|
|
54 |
{html_options name="shell" selected=$users[$smarty.get.ID].shell|default:"/bin/bash" output=$shells values=$shells}
|
|
|
55 |
<input type="hidden" name="old_shell" value="{$users[$smarty.get.ID].shell|default:"/bin/bash"}">
|
|
|
56 |
</td>
|
|
|
57 |
</tr>
|
|
|
58 |
<tr>
|
|
|
59 |
<td class="links">Passwort</td>
|
|
|
60 |
<td class="rechts">
|
|
|
61 |
<input type="password" name="passwd" value="">
|
|
|
62 |
</td>
|
|
|
63 |
</tr>
|
|
|
64 |
<tr>
|
|
|
65 |
<td class="links">Passwortbestätigung</td>
|
|
|
66 |
<td class="rechts">
|
|
|
67 |
<input type="password" name="passwd_confirm" value="">
|
|
|
68 |
</td>
|
|
|
69 |
</tr>
|
|
|
70 |
{if $smarty.get.ID}
|
|
|
71 |
<tr>
|
|
|
72 |
<td class="links">Status</td>
|
|
|
73 |
<td class="rechts">
|
|
|
74 |
<input type="radio" name="status" value="lock">sperren<br>
|
|
|
75 |
<input type="radio" name="status" value="unlock">entsperren<br>
|
|
|
76 |
</td>
|
|
|
77 |
</tr>
|
|
|
78 |
{/if}
|
|
|
79 |
<tr class="links">
|
|
|
80 |
<td colspan="2">
|
|
|
81 |
<input type="hidden" name="action" value="{if $smarty.get.ID}edit{else}new{/if}">
|
|
|
82 |
<input type="submit" value="Änderungen speichern">
|
|
|
83 |
</td>
|
|
|
84 |
</tr>
|
|
|
85 |
</table>
|