84 lines
2.9 KiB
Smarty
84 lines
2.9 KiB
Smarty
<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 class="input" type="password" name="password" />
|
|
{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><input type="submit" name="userEdit" value="Zapisz" /></td>
|
|
</tr>
|
|
</table>
|
|
<div id="messages"></div>
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|
|
<div class="panelContentBottom"></div>
|
|
</div>
|
|
</div>
|
|
<div class="panelRightBottom">
|
|
<div class="panelButtons">
|
|
{*
|
|
<form method="post" action="">
|
|
<input type="submit" class="button buttonAnuluj" value="" name=""/>
|
|
|
|
<input type="submit" class="button buttonPodglad" value="" name=""/>
|
|
<input type="submit" class="button buttonZapisz" value="" name=""/>
|
|
<input type="submit" class="button120 buttonZapiszIPublikuj" value="" name=""/>
|
|
</form>
|
|
*}
|
|
</div>
|
|
|
|
</div> |