| 1248 |
lars |
1 |
{extends file="admin/index.tpl"}
|
|
|
2 |
{block name="maincontent"}
|
| 1261 |
lars |
3 |
<form action="/backend/backend_users/" method="post">
|
|
|
4 |
<table width="100%" cellpadding="3">
|
|
|
5 |
<tr>
|
|
|
6 |
<td colspan="2" class="headline">
|
|
|
7 |
<b>Benutzer: {if $smarty.get.id}Bearbeiten{else}Neueintrag{/if}</b>
|
|
|
8 |
</td>
|
|
|
9 |
</tr>
|
|
|
10 |
<tr>
|
|
|
11 |
<td>
|
|
|
12 |
<b>Login:</b>
|
|
|
13 |
</td>
|
|
|
14 |
<td colspan="2">
|
|
|
15 |
<input type="text" name="user" value="{$user.user[0]}" id="login" autocomplete="username"/>
|
|
|
16 |
@{$webs.domain}
|
|
|
17 |
</td>
|
|
|
18 |
</tr>
|
|
|
19 |
<tr>
|
|
|
20 |
<td>
|
|
|
21 |
<b>Name:</b>
|
|
|
22 |
</td>
|
|
|
23 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
24 |
<font color="#{$webs.font_color_rechts}">
|
|
|
25 |
<input type="text" name="name" value="{$user.name}" autocomplete="off"/>
|
|
|
26 |
</font>
|
|
|
27 |
</td>
|
|
|
28 |
</tr>
|
|
|
29 |
<tr>
|
|
|
30 |
<td>
|
|
|
31 |
<b>Passwort:</b>
|
|
|
32 |
</td>
|
|
|
33 |
<td colspan="2">
|
|
|
34 |
<input type="hidden" id="length" value="8"/>
|
|
|
35 |
<input type="password" name="passwd" id="pwd" autocomplete="new-password"/>(Passwort) <i id="hovereffekt" class="far fa-question-circle"><p>Es gelten folgende Regeln, damit ein Passwort akzeptiert wird: <br/><br/> Es müssen mindestens 2 Buchstaben, <br/>mindestens 2 Zahlen <br/> und mehr als 8 Zeichen verwendet werden . <br/><br/> Tipp: Nutzen sie die Passwort generieren Funktion!</p></i><br/>
|
|
|
36 |
<input type="password" name="pwdcheck" id="pwdcheck" autocomplete="new-password"/>(Passwortbestätigung)
|
|
|
37 |
<br/>
|
|
|
38 |
<a id="getnewPWD" value="Passwort generieren" onclick="randomPassword()"> Passwort generieren</a>
|
|
|
39 |
<a id="shownewPWD" value="Passwort anzeigen" onclick="showpass()">Passwort Anzeigen </a>
|
|
|
40 |
</td>
|
|
|
41 |
</tr>
|
|
|
42 |
<tr>
|
|
|
43 |
<td>
|
|
|
44 |
<b>Hostsperre:</b>
|
|
|
45 |
</td>
|
|
|
46 |
<td colspan="2">
|
|
|
47 |
<input type="hidden" name="ignoreRemoteHosts" value="0"/>
|
|
|
48 |
<input type="checkbox" name="ignoreRemoteHosts" value="1" {if $user.ignoreRemoteHosts == 1}checked="checked"{/if}/>Ignoriere Einschränkung auf Hosts
|
|
|
49 |
</td>
|
|
|
50 |
</tr>
|
|
|
51 |
{if isset($web_rechte.admin.admin.zusatz_daten)}
|
|
|
52 |
<tr>
|
|
|
53 |
<td>
|
|
|
54 |
<b>E-Mail Adresse:</b>
|
|
|
55 |
</td>
|
|
|
56 |
<td colspan="2">
|
|
|
57 |
<input type="text" name="email" value="{$user.email}"/>
|
|
|
58 |
</td>
|
|
|
59 |
</tr>
|
|
|
60 |
<tr>
|
|
|
61 |
<td>
|
|
|
62 |
<b>Telefon:</b>
|
|
|
63 |
</td>
|
|
|
64 |
<td colspan="2">
|
|
|
65 |
<input type="text" name="telefon" value="{$user.telefon}"/>
|
|
|
66 |
</td>
|
|
|
67 |
</tr>
|
|
|
68 |
<tr>
|
|
|
69 |
<td bgcolor="#{$webs.bgcolor_links}" valign="top" width="13%">
|
|
|
70 |
<font color="#{$webs.font_color_links}">
|
|
|
71 |
<b>Fax:</b>
|
|
|
72 |
</font>
|
|
|
73 |
</td>
|
|
|
74 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
75 |
<font color="#{$webs.font_color_rechts}">
|
|
|
76 |
<input type="text" name="fax" value="{$user.fax}"/>
|
|
|
77 |
</font>
|
|
|
78 |
</td>
|
|
|
79 |
</tr>
|
|
|
80 |
{/if}
|
|
|
81 |
{if isset($user_rechte.cms)}
|
|
|
82 |
<tr>
|
|
|
83 |
<td>
|
|
|
84 |
<b>Verzeichnis:</b>
|
|
|
85 |
</td>
|
|
|
86 |
<td colspan="2">
|
|
|
87 |
<input type="text" name="dir" value="{$user.dir}"/>
|
|
|
88 |
</td>
|
|
|
89 |
</tr>
|
|
|
90 |
{/if}
|
|
|
91 |
<tr>
|
|
|
92 |
<td bgcolor="#{$webs.bgcolor_links}" valign="top" width="13%">
|
|
|
93 |
<b>Beschreibung:</b>
|
|
|
94 |
</td>
|
|
|
95 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
96 |
<textarea name="beschreibung" cols="40" rows="3">{$user.beschreibung}</textarea>
|
|
|
97 |
</td>
|
|
|
98 |
</tr>
|
|
|
99 |
<tr>
|
|
|
100 |
<td bgcolor="#{$webs.bgcolor_links}" valign="top" width="13%">
|
|
|
101 |
<b>Admin</b>
|
|
|
102 |
</td>
|
|
|
103 |
<td colspan="2">
|
|
|
104 |
<input type="hidden" name="admin" value="0" />
|
|
|
105 |
<input type="checkbox" name="admin" value="1" {if $user["admin"] == 1}checked="checked"{/if}/>
|
| 1248 |
lars |
106 |
|
| 1261 |
lars |
107 |
</td>
|
|
|
108 |
</tr>
|
|
|
109 |
<tr>
|
|
|
110 |
<td valign="top" width="13%">
|
|
|
111 |
<b>Mitarbeiter</b>
|
|
|
112 |
</td>
|
|
|
113 |
<td colspan="2">
|
|
|
114 |
<input type="hidden" name="Mitarbeiter" value="0" />
|
|
|
115 |
<input type="checkbox" name="Mitarbeiter" value="1" {if $user["Mitarbeiter"] == 1}checked="checked"{/if}/>
|
| 1248 |
lars |
116 |
|
| 1249 |
lars |
117 |
</td>
|
| 1261 |
lars |
118 |
</tr>
|
|
|
119 |
<tr>
|
|
|
120 |
<td class="links">
|
|
|
121 |
<b><label for="rang">Rang</label></b>
|
|
|
122 |
</td>
|
|
|
123 |
<td class="rechts">
|
|
|
124 |
<input type="number" name="rang" id="rang" value="{$user["rang"]}" min="0">
|
|
|
125 |
</td>
|
|
|
126 |
</tr>
|
|
|
127 |
<tr>
|
|
|
128 |
<td class="links">
|
|
|
129 |
<b><label for="terminpflege">Terminbenutzer</label></b>
|
|
|
130 |
</td>
|
|
|
131 |
<td class="rechts">
|
|
|
132 |
<input type="hidden" name="terminpflege">
|
|
|
133 |
<input type="checkbox" name="terminpflege" id="terminpflege" {if $user["terminpflege"]}checked="checked"{/if} value="1">
|
|
|
134 |
</td>
|
|
|
135 |
</tr>
|
|
|
136 |
<tr>
|
| 1249 |
lars |
137 |
<td>
|
| 1261 |
lars |
138 |
<b>App User</b>
|
| 1249 |
lars |
139 |
</td>
|
| 1261 |
lars |
140 |
<td colspan="2">
|
|
|
141 |
<input type="hidden" name="app_user" value="0" />
|
|
|
142 |
<input type="checkbox" name="app_user" value="1" {if $user["app_user"] == 1}checked="checked"{/if}/>
|
|
|
143 |
|
|
|
144 |
</td>
|
|
|
145 |
</tr>
|
|
|
146 |
<tr>
|
| 1249 |
lars |
147 |
<td>
|
| 1261 |
lars |
148 |
<b>Session spichern?</b>
|
| 1249 |
lars |
149 |
</td>
|
| 1261 |
lars |
150 |
<td colspan="2">
|
|
|
151 |
<input type="hidden" name="save_session" value="0" />
|
|
|
152 |
<input type="checkbox" name="save_session" value="1" {if $user["save_session"] == 1}checked="checked"{/if}/>
|
| 1249 |
lars |
153 |
|
| 1261 |
lars |
154 |
</td>
|
| 1249 |
lars |
155 |
</tr>
|
| 1261 |
lars |
156 |
{if isset($web_rechte.admin.toolbox.bildverwaltung) && $access_medien_exists}
|
|
|
157 |
<script type="text/javascript" src="/js/bildverwaltung.js?{$smarty.now}"></script>
|
|
|
158 |
<tr>
|
|
|
159 |
<td class="links">
|
|
|
160 |
<div style="float:left"><strong>Bildverwaltung</strong></div>
|
|
|
161 |
</td>
|
|
|
162 |
<td class="rechts">
|
|
|
163 |
<div id="bildverwaltung">
|
|
|
164 |
<img src="/images/loading.gif" />
|
|
|
165 |
</div>
|
|
|
166 |
<input type="button" value="neues Bild zuordnen" id="add_u_image"/>
|
|
|
167 |
<!--<input type="button" value="Bilder hochladen" id="upload_images"/>-->
|
|
|
168 |
<input type="hidden" name="l_id" value="{$user["ID"]}" />
|
|
|
169 |
</td>
|
|
|
170 |
</tr>
|
|
|
171 |
{/if}
|
|
|
172 |
{if isset($web_rechte.general.design.neu)}
|
|
|
173 |
<tr>
|
|
|
174 |
<td bgcolor="#{$webs.bgcolor_links}">
|
|
|
175 |
<font color="#{$webs.font_color_links}"><b>Position der Navigation</(b></font>
|
|
|
176 |
</td>
|
|
|
177 |
<td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
|
|
|
178 |
{html_radios options=$nav_pos selected=$nav_pos_sel name=navigation_pos}
|
|
|
179 |
</td>
|
|
|
180 |
</tr>
|
|
|
181 |
{/if}
|
|
|
182 |
{if $user["admin"] != 1 && ( isset($user_rechte.admin.admin.shopzuweisung) || isset($user_rechte.admin.admin.bestellartzuweisung) )}
|
|
|
183 |
<tr>
|
|
|
184 |
<td><b>Zuweisung</b></td>
|
|
|
185 |
<td>
|
|
|
186 |
<table class="zuweisungTable">
|
|
|
187 |
<tr>
|
|
|
188 |
{if isset($user_rechte.admin.admin.shopzuweisung)}
|
|
|
189 |
<td><b>Shop zuweisen</b></td>
|
|
|
190 |
{/if}
|
|
|
191 |
{if isset($user_rechte.admin.admin.bestellartzuweisung)}
|
|
|
192 |
<td><b>Bestellart zuweisen</b></td>
|
|
|
193 |
{/if}
|
|
|
194 |
</tr>
|
|
|
195 |
<tr>
|
|
|
196 |
{if isset($user_rechte.admin.admin.shopzuweisung)}
|
|
|
197 |
<td>{html_checkboxes options=$shops selected=$user["datenquellen"]["shops"] name=selected_shops}</td>
|
|
|
198 |
{/if}
|
|
|
199 |
{if isset($user_rechte.admin.admin.bestellartzuweisung)}
|
|
|
200 |
<td>{html_checkboxes options=$bestellarten selected=$user["datenquellen"]["bestellarten"] name=selected_bestellarten}</td>
|
|
|
201 |
{/if}
|
|
|
202 |
</tr>
|
|
|
203 |
</table>
|
|
|
204 |
</td>
|
|
|
205 |
</tr>
|
|
|
206 |
<tr>
|
|
|
207 |
<td>
|
|
|
208 |
<b>Zuweisung anwenden auf</b>
|
|
|
209 |
</td>
|
|
|
210 |
<td colspan="2">
|
|
|
211 |
{html_checkboxes options=$zuweisungen selected=$user["datenquellen"]["zuweisung"] name=selected_zuweisung separator="<br/>"}
|
|
|
212 |
</td>
|
|
|
213 |
</tr>
|
|
|
214 |
{/if}
|
|
|
215 |
<tr>
|
|
|
216 |
<td colspan="3">
|
|
|
217 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
218 |
<tr>
|
|
|
219 |
<td>
|
|
|
220 |
{if $smarty.get.id}
|
|
|
221 |
{if $user["admin"] != 1}
|
|
|
222 |
<input type="button" value="Rechte verwalten" onclick="document.location='admin_user_rechte.php?ID={$smarty.get.id}'"/>
|
|
|
223 |
{/if}
|
|
|
224 |
{/if}
|
|
|
225 |
<input type="button" value="Benutzercache löschen" onclick="deleteusersession();"/>
|
|
|
226 |
</td>
|
|
|
227 |
<td>
|
|
|
228 |
<input type="hidden" name="ID" value="{$user.id}"/>
|
|
|
229 |
<input type="hidden" name="action" value="update"/>
|
|
|
230 |
<input type="submit" value="OK"/>
|
|
|
231 |
<input type="reset" name="Button" value="Zurücksetzen"/>
|
|
|
232 |
</td>
|
|
|
233 |
</tr>
|
|
|
234 |
</table>
|
|
|
235 |
</td>
|
|
|
236 |
</tr>
|
|
|
237 |
</table>
|
|
|
238 |
</form>
|
| 1248 |
lars |
239 |
{/block}
|