rhymix/modules/homepage/tpl/page_insert.html
2009-03-06 05:33:56 +00:00

38 lines
1.7 KiB
HTML

<!--%import("filter/insert_page.xml")-->
<!--#include("./_header.html")-->
<h3 class="title">{$lang->page} > {$module_info->browser_title}</h1>
<form action="./" method="post" onsubmit="return procFilter(this, insert_page)" enctype="multipart/form-data">
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
<table cellspacing="0" class="adminTable">
<thead>
<tr>
<th scope="col"><div>{$lang->grant}</div></th>
<th scope="col" colspan="3" >{$lang->target}</th>
</tr>
</thead>
<!--@foreach($grant_list as $key => $val)-->
<tr class="row{$cycle_idx}">
<th scope="row"><div>{$val->title}</div></th>
<td class="wide">
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" class="checkbox" name="{$key}" value="{$v->group_srl}" id="grant_{$key}_{$v->group_srl}" <!--@if(is_array($module_info->grants[$key])&&in_array($v->group_srl,$module_info->grants[$key]))-->checked="checked"<!--@end-->/>
<label for="grant_{$key}_{$v->group_srl}">{$v->title}</label>
<!--@end-->
</td>
<td class="center selectAll"><a href="#" onclick="XE.checkboxToggleAll('{$key}', { checked:true }); return false;">{$lang->cmd_select_all}</a></td>
<td class="center deSelectAll"><a href="#" onclick="XE.checkboxToggleAll('{$key}', { checked:false }); return false;">{$lang->cmd_unselect_all}</a></td>
</tr>
<!--@end-->
<tr class="row2">
<td colspan="4" class="right">
<span class="button blue"><input type="submit" value="{$lang->cmd_save}" accesskey="s" /></span>
</td>
</tr>
</table>
</form>
<!--#include("./_footer.html")-->