mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
39 lines
1.9 KiB
HTML
39 lines
1.9 KiB
HTML
<load target="js/module_admin.js" />
|
|
<script>
|
|
jQuery( function() { jQuery('.grant_default').change( function(event) { doShowGrantZone(); } ); doShowGrantZone() } );
|
|
</script>
|
|
<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}" />
|
|
<input type="hidden" name="xe_validator_id" value="modules/module/tpl/module_grant_setup/1" />
|
|
<div class="x_modal-header">
|
|
<h1>{$lang->bundle_grant_setup}</h1>
|
|
</div>
|
|
<div cond="$XE_VALIDATOR_MESSAGE && $XE_VALIDATOR_ID == 'modules/module/tpl/module_grant_setup/1'" 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="-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">
|
|
<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}" />
|
|
{Context::replaceUserLang($group_item->title, true)}
|
|
</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>
|
|
|