mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +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>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,75 +1,77 @@
|
|||
<load target="./js/module_admin.js" usecdn="true" />
|
||||
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
<form ruleset="insertModuleSetup" action="./" method="post" enctype="multipart/form-data">
|
||||
<form ruleset="insertModuleSetup" action="./" method="post" enctype="multipart/form-data" class="x_form-horizontal" style="margin:0">
|
||||
<input type="hidden" name="module" value="module" />
|
||||
<input type="hidden" name="act" value="procModuleAdminModuleSetup" />
|
||||
<input type="hidden" name="module_srls" value="{$module_srls}" />
|
||||
<h1>{$lang->bundle_setup}</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<p class="q"><label for="module_category_srl">{$lang->module_category}</label></p>
|
||||
<p class="a">
|
||||
<div class="x_modal-header">
|
||||
<h3>{$lang->bundle_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">
|
||||
<label class="x_control-label" for="module_category_srl">{$lang->module_category}</label>
|
||||
<div class="x_controls">
|
||||
<select name="module_category_srl" id="module_category_srl">
|
||||
<option value="" selected="selected">{$lang->keep_existing_value}</option>
|
||||
<option value="0">{$lang->notuse}</option>
|
||||
<!--@foreach($module_category as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($module_info->module_category_srl==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
<option loop="$module_category => $key, $val" value="{$key}" selected="selected"|cond="$module_info->module_category_srl==$key">{$val->title}</option>
|
||||
</select>
|
||||
</p>
|
||||
<p class="desc">{$lang->about_module_category}</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label for="layout_srl">{$lang->layout}</label></p>
|
||||
<p class="a">
|
||||
<a href="#aboutCategory" class="x_icon-question-sign" data-toggle>{$lang->help}</a>
|
||||
<p class="x_help-block" id="aboutCategory" hidden>{$lang->about_module_category}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="layout_srl">{$lang->layout}</label>
|
||||
<div class="x_controls">
|
||||
<select name="layout_srl" id="layout_srl">
|
||||
<option value="" selected="selected">{$lang->keep_existing_value}</option>
|
||||
<option value="0">{$lang->notuse}</option>
|
||||
<!--@foreach($layout_list as $key => $val)-->
|
||||
<option value="{$val->layout_srl}" <!--@if($module_info->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
|
||||
<!--@end-->
|
||||
<option loop="$layout_list => $key, $val" value="{$val->layout_srl}" selected="selected"|cond="$module_info->layout_srl==$val->layout_srl">{$val->title}({$val->layout})</option>
|
||||
</select>
|
||||
</p>
|
||||
<p class="desc">{$lang->about_layout}</p>
|
||||
</li>
|
||||
<li cond="count($skin_list)">
|
||||
<p class="q"><label for="skin">{$lang->skin}</label></p>
|
||||
<p class="a">
|
||||
<a href="#aboutLayout" class="x_icon-question-sign" data-toggle>{$lang->help}</a>
|
||||
<p class="x_help-block" id="aboutLayout" hidden>{$lang->about_layout}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group" cond="count($skin_list)">
|
||||
<label class="x_control-label" for="skin">{$lang->skin}</label>
|
||||
<div class="x_controls">
|
||||
<select name="skin" id="skin">
|
||||
<option value="" selected="selected">{$lang->keep_existing_value}</option>
|
||||
<!--@foreach($skin_list as $key=>$val)-->
|
||||
<option value="{$key}" <!--@if($module_info->skin==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
<option loop="$skin_list => $key,$val" value="{$key}" selected="selected"|cond="$module_info->skin==$key">{$val->title}</option>
|
||||
</select>
|
||||
</p>
|
||||
<p class="desc">{$lang->about_skin}</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label for="description">{$lang->description}</label></p>
|
||||
<p class="a">
|
||||
<textarea name="description" id="description" rows="8" cols="42">{htmlspecialchars($module_info->description)}</textarea>
|
||||
</p>
|
||||
<p class="desc">{$lang->about_description}</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label for="header_text">{$lang->header_text}</label></p>
|
||||
<p class="a">
|
||||
<textarea name="header_text" id="header_text" rows="8" cols="42">{htmlspecialchars($module_info->header_text)}</textarea>
|
||||
</p>
|
||||
<p class="desc">{$lang->about_header_text}</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label for="footer_text">{$lang->footer_text}</label></p>
|
||||
<p class="a">
|
||||
<textarea name="footer_text" rows="8" cols="42">{htmlspecialchars($module_info->footer_text)}</textarea>
|
||||
</p>
|
||||
<p class="desc">{$lang->about_footer_text}</p>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="btnArea">
|
||||
<span class="btn"><input type="submit" value="{$lang->cmd_registration}" /></span>
|
||||
<a href="#aboutSkin" class="x_icon-question-sign" data-toggle>{$lang->help}</a>
|
||||
<p class="x_help-block" id="aboutSkin" hidden>{$lang->about_skin}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="header_text">{$lang->header_text}</label>
|
||||
<div class="x_controls">
|
||||
<textarea name="header_text" id="header_text" rows="4" cols="42">{htmlspecialchars($module_info->header_text)}</textarea>
|
||||
<a href="#aboutHeaderText" class="x_icon-question-sign" data-toggle>{$lang->help}</a>
|
||||
<p class="x_help-block" id="aboutHeaderText" hidden>{$lang->about_header_text}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="footer_text">{$lang->footer_text}</label>
|
||||
<div class="x_controls">
|
||||
<textarea name="footer_text" rows="4" cols="42">{htmlspecialchars($module_info->footer_text)}</textarea>
|
||||
<a href="#aboutFooterText" class="x_icon-question-sign" data-toggle>{$lang->help}</a>
|
||||
<p class="x_help-block" id="aboutFooterText" hidden>{$lang->about_footer_text}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="description">{$lang->description}</label>
|
||||
<div class="x_controls">
|
||||
<textarea name="description" id="description" rows="4" cols="42">{htmlspecialchars($module_info->description)}</textarea>
|
||||
<a href="#aboutDescription" class="x_icon-question-sign" data-toggle>{$lang->help}</a>
|
||||
<p class="x_help-block" id="aboutDescription" hidden>{$lang->about_description}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_modal-footer">
|
||||
<input type="submit" class="x_btn x_btn-primary" value="{$lang->cmd_registration}" />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -83,8 +83,8 @@
|
|||
|
||||
<div class="x_clearfix">
|
||||
<div class="x_btn-group x_pull-right">
|
||||
<a href="{getUrl('','module','module','act','dispModuleAdminModuleSetup')}" onclick="doCartSetup(this.href); return false;" class="x_btn">{$lang->cmd_setup}</a>
|
||||
<a href="{getUrl('','module','module','act','dispModuleAdminModuleGrantSetup')}" onclick="doCartSetup(this.href); return false;" class="x_btn">{$lang->cmd_manage_grant}</a>
|
||||
<a href="{getUrl('','module','module','act','dispModuleAdminModuleSetup')}" onclick="doCartSetup(this.href); return false;" class="x_btn">{$lang->cmd_setup}...</a>
|
||||
<a href="{getUrl('','module','module','act','dispModuleAdminModuleGrantSetup')}" onclick="doCartSetup(this.href); return false;" class="x_btn">{$lang->cmd_manage_grant}...</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue