mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-05 22:55:32 +08:00
51 lines
2.2 KiB
HTML
51 lines
2.2 KiB
HTML
<!--
|
||
Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
See LICENSE file for license details.
|
||
-->
|
||
|
||
<form action="index.php?<{$env.server.QUERY_STRING}>" method="post">
|
||
<div class="division">
|
||
<table width='100%' cellspacing="0" cellpadding="0">
|
||
<tr>
|
||
<th><{t}>用户名:<{/t}></th>
|
||
<td>
|
||
<{if $opinfo.op_id}>
|
||
<{$opinfo.username}>
|
||
<{else}>
|
||
<{input type="text" name="username" value=$opinfo.username required=true}><em class="red">*</span>
|
||
<{/if}></td>
|
||
</tr>
|
||
<tr>
|
||
<th><{t}>真实姓名:<{/t}></th>
|
||
<td><{input type="text" value=$opinfo.name name="name"}></td>
|
||
</tr>
|
||
<tr>
|
||
<th><{t}>密码:<{/t}></th>
|
||
<td>
|
||
<{if $opinfo.op_id}>
|
||
<input name="change_pwd" onclick="$('pwd_box_<{$env.get.finder_id}>').setStyle('display',this.checked?'':'none')" type="checkbox" value="1" id="set_pwd-<{$env.get.finder_id}>" /><label for="set_pwd-<{$env.get.finder_id}>"><{t}>更改密码<{/t}></label><br />
|
||
<div style="display:none" id="pwd_box_<{$env.get.finder_id}>">
|
||
<{else}>
|
||
<div>
|
||
<{/if}>
|
||
<{input type="password" name="userpass"}> <em class="red">*</span><br />
|
||
<{input type="password" name="userpass_rt"}><span class="notice-inline"><{t}>再输入一次<{/t}></span>
|
||
</div>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th><{t}>工作组:<{/t}></th>
|
||
<td>
|
||
<input value="1" <{if $opinfo.super}>checked="checked"<{/if}> id="role-<{$env.get.finder_id}>-super" type="checkbox" name="super" > <label for="role-<{$env.get.finder_id}>-super" style="color:red"><{t}>超级管理员<{/t}></label><br />
|
||
<{foreach from=$roles key=key item=item}>
|
||
<div style="float:left;width:200px"><input value=<{$item.role_id}> id="role-<{$env.get.finder_id}>-<{$key}>" <{if $rolemap[$item.role_id]}>checked="checked"<{/if}> type="checkbox" name="roles[<{$key}>][role_id]" > <label for="role-<{$env.get.finder_id}>-<{$key}>"><{$item.role_name}></label></div>
|
||
<{/foreach}></td>
|
||
</tr>
|
||
<tr>
|
||
<th> </th>
|
||
<td><{button class="btn-primary" type="submit" label=$___desktop="保存管理员信息"|t:'desktop'}></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</form> |