Files
OMS/app/desktop/view/staff/basic_info.html
2025-12-28 23:13:25 +08:00

51 lines
2.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
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"}>&nbsp;<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" >&nbsp;&nbsp;&nbsp;&nbsp;<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]" >&nbsp;&nbsp;&nbsp;&nbsp;<label for="role-<{$env.get.finder_id}>-<{$key}>"><{$item.role_name}></label></div>
<{/foreach}></td>
</tr>
<tr>
<th>&nbsp;</th>
<td><{button class="btn-primary" type="submit" label=$___desktop="保存管理员信息"|t:'desktop'}></td>
</tr>
</table>
</div>
</form>