mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
issue 207, added common libs
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9720 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
40782981e8
commit
9dcbf6a9c6
9 changed files with 345 additions and 14 deletions
49
modules/module/tpl/include.module_grant_setup.html
Normal file
49
modules/module/tpl/include.module_grant_setup.html
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<load target="js/module_admin.js" usecdn="true" />
|
||||
<script type="text/javascript">
|
||||
jQuery( function() { jQuery('.grant_default').change( function(event) { doShowGrantZone(); } ); doShowGrantZone() } );
|
||||
</script>
|
||||
|
||||
<form ruleset="insertModulesGrant" action="./" method="post" id="manageSelectedModuleGrant">
|
||||
<input type="hidden" name="module" value="module" />
|
||||
<input type="hidden" name="act" value="procModuleAdminModuleGrantSetup" />
|
||||
<input type="hidden" name="success_return_url" value="{getRequestUriByServerEnviroment()}" />
|
||||
<input type="hidden" name="module_srls" value="{$module_srls}" />
|
||||
<h3 class="h3">{$lang->permission_setting}</h3>
|
||||
<p>{$lang->about_grant_deatil}</p>
|
||||
<div class="table">
|
||||
<table width="100%" border="1" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">{$lang->grant}</th>
|
||||
<th scope="col" colspan="3">{$lang->target}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<!--@foreach($grant_list as $grant_name => $grant_item)-->
|
||||
<tr class="row{$cycle_idx}">
|
||||
<th scope="row">{$grant_item->title}</th>
|
||||
<td >
|
||||
<select name="{$grant_name}_default" class="grant_default">
|
||||
<!--@if($grant_item->default == 'guest')--><option value="0">{$lang->grant_to_all}</option><!--@end-->
|
||||
<!--@if($grant_item->default != 'manager')--><option value="-1">{$lang->grant_to_login_user}</option><!--@end-->
|
||||
<!--@if($grant_item->default != 'manager')--><option value="-2" <!--@if($default_grant[$grant_name]=='site')-->selected="selected"<!--@end-->>{$lang->grant_to_site_user}</option><!--@end-->
|
||||
<option value="">{$lang->grant_to_group}</option>
|
||||
</select>
|
||||
<div id="zone_{$grant_name}" style="display:none">
|
||||
<!--@foreach($group_list as $group_srl => $group_item)-->
|
||||
<input type="checkbox" class="checkbox" name="{$grant_name}" value="{$group_item->group_srl}" id="grant_{$grant_name}_{$group_srl}" />
|
||||
<label for="grant_{$grant_name}_{$group_srl}">{$group_item->title}</label>
|
||||
<!--@end-->
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="btnArea">
|
||||
<span class="btn"><input type="submit" value="{$lang->cmd_registration}" /></span>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue