update
This commit is contained in:
@@ -0,0 +1,134 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.30, created on 2024-02-03 21:23:11
|
||||
from "/home/zurawikn/public_html/zurawik_aem/Admin/template/partial/User/Edit.tpl" */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.30',
|
||||
'unifunc' => 'content_65beaebf81e3e7_70427044',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'e4328b453d07ec179df0a96693da21fe5aafd334' =>
|
||||
array (
|
||||
0 => '/home/zurawikn/public_html/zurawik_aem/Admin/template/partial/User/Edit.tpl',
|
||||
1 => 1703168200,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_65beaebf81e3e7_70427044 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if (!is_callable('smarty_function_url')) require_once '/home/zurawikn/public_html/zurawik_aem/core/plugins/Smarty/function.url.php';
|
||||
?>
|
||||
<div class="panelRightTop"></div>
|
||||
<div class="panelRightBody">
|
||||
<div class="paddedContent">
|
||||
<div class="panelContentTop"><h2><a href="#" class="long">Edycja użytkownika: <?php echo $_smarty_tpl->tpl_vars['userData']->value->GetLogin();?>
|
||||
</a></h2></div>
|
||||
<div class="panelContentBody">
|
||||
|
||||
|
||||
|
||||
|
||||
<form action="<?php echo smarty_function_url(array('User'=>'Edit','id'=>$_smarty_tpl->tpl_vars['userData']->value->GetId()),$_smarty_tpl);?>
|
||||
" method="post">
|
||||
|
||||
<input class="input" type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['userData']->value->GetId();?>
|
||||
"/>
|
||||
<input class="input" type="hidden" name="login" value="<?php echo $_smarty_tpl->tpl_vars['userData']->value->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> <?php echo $_smarty_tpl->tpl_vars['userData']->value->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" />
|
||||
<?php if (isset($_smarty_tpl->tpl_vars['error']->value['password'])) {?><div style="color: red;" id="actionError"><?php echo $_smarty_tpl->tpl_vars['error']->value['password'];?>
|
||||
</div><?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Powtórz hasło*: </td><td><input class="input" type="password" name="passwordconf" />
|
||||
<?php if (isset($_smarty_tpl->tpl_vars['error']->value['passwordconf'])) {?><div style="color: red;" id="actionError"><?php echo $_smarty_tpl->tpl_vars['error']->value['passwordconf'];?>
|
||||
</div><?php }?>
|
||||
<?php if (isset($_smarty_tpl->tpl_vars['error']->value['passwordconfDif'])) {?><div style="color: red;" id="actionError"><?php echo $_smarty_tpl->tpl_vars['error']->value['passwordconfDif'];?>
|
||||
</div><?php }?>
|
||||
</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="<?php echo $_smarty_tpl->tpl_vars['userData']->value->GetFirstName();?>
|
||||
" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Nazwisko*</td><td><input class="input" type="text" name="lastName" value="<?php echo $_smarty_tpl->tpl_vars['userData']->value->GetLastName();?>
|
||||
" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Email*: </td><td><input class="input" type="text" name="email" value="<?php echo $_smarty_tpl->tpl_vars['userData']->value->GetEmail();?>
|
||||
" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Opis: </td><td><textarea class="input" name="description" ><?php echo $_smarty_tpl->tpl_vars['userData']->value->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">
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['userRole']->value, 'role');
|
||||
if ($_from !== null) {
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['role']->value) {
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['role']->value['role'];?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['role']->value['role'] == $_smarty_tpl->tpl_vars['userData']->value->GetRole()) {?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['role']->value['role'];?>
|
||||
</option>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
|
||||
?>
|
||||
|
||||
</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='<?php echo smarty_function_url(array('User'=>'index'),$_smarty_tpl);?>
|
||||
';"/>
|
||||
<input type="submit" name="userEdit" value="Zapisz" />
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</form><?php }
|
||||
}
|
||||
Reference in New Issue
Block a user