<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.UserClass_Manage_Control" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title><%=com == "add" ? "添加身份" : "编辑身份"%></title>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <script src="Script/Eoyoo.FormControl.js" type="text/javascript"></script>
    <script type="text/javascript" src="Script/UserClass_Manage_Control.js"></script>
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="FormControl" action="<%=getFormUrl %>?com=<%=com%>&classid=<%=classid %>" method="post" enctype="multipart/form-data">

<!-- 隐藏域 -->
<input id="userClassName_hide" name="userClassName_hide" type="hidden" value="<%=_userClassName %>" />
<input id="userClassRole_hide" name="userClassRole_hide" type="hidden" value="<%=_userClassPower %>" />
<!-- end 隐藏域 -->

<div class="wrapper-div">
	<!-- 添加身份 -->
    	<div class="title1">
        	<div class="right">
            	<span class="title-ico f_right titico3 X"> Ctrl + S 快捷保存</span>
            	<span class="title-ico titico2 F B"><%=com == "add" ? "添加身份" : "编辑身份"%></span>
            </div>
        </div>
        
        <!-- 表单 -->
        <div class="tbox_form">

            <p>
            <label class="name">身份名:</label> 
            <input tabindex="1" id="userClassName_txt" value="<%=_userClassName %>" class="input200 isNull isChinaEnNum" name="userClassName_txt" type="text" />
            <span class="point ico-remind V">身份名(中文,字母,数字,下划线组成的字符)</span>
            </p>

            <p>
            <label class="name" style="height:160px;">权限分配:</label>
            <span id="powerInput" class="item line20">
                <%=loadXmlMenus_Chk()%>
            </span>
            <span id="userclassrolechk_msg" class="point ico-remind V">设置后台权限</span>
            </p>
            <hr />
            <p>
            <label class="name">批量操作:</label>
            <span class="item line20">
                <label class="checkbox">
                    <input type="checkbox" id="allPower" value="" /> <b>全部赋予权限</b>
                </label>
            </span>
            </p>

            <hr />
            <p>
            <label class="name">&nbsp;</label>
            <input type="submit" class="bule-btn W" value="确定保存" />
            <span></span>
            </p>
        </div>
        <!-- end 表单 -->
    <!-- end 添加身份 -->
</div>
    </form>
</body>
</html>
