permission.html 864 B

12345678910111213141516171819
  1. <{include file="./admin/header.html"}>
  2. <{include file="./admin/left.html"}>
  3. <{include file="./admin/nav.html"}>
  4. <{if $errMsg.ok == 1}>
  5. <div class="tip_message_success">设置角色成功</div>
  6. <{/if}>
  7. <form method="post" action="<{$web_cfg.domain}>/?c=admin_backUser&a=setPermission&uid=<{$user.uid}>" style="">
  8. <div class="form-group">
  9. <label class="control-label">“<{$user.name}>” 角色设置:</label>
  10. <div>
  11. <label class="radio-inline"><input name="permission" type="radio" value="admin" <{if $user.permission == 'admin' }>checked<{/if}> > 管理员</label>
  12. <label class="radio-inline"><input name="permission" type="radio" value="ordinary" <{if $user.permission != 'admin' }>checked<{/if}>> 普通帐号</label>
  13. </div>
  14. </div>
  15. <button class="button button-primary button-small">保存</button>
  16. </form>
  17. <{include file="./admin/bottom.html"}>