📄 priv.tpl.php
字号:
<?php
defined('IN_PHPCMS') or exit('Access Denied');
include admin_tpl('header');
?>
<body>
<form name="myform" method="post" action="?mod=<?=$mod?>&file=<?=$file?>">
<table cellpadding="0" cellspacing="1" class="table_list">
<caption><?=$M['name']?> 妯″潡鏉冮檺璁剧疆</caption>
<tr>
<th><strong>瑙掕壊</strong></th>
<?php
foreach($privs as $priv)
{
?>
<th><strong><?=$priv['name']?></strong></th>
<?php
}
?>
</tr>
<?php
foreach($ROLE as $roleid=>$name)
{
?>
<tr>
<td><?=$name?></td>
<?php
foreach($privs as $priv=>$p)
{
?>
<td><input type="checkbox" name="priv_roleid[]" value="<?=$priv?>,<?=$roleid?>" <?=$priv_role->check('module', $mod, $priv, $roleid) ? 'checked' : ''?>/></td>
<?php
}
?>
</tr>
<?php
}
?>
</table>
<div class="button_box" style="text-align:center">
<input type="submit" name="dosubmit" value=" 纭
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -