<!--{<*
 * description:  
 * create time: 2010-12-06 13:48:55
 * @version $Id: assign.acl.tpl 81 2011-07-30 02:39:55Z liqt $
 * @author Gao Xiang
*>}-->
{<include file="assign.acl.js.tpl">}
<style>
.account_check {position:absolute; margin-top:28px; margin-left:100px;}
span.account_name {float:left; line-height:18px;}
span.account_login_id {float:left; clear:left; line-height:18px;}
li.account_item {float:left;display:block;width:120px;height:45px;background:#EEF;
	margin:5px 5px 0 0;
	overflow: hidden;
	cursor:pointer;
	}
</style>
<div style="text-align:left;">
	<form name="acl_assign" method="post" enctype="multipart/form-data">
	搜索用户账户：{<$account_filter>}
	选择权限模板：
	<select name="acl_template_account_id">
	<option value="">-</option>
{<section name=i loop=$acl_template_list  start=0>}
	<option value="{<$acl_template_list[i].account_id>}">{<$acl_template_list[i].account_name>}</option>
{</section>}
	</select>
	<div><span style="color:#F00;">已选中<span id="checked_count"></span>个账户</span>  <span><a class="scap_button" onclick="uncheckall();" href="#">取消所选</a></span></div>
	<ul id="account_list" style="list-style-type:none;">
{<section name=i loop=$data_list  start=0>}
		    <li class="account_item">
		    	<input type="checkbox" name="acl_account_id[{<$data_list[i].account_id>}]" id="{<$data_list[i].account_id>}" class="account_check" />
		    	<label for="{<$data_list[i].account_id>}" style="cursor:pointer;display:block;height:100%;margin-left:5px;margin-top:3px;">
		    		<span class="account_name">{<$data_list[i].account_name>}</span>
		    		<span class="account_login_id">[{<$data_list[i].account_login_id>}]</span>
		    	</label>
		    </li>
{</section>}
	</ul>
	<div class="clear"></div>
		{<$btn_save>}
	</form>
</div>
