<div class="headbar">
	<div class="position"><span>系统</span><span>></span><span>权限管理</span><span>></span><span>权限回收站</span></div>
	<div class="operating">
		<a href="javascript:;" onclick="event_link('{url:/system/right_list}')"><button class="operating_btn" type="button"><span class="link">返回列表</span></button></a>
		<a href="javascript:void(0)" onclick="selectAll('id[]');"><button class="operating_btn" type="button"><span class="sel_all">全选</span></button></a>
		<a href="javascript:void(0)" onclick=$('[name="right_list"]').attr("action","{url:/system/right_update}");delModel({msg:'是否进行彻底删除？'});><button class="operating_btn" type="button"><span class="delete">批量删除</span></button></a>
		<a href="javascript:void(0)" onclick=$('[name="right_list"]').attr("action","{url:/system/right_update/recycle/rec}");delModel({msg:'是否进行恢复？'});><button class="operating_btn" type="button"><span class="recover">批量还原</span></button></a>
	</div>
</div>

<div class="content">
	<form name='right_list' method='post' action='#'>
		<table class="list_table">
			<colgroup>
				<col width="40px" />
				<col width="160px" />
				<col />
				<col width="80px" />
			</colgroup>

			<thead>
				<tr>
					<th>选择</th>
					<th>名字</th>
					<th>权限码</th>
					<th>操作</th>
				</tr>
			</thead>

			<tbody>
				{query: name=right where=is_del eq 1}
				<tr>
					<td><input type='checkbox' name='id[]' value='{$item['id']}' /></td>
					<td>{$item['name']}</td>
					<td>{$item['right']}</td>
					<td>
						<a href='javascript:void(0)' onclick="delModel({link:'{url:/system/right_update/id/$item[id]}',msg:'是否进行彻底删除？'});"><img class="operator" src="{skin:images/admin/icon_del.gif}" alt="删除" title="删除" /></a>
						<a href='javascript:void(0)' onclick="delModel({link:'{url:/system/right_update/recycle/rec/id/$item[id]}',msg:'是否进行恢复？'});"><img class="operator" src="{skin:images/admin/icon_recover.gif}" alt="恢复" title="恢复" /></a>
					</td>
				</tr>
				{/query}
			</tbody>
		</table>
	</form>
</div>