This commit is contained in:
2026-05-15 18:33:51 +02:00
parent 3601be572f
commit c980004309
8442 changed files with 783630 additions and 1 deletions

View File

@@ -0,0 +1,84 @@
<div class="panelRightTop"></div>
<div class="panelRightBody">
<div class="paddedContent">
<div class="panelContentTop"><h2><a href="#" class="long">Edycja użytkownika: {$userData->GetLogin()}</a></h2></div>
<div class="panelContentBody">
<form action="{url User=Edit id=$userData->GetId()}" method="post">
<input class="input" type="hidden" name="id" value="{$userData->GetId()}"/>
<input class="input" type="hidden" name="login" value="{$userData->GetLogin()}" />
<br />
<table class="maintable" cellpadding="0" cellspacing="0" >
<tr><td class="header" colspan="2">Logowanie</td></tr>
<tr>
<td width="120">Login*: </td>
<td> {$userData->GetLogin()}</td>
</tr>
<tr>
<td>Hasło*: </td>
<td>
<input name="disable-pwd-mgr-1" type="password" id="disable-pwd-mgr-1" style="display: none;" value="disable-pwd-mgr-1" />
<input name="disable-pwd-mgr-2" type="password" id="disable-pwd-mgr-2" style="display: none;" value="disable-pwd-mgr-2" />
<input name="disable-pwd-mgr-3" type="password" id="disable-pwd-mgr-3" style="display: none;" value="disable-pwd-mgr-3" />
<input class="input" type="password" name="password" autocomplete="off" />
{if isset($error.password)}<div style="color: red;" id="actionError">{$error.password}</div>{/if}
</td>
</tr>
<tr>
<td>Powtórz hasło*: </td><td><input class="input" type="password" name="passwordconf" />
{if isset($error.passwordconf)}<div style="color: red;" id="actionError">{$error.passwordconf}</div>{/if}
{if isset($error.passwordconfDif)}<div style="color: red;" id="actionError">{$error.passwordconfDif}</div>{/if}
</td>
</tr>
<tr><td class="header" colspan="2">Dane osobowe</td></tr>
<tr>
<td>Imię*</td><td><input class="input" type="text" name="firstName" value="{$userData->GetFirstName()}" /></td>
</tr>
<tr>
<td>Nazwisko*</td><td><input class="input" type="text" name="lastName" value="{$userData->GetLastName()}" /></td>
</tr>
<tr>
<td>Email*: </td><td><input class="input" type="text" name="email" value="{$userData->GetEmail()}" /></td>
</tr>
<tr>
<td>Opis: </td><td><textarea class="input" name="description" >{$userData->GetDescription()}</textarea></td>
</tr>
<tr><td class="header" colspan="2">Uprawnienia</td></tr>
<tr>
<td>Rola: </td><td>
<select class="input" style="width: 100px;" name="role">
{foreach item=role from=$userRole}
<option value="{$role.role}" {if $role.role==$userData->GetRole()}selected="selected"{/if}>{$role.role}</option>
{/foreach}
</select>
</td>
</tr>
<tr>
<td></td><td></td>
</tr>
</table>
<div id="messages"></div>
</div>
<div class="panelContentBottom"></div>
</div>
</div>
<div class="panelRightBottom">
<div class="panelButtons">
<input type="button" class="cancel" value="Anuluj" name="" onclick="document.location.href='{url User=index}';"/>
<input type="submit" name="userEdit" value="Zapisz" />
</div>
</div>
</form>