mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Page module popup UI cleaning.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12302 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
04f3ad7bdb
commit
9e06880c1d
3 changed files with 91 additions and 98 deletions
|
|
@ -2,49 +2,40 @@
|
|||
<script>
|
||||
jQuery( function() { jQuery('.grant_default').change( function(event) { doShowGrantZone(); } ); doShowGrantZone() } );
|
||||
</script>
|
||||
<h1 class="h1">{$lang->bundle_grant_setup}</h1>
|
||||
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
<form ruleset="insertModulesGrant" action="./" method="post" id="fo_obj">
|
||||
<form ruleset="insertModulesGrant" action="./" method="post" id="fo_obj" class="x_form-horizontal" style="margin:0">
|
||||
<input type="hidden" name="module" value="module" />
|
||||
<input type="hidden" name="act" value="procModuleAdminModuleGrantSetup" />
|
||||
<input type="hidden" name="module_srls" value="{$module_srls}" />
|
||||
<h2 class="h2">{$lang->permission_setting}</h2>
|
||||
<p>{$lang->about_grant_deatil}</p>
|
||||
<table class="x_table x_table-striped x_table-hover">
|
||||
<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="-3">{$lang->grant_to_admin}</option>
|
||||
<option value="">{$lang->grant_to_group}</option>
|
||||
</select>
|
||||
<div id="zone_{$grant_name}" hidden style="margin:8px 0 0 0">
|
||||
<!--@foreach($group_list as $group_srl => $group_item)-->
|
||||
<div class="x_modal-header">
|
||||
<h3>{$lang->bundle_grant_setup}</h3>
|
||||
</div>
|
||||
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
<div class="x_modal-body">
|
||||
<div class="x_control-group" loop="$grant_list => $grant_name, $grant_item">
|
||||
<label class="x_control-label" for="">{$grant_item->title}</label>
|
||||
<div class="x_controls">
|
||||
<select name="{$grant_name}_default" class="grant_default">
|
||||
<option value="0" cond="$grant_item->default == 'guest'">{$lang->grant_to_all}</option>
|
||||
<option value="-1" cond="$grant_item->default != 'manager'">{$lang->grant_to_login_user}</option>
|
||||
<option value="-2" cond="$grant_item->default != 'manager'" selected="selected"|cond="$default_grant[$grant_name]=='site'">{$lang->grant_to_site_user}</option>
|
||||
<option value="-3">{$lang->grant_to_admin}</option>
|
||||
<option value="">{$lang->grant_to_group}</option>
|
||||
</select>
|
||||
<a href="#aboutGrantDetail" class="x_icon-question-sign" cond="$grant_name=='access'" data-toggle>{$lang->help}</a>
|
||||
<p class="x_help-block" id="aboutGrantDetail" cond="$grant_name=='access'" hidden>{$lang->about_grant_deatil}</p>
|
||||
<div id="zone_{$grant_name}" hidden style="margin:8px 0 0 0">
|
||||
<label loop="$group_list => $group_srl, $group_item" for="grant_{$grant_name}_{$group_srl}">
|
||||
<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 class="btnArea">
|
||||
<span class="btn"><input type="submit" value="{$lang->cmd_registration}" /></span>
|
||||
{$group_item->title}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_modal-footer">
|
||||
<input type="submit" class="x_btn x_btn-primary" value="{$lang->cmd_registration}" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue