mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-10 04:03:01 +09:00
Issue 2634: [xe-maserati] UI Refactoring installed module > page module
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11929 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c70fd3a24f
commit
a03b607ce9
6 changed files with 277 additions and 297 deletions
|
|
@ -5,7 +5,7 @@
|
|||
<input type="hidden" name="module" value="editor" />
|
||||
<input type="hidden" name="target_module_srl" value="{$module_info->module_srl?$module_info->module_srl:$module_srls}" />
|
||||
<input type="hidden" name="success_return_url" value="{getRequestUriByServerEnviroment()}" />
|
||||
<h3 class="h3">{$lang->editor}</h3>
|
||||
<h1>{$lang->editor}</h1>
|
||||
<table class="x_table x_table-striped x_table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -111,12 +111,12 @@
|
|||
<tr>
|
||||
<td>
|
||||
<!--@foreach($group_list as $k => $v)-->
|
||||
<input type="checkbox" name="enable_html_grant[]" value="{$k}" id="enable_html_{$k}" <!--@if(in_array($k, $editor_config->enable_html_grant))-->checked="checked"<!--@end-->/> <label for="enable_html_{$k}">{$v->title}</label>
|
||||
<label for="enable_html_{$k}" class="x_inline"><input type="checkbox" name="enable_html_grant[]" value="{$k}" id="enable_html_{$k}" <!--@if(in_array($k, $editor_config->enable_html_grant))-->checked="checked"<!--@end-->/> {$v->title}</label>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td>
|
||||
<!--@foreach($group_list as $k => $v)-->
|
||||
<input type="checkbox" name="enable_comment_html_grant[]" value="{$k}" id="enable_comment_html_{$k}" <!--@if(in_array($k, $editor_config->enable_comment_html_grant))-->checked="checked"<!--@end-->/> <label for="enable_comment_html_{$k}">{$v->title}</label>
|
||||
<label for="enable_comment_html_{$k}" class="x_inline"><input type="checkbox" name="enable_comment_html_grant[]" value="{$k}" id="enable_comment_html_{$k}" <!--@if(in_array($k, $editor_config->enable_comment_html_grant))-->checked="checked"<!--@end-->/> {$v->title}</label>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -127,12 +127,12 @@
|
|||
<tr>
|
||||
<td>
|
||||
<!--@foreach($group_list as $k => $v)-->
|
||||
<input type="checkbox" name="upload_file_grant[]" value="{$k}" id="fileupload_{$k}" <!--@if(in_array($k, $editor_config->upload_file_grant))-->checked="checked"<!--@end-->/> <label for="fileupload_{$k}">{$v->title}</label>
|
||||
<label for="fileupload_{$k}" class="x_inline"><input type="checkbox" name="upload_file_grant[]" value="{$k}" id="fileupload_{$k}" <!--@if(in_array($k, $editor_config->upload_file_grant))-->checked="checked"<!--@end-->/> {$v->title}</label>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td>
|
||||
<!--@foreach($group_list as $k => $v)-->
|
||||
<input type="checkbox" name="comment_upload_file_grant[]" value="{$k}" id="comment_fileupload_{$k}" <!--@if(in_array($k, $editor_config->comment_upload_file_grant))-->checked="checked"<!--@end-->/> <label for="comment_fileupload_{$k}">{$v->title}</label>
|
||||
<label for="comment_fileupload_{$k}" class="x_inline"><input type="checkbox" name="comment_upload_file_grant[]" value="{$k}" id="comment_fileupload_{$k}" <!--@if(in_array($k, $editor_config->comment_upload_file_grant))-->checked="checked"<!--@end-->/> {$v->title}</label>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -143,12 +143,12 @@
|
|||
<tr>
|
||||
<td>
|
||||
<!--@foreach($group_list as $k => $v)-->
|
||||
<input type="checkbox" name="enable_default_component_grant[]" value="{$k}" id="default_componen_{$k}" <!--@if(in_array($k, $editor_config->enable_default_component_grant))-->checked="checked"<!--@end-->/> <label for="default_componen_{$k}">{$v->title}</label>
|
||||
<label for="default_componen_{$k}" class="x_inline"><input type="checkbox" name="enable_default_component_grant[]" value="{$k}" id="default_componen_{$k}" <!--@if(in_array($k, $editor_config->enable_default_component_grant))-->checked="checked"<!--@end-->/> {$v->title}</label>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td>
|
||||
<!--@foreach($group_list as $k => $v)-->
|
||||
<input type="checkbox" name="enable_comment_default_component_grant[]" value="{$k}" id="comment_default_component_{$k}" <!--@if(in_array($k, $editor_config->enable_comment_default_component_grant))-->checked="checked"<!--@end-->/> <label for="comment_default_component_{$k}">{$v->title}</label>
|
||||
<label for="comment_default_component_{$k}" class="x_inline"><input type="checkbox" name="enable_comment_default_component_grant[]" value="{$k}" id="comment_default_component_{$k}" <!--@if(in_array($k, $editor_config->enable_comment_default_component_grant))-->checked="checked"<!--@end-->/> {$v->title}</label>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -159,18 +159,20 @@
|
|||
<tr>
|
||||
<td>
|
||||
<!--@foreach($group_list as $k => $v)-->
|
||||
<input type="checkbox" name="enable_component_grant[]" value="{$k}" id="componen_{$k}" <!--@if(in_array($k, $editor_config->enable_component_grant))-->checked="checked"<!--@end-->/> <label for="componen_{$k}">{$v->title}</label>
|
||||
<label for="componen_{$k}" class="x_inline"><input type="checkbox" name="enable_component_grant[]" value="{$k}" id="componen_{$k}" <!--@if(in_array($k, $editor_config->enable_component_grant))-->checked="checked"<!--@end-->/> {$v->title}</label>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td>
|
||||
<!--@foreach($group_list as $k => $v)-->
|
||||
<input type="checkbox" name="enable_comment_component_grant[]" value="{$k}" id="comment_component_{$k}" <!--@if(in_array($k, $editor_config->enable_comment_component_grant))-->checked="checked"<!--@end-->/> <label for="comment_component_{$k}">{$v->title}</label>
|
||||
<label for="comment_component_{$k}" class="x_inline"><input type="checkbox" name="enable_comment_component_grant[]" value="{$k}" id="comment_component_{$k}" <!--@if(in_array($k, $editor_config->enable_comment_component_grant))-->checked="checked"<!--@end-->/> {$v->title}</label>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="btnArea">
|
||||
<span class="btn"><input type="submit" value="{$lang->cmd_save}"/></span>
|
||||
<div class="x_clearfix btnArea">
|
||||
<div class="x_pull-right">
|
||||
<button class="x_btn x_btn-primary" type="submit">{$lang->cmd_save}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -9,31 +9,29 @@
|
|||
<input type="hidden" name="module_srl" value="{$module_srl}" />
|
||||
<input type="hidden" name="admin_member" value="<!--@foreach($admin_member as $key => $val)--><!--@if($member_config->identifier == 'email_address')-->{$val->email_address},<!--@else-->{$val->user_id},<!--@end--><!--@end-->" />
|
||||
|
||||
<h2 class="h2">{$lang->module_admin}</h2>
|
||||
<h1>{$lang->module_admin}</h1>
|
||||
<p>{$lang->about_admin_id}</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p class="q">
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">
|
||||
<!--@if($member_config->identifier == 'email_address')-->
|
||||
{$lang->admin_email_address}
|
||||
<!--@else-->
|
||||
{$lang->admin_id}
|
||||
<!--@end-->
|
||||
</p>
|
||||
<p class="a">
|
||||
<select name="_admin_member" multiple="multiple" size="{count($admin_member)?count($admin_member):1}" style="width:290px">
|
||||
<!--@foreach($admin_member as $key => $val)-->
|
||||
<option value="<!--@if($member_config->identifier=='email_address')-->{$val->email_address}<!--@else-->{$val->user_id}<!--@end-->">{$val->nick_name} (<!--@if($member_config->identifier=='email_address')-->{$val->email_address}<!--@else-->{$val->user_id}<!--@end-->)</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<br />
|
||||
<input type="text" name="admin_id" />
|
||||
<span class="btn"><button type="button" onclick="doInsertAdmin()">{$lang->cmd_insert}</button></span>
|
||||
<span class="btn"><button type="button" onclick="doDeleteAdmin()">{$lang->cmd_delete}</button></span>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 class="h2">{$lang->permission_setting}</h2>
|
||||
</label>
|
||||
<div class="x_controls">
|
||||
<select name="_admin_member" multiple="multiple" size="{count($admin_member)?count($admin_member):1}" style="width:290px">
|
||||
<!--@foreach($admin_member as $key => $val)-->
|
||||
<option value="<!--@if($member_config->identifier=='email_address')-->{$val->email_address}<!--@else-->{$val->user_id}<!--@end-->">{$val->nick_name} (<!--@if($member_config->identifier=='email_address')-->{$val->email_address}<!--@else-->{$val->user_id}<!--@end-->)</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<br />
|
||||
<input type="text" name="admin_id" />
|
||||
<span class="btn"><button type="button" onclick="doInsertAdmin()">{$lang->cmd_insert}</button></span>
|
||||
<span class="btn"><button type="button" onclick="doDeleteAdmin()">{$lang->cmd_delete}</button></span>
|
||||
</div>
|
||||
</div>
|
||||
<h1>{$lang->permission_setting}</h1>
|
||||
<p>{$lang->about_grant_deatil}</p>
|
||||
<table class="x_table x_table-striped x_table-hover">
|
||||
<thead>
|
||||
|
|
@ -65,7 +63,9 @@
|
|||
<!--@end-->
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="btnArea">
|
||||
<span class="btn"><input type="submit" value="{$lang->cmd_save}" /></span>
|
||||
<div class="x_clearfix btnArea">
|
||||
<div class="x_pull-right">
|
||||
<button class="x_btn x_btn-primary" type="submit">{$lang->cmd_save}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
||||
<form action="./" method="post" enctype="multipart/form-data">
|
||||
<section class="section">
|
||||
<form action="./" method="post" enctype="multipart/form-data" class="x_form-horizontal">
|
||||
<input type="hidden" name="module" value="module" />
|
||||
<input type="hidden" name="vid" value="{$vid}" />
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
|
|
@ -10,120 +11,128 @@
|
|||
<input type="hidden" name="_mode" value="{$mode}" />
|
||||
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
|
||||
<input type="hidden" name="page" value="{$page}" />
|
||||
|
||||
<h2 class="h2">{$lang->skin_default_info}</h2>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<p class="q">{$lang->skin}</p>
|
||||
<p class="a">{$skin_info->title}</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q">{$lang->skin_author}</p>
|
||||
<p class="a">
|
||||
<block loop="$skin_info->author=>$author">
|
||||
{$author->name}
|
||||
<block cond="$author->homepage || $author->email_address">
|
||||
(<a href="{$author->homepage}" onclick="window.open(this.href);return false;" cond="$author->homepage">{$author->homepage}</a>
|
||||
<block cond="$author->homepage && $author->email_address">, </block>
|
||||
<a href="mailto:{$author->email_address}" cond="$author->email_address">{$author->email_address}</a>)
|
||||
</block><br />
|
||||
</block>
|
||||
</p>
|
||||
</li>
|
||||
<li cond="$skin_info->homepage">
|
||||
<p class="q">{$lang->homepage}</p>
|
||||
<p class="a"><a href="{$skin_info->homepage}" onclick="window.open(this.href);return false;">{$skin_info->homepage}</a></p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q">{$lang->date}</p>
|
||||
<p class="a">{zdate($skin_info->date, 'Y-m-d')}</p>
|
||||
</li>
|
||||
<li cond="$skin_info->license || $skin_info->license_link">
|
||||
<p class="q">{$lang->skin_license}</p>
|
||||
<p class="a">{nl2br(trim($skin_info->license))}</p>
|
||||
<p cond="$skin_info->license_link"><a href="{$skin_info->license_link}" onclick="window.close(); return false;">{$skin_info->license_link}</a></p>
|
||||
</li>
|
||||
<li cond="$skin_info->description">
|
||||
<p class="q">{$lang->description}</p>
|
||||
<p class="a">{nl2br(trim($skin_info->description))}</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2 class="h2">{$lang->extra_vars}</h2>
|
||||
<ul>
|
||||
<li cond="$skin_info->colorset" class="colorset">
|
||||
<p class="q">{$lang->colorset}</p>
|
||||
<div class="a">
|
||||
<block loop="$skin_info->colorset => $key, $val">
|
||||
<!--@if($val->screenshot)-->
|
||||
{@ $_img_info = getImageSize($val->screenshot); $_height = $_img_info[1]+40; $_width = $_img_info[0]+20; $_talign = "center"; }
|
||||
<!--@else-->
|
||||
{@ $_width = 200; $_height = 20; $_talign = "left"; }
|
||||
<!--@end-->
|
||||
<div style="display:inline-block;text-align:{$_talign};margin-bottom:1em;width:{$_width}px;height:{$_height}px;margin-right:10px;">
|
||||
<input type="radio" name="colorset" value="{$val->name}" id="colorset_{$key}" checked="checked"|cond="$skin_vars['colorset']->value==$val->name" />
|
||||
<label for="colorset_{$key}">{$val->title}</label>
|
||||
<block cond="$val->screenshot">
|
||||
<br />
|
||||
<img src="../../../{$val->screenshot}" alt="{$val->title}" style="border:1px solid #888888;padding:2px;margin:2px;"/>
|
||||
</block>
|
||||
</div>
|
||||
</block>
|
||||
</div>
|
||||
</li>
|
||||
<block loop="$skin_info->extra_vars => $key, $val">
|
||||
<block cond="$val->group && ((!$group) || $group != $val->group)">
|
||||
{@$group = $val->group}
|
||||
</ul>
|
||||
<h2 class="h2">{$group}</h2>
|
||||
<ul>
|
||||
<h1>{$lang->skin_default_info}</h1>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">
|
||||
{$lang->skin}
|
||||
</label>
|
||||
<div class="x_controls">
|
||||
{$skin_info->title}
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">
|
||||
{$lang->skin_author}
|
||||
</label>
|
||||
<div class="x_controls">
|
||||
<block loop="$skin_info->author=>$author">
|
||||
{$author->name}
|
||||
<block cond="$author->homepage || $author->email_address">
|
||||
(<a href="{$author->homepage}" onclick="window.open(this.href);return false;" cond="$author->homepage">{$author->homepage}</a>
|
||||
<block cond="$author->homepage && $author->email_address">, </block>
|
||||
<a href="mailto:{$author->email_address}" cond="$author->email_address">{$author->email_address}</a>)
|
||||
</block><br />
|
||||
</block>
|
||||
<li>
|
||||
<p class="q">{$val->title}</p>
|
||||
<p cond="$val->type == 'text'" class="a">
|
||||
{@$use_multilang = true}
|
||||
<input type="text" name="{$val->name}" value="<!--@if(strpos($val->value, '$user_lang->') === false)-->{$val->value}<!--@else-->{htmlspecialchars($val->value)}<!--@end-->" class="lang_code" />
|
||||
</p>
|
||||
<div cond="$val->type == 'textarea'" class="a">
|
||||
{@$use_multilang_textarea = true}
|
||||
<textarea rows="8" cols="42" name="{$val->name}" value="<!--@if(strpos($val->value, '$user_lang->') === false)-->{$val->value}<!--@else-->{htmlspecialchars($val->value)}<!--@end-->" class="lang_code"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group" cond="$skin_info->homepage">
|
||||
<label class="x_control-label">{$lang->homepage}
|
||||
</label>
|
||||
<div class="x_controls">
|
||||
<a href="{$skin_info->homepage}" onclick="window.open(this.href);return false;">{$skin_info->homepage}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->date}
|
||||
</label>
|
||||
<div class="x_controls">{zdate($skin_info->date, 'Y-m-d')}
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group" cond="$skin_info->license || $skin_info->license_link">
|
||||
<label class="x_control-label">{$lang->skin_license}
|
||||
</label>
|
||||
<div class="x_controls">
|
||||
{nl2br(trim($skin_info->license))}
|
||||
<p cond="$skin_info->license_link"><a href="{$skin_info->license_link}" onclick="window.close(); return false;">{$skin_info->license_link}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group" cond="$skin_info->description">
|
||||
<label class="x_control-label">{$lang->description}
|
||||
</label>
|
||||
<div class="x_controls">{nl2br(trim($skin_info->description))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h1>{$lang->extra_vars}</h1>
|
||||
<div class="x_control-group" cond="$skin_info->colorset" class="colorset">
|
||||
<label class="x_control-label">{$lang->colorset}
|
||||
</label>
|
||||
<div class="x_controls">
|
||||
<block loop="$skin_info->colorset => $key, $val">
|
||||
<!--@if($val->screenshot)-->
|
||||
{@ $_img_info = getImageSize($val->screenshot); $_height = $_img_info[1]+40; $_width = $_img_info[0]+20; $_talign = "center"; }
|
||||
<!--@else-->
|
||||
{@ $_width = 200; $_height = 20; $_talign = "left"; }
|
||||
<!--@end-->
|
||||
<div style="display:inline-block;text-align:{$_talign};margin-bottom:1em;width:{$_width}px;height:{$_height}px;margin-right:10px;">
|
||||
<label for="colorset_{$key}"><input type="radio" name="colorset" value="{$val->name}" id="colorset_{$key}" checked="checked"|cond="$skin_vars['colorset']->value==$val->name" />
|
||||
{$val->title}</label>
|
||||
<block cond="$val->screenshot">
|
||||
<br />
|
||||
<img src="../../../{$val->screenshot}" alt="{$val->title}" style="border:1px solid #888888;padding:2px;margin:2px;"/>
|
||||
</block>
|
||||
</div>
|
||||
<p cond="$val->type == 'select'" class="a">
|
||||
<select name="{$val->name}">
|
||||
<option loop="$val->options => $k, $v" value="{$v->value}" selected="selected"|cond="$v->value == $val->value">{$v->title}</option>
|
||||
</select>
|
||||
</p>
|
||||
<p cond="$val->type == 'checkbox'" class="a">
|
||||
<span loop="$val->options => $k, $v">
|
||||
<input type="checkbox" name="{$val->name}[]" value="{$v->value}" id="ch_{$key}_{$k}" checked="checked"|cond="@in_array($v->value, $val->value)" class="checkbox" />
|
||||
<label for="ch_{$key}_{$k}">{$v->title}</label>
|
||||
</span>
|
||||
</p>
|
||||
<p cond="$val->type == 'radio'" class="a">
|
||||
<span loop="$val->options => $k, $v">
|
||||
<input type="radio" name="{$val->name}" value="{$v->value}" id="ch_{$key}_{$k}" checked="checked"|cond="$v->value==$val->value" />
|
||||
<label for="ch_{$key}_{$k}">{$v->title}</label>
|
||||
</span>
|
||||
</p>
|
||||
<div cond="$val->type == 'image'" class="a">
|
||||
<div cond="$val->value">
|
||||
<img src="{$val->value}" /><br />
|
||||
<input type="checkbox" name="del_{$val->name}" value="Y" id="del_{$val->name}" class="checkbox" />
|
||||
<label for="del_{$val->name}">{$lang->cmd_delete}</label>
|
||||
</div>
|
||||
|
||||
<input type="file" name="{$val->name}" value="" />
|
||||
</div>
|
||||
|
||||
<p cond="$val->description" class="desc">{nl2br(trim($val->description))}</p>
|
||||
</li>
|
||||
</block>
|
||||
</div>
|
||||
</div>
|
||||
<block loop="$skin_info->extra_vars => $key, $val">
|
||||
<block cond="$val->group && ((!$group) || $group != $val->group)">
|
||||
{@$group = $val->group}
|
||||
<h1>{$group}</h1>
|
||||
</block>
|
||||
</ul>
|
||||
<div class="btnArea">
|
||||
<span class="btn"><input type="submit" value="{$lang->cmd_registration}" /></span>
|
||||
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$val->title}</label>
|
||||
<div class="x_controls" cond="$val->type == 'text'">
|
||||
{@$use_multilang = true}
|
||||
<input type="text" name="{$val->name}" value="<!--@if(strpos($val->value, '$user_lang->') === false)-->{$val->value}<!--@else-->{htmlspecialchars($val->value)}<!--@end-->" class="lang_code" />
|
||||
</div>
|
||||
<div class="x_controls" cond="$val->type == 'textarea'">
|
||||
{@$use_multilang_textarea = true}
|
||||
<textarea rows="8" cols="42" name="{$val->name}" value="<!--@if(strpos($val->value, '$user_lang->') === false)-->{$val->value}<!--@else-->{htmlspecialchars($val->value)}<!--@end-->" class="lang_code"></textarea>
|
||||
</div>
|
||||
<div class="x_controls" cond="$val->type == 'select'">
|
||||
<select name="{$val->name}">
|
||||
<option loop="$val->options => $k, $v" value="{$v->value}" selected="selected"|cond="$v->value == $val->value">{$v->title}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="x_controls" cond="$val->type == 'checkbox'">
|
||||
<label loop="$val->options => $k, $v" for="ch_{$key}_{$k}" class="x_inline"><input type="checkbox" name="{$val->name}[]" value="{$v->value}" id="ch_{$key}_{$k}" checked="checked"|cond="@in_array($v->value, $val->value)" class="checkbox" />
|
||||
{$v->title}</label>
|
||||
</div>
|
||||
<div class="x_controls" cond="$val->type == 'radio'">
|
||||
<label for="ch_{$key}_{$k}" loop="$val->options => $k, $v" class="x_inline"><input type="radio" name="{$val->name}" value="{$v->value}" id="ch_{$key}_{$k}" checked="checked"|cond="$v->value==$val->value" />{$v->title}</label>
|
||||
</div>
|
||||
<div class="x_controls" cond="$val->type == 'image'">
|
||||
<div cond="$val->value">
|
||||
<img src="{$val->value}" /><br />
|
||||
<label for="del_{$val->name}"><input type="checkbox" name="del_{$val->name}" value="Y" id="del_{$val->name}" class="checkbox" />
|
||||
{$lang->cmd_delete}</label>
|
||||
</div>
|
||||
<input type="file" name="{$val->name}" value="" />
|
||||
</div>
|
||||
<div class="x_controls" cond="$val->description" class="desc">
|
||||
{nl2br(trim($val->description))}
|
||||
</div>
|
||||
</div>
|
||||
</block>
|
||||
<div class="x_clearfix btnArea">
|
||||
<div class="x_pull-right">
|
||||
<button class="x_btn x_btn-primary" type="submit">{$lang->cmd_registration}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<include target="../../module/tpl/include.multilang.html" />
|
||||
<include target="../../module/tpl/include.multilang.textarea.html" />
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<div class="x_page-header" cond="$module_info->mid">
|
||||
<h1>
|
||||
{$module_info->mid}<block cond="$module_info->is_default=='Y'">({$lang->is_default})</block>
|
||||
|<a href="{getSiteUrl($module_info->domain,'','mid',$module_info->mid)}">{$lang->view}</a>
|
||||
<span style="font-weight:normal"> | <a href="{getSiteUrl($module_info->domain,'','mid',$module_info->mid)}" target="_blank">{$lang->view}</a></span>
|
||||
</h1>
|
||||
</div>
|
||||
<ul class="x_nav x_nav-tabs" cond="$act != 'dispPageAdminDelete'">
|
||||
|
|
|
|||
|
|
@ -9,6 +9,10 @@
|
|||
<input type="hidden" name="page" value="{$page}" />
|
||||
<input type="hidden" name="module_srl" value="{$module_srl}" />
|
||||
<input type="hidden" name="success_return_url" value="{getRequestUriByServerEnviroment()}" />
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->page_type}</label>
|
||||
<div class="x_controls">{$lang->page_type_name[$module_info->page_type]}</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="page_name">{$lang->mid}</label>
|
||||
<div class="x_controls">
|
||||
|
|
@ -16,158 +20,117 @@
|
|||
<p>{$lang->about_mid}</p>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<form>
|
||||
<table class="x_table x_table-striped x_table-hover">
|
||||
<tr>
|
||||
<th scope="row">{$lang->page_type}</th>
|
||||
<td class="text">
|
||||
{$lang->page_type_name[$module_info->page_type]}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->mid}</th>
|
||||
<td class="text">
|
||||
<input type="text" name="page_name" value="{$module_info->mid}" />
|
||||
<p>{$lang->about_mid}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->module_category}</th>
|
||||
<td class="text">
|
||||
<select name="module_category_srl">
|
||||
<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-->
|
||||
</select>
|
||||
<p>{$lang->about_module_category}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->browser_title}</th>
|
||||
<td class="text">
|
||||
<input type="text" name="browser_title" value="{htmlspecialchars($module_info->browser_title)}" class="lang_code" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->layout}</th>
|
||||
<td class="text">
|
||||
<select name="layout_srl">
|
||||
<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-->
|
||||
</select>
|
||||
<p>{$lang->about_layout}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->mobile_view}</th>
|
||||
<td class="text">
|
||||
<input type="checkbox" name="use_mobile" id="use_mobile" value="Y" <!--@if($module_info->use_mobile == "Y")-->checked="checked"<!--@end--> />
|
||||
<label for="use_mobile">{$lang->about_mobile_view}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->mobile_layout}</th>
|
||||
<td class="text">
|
||||
<select name="mlayout_srl">
|
||||
<option value="0">{$lang->notuse}</option>
|
||||
<!--@foreach($mlayout_list as $key => $val)-->
|
||||
<option value="{$val->layout_srl}" <!--@if($module_info->mlayout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<p>{$lang->about_layout}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@if($module_info->page_type != 'ARTICLE')-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->page_caching_interval}</th>
|
||||
<td class="text">
|
||||
<input type="text" name="page_caching_interval" value="{(int)$module_info->page_caching_interval}" /> {$lang->unit_min}
|
||||
<p>{$lang->about_page_caching_interval}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@if($module_info->page_type == 'OUTSIDE')-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->opage_path}</th>
|
||||
<td class="text">
|
||||
<input type="text" name="path" value="{htmlspecialchars($module_info->path)}" />
|
||||
<p>{$lang->about_opage_path}<b>{realpath("./")}</b></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row">
|
||||
<th scope="row">{$lang->opage_mobile_path}</th>
|
||||
<td class="text">
|
||||
<input type="text" name="mpath" value="{htmlspecialchars($module_info->mpath)}" />
|
||||
<p>{$lang->about_opage_mobile_path}<b>{realpath("./")}</b></p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@if($module_info->page_type == 'ARTICLE')-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->skin_fix}</th>
|
||||
<td class="text">
|
||||
<input type="checkbox" name="is_skin_fix" id="is_skin_fix" value="Y" checked="checked"|cond="$module_info->is_skin_fix == 'Y'" />
|
||||
<p>{$lang->about_skin_fix}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->skin}</th>
|
||||
<td class="text">
|
||||
<select name="skin">
|
||||
<!--@foreach($skin_list as $key=>$val)-->
|
||||
<option value="{$key}" <!--@if($module_info->skin==$key ||(!$module_info->skin && $key=='default'))-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<p>{$lang->about_skin}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="optionnalData articleType">
|
||||
<th scope="row">{$lang->mobile_skin}</th>
|
||||
<td class="text">
|
||||
<select name="mskin">
|
||||
<!--@foreach($mskin_list as $key=>$val)-->
|
||||
<option value="{$key}" <!--@if($module_info->mskin==$key ||(!$module_info->mskin && $key=='default'))-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<p>{$lang->about_skin}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</table>
|
||||
<div class="btnArea">
|
||||
<span class="btn"><input type="submit" value="{$lang->cmd_save}" /></span>
|
||||
<!--@if($module_info->page_type != 'OUTSIDE')-->
|
||||
<span class="btn"><a href="{getUrl('','module','page','act','dispPageAdminContentModify','module_srl',$module_info->module_srl)}" target="_blank">{$lang->cmd_page_modify}...</a></span>
|
||||
<!--@end-->
|
||||
<!--@if($module=="admin")-->
|
||||
<span class="btn"><a href="{getUrl('act','dispPageAdminContent','module_srl','')}">{$lang->cmd_list}</a></span>
|
||||
<!--@end-->
|
||||
<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="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-->
|
||||
</select>
|
||||
<p>{$lang->about_module_category}</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Multilingual -->
|
||||
<div id="langEdit" class="langEdit tgContent">
|
||||
<ul class="langList"></ul>
|
||||
<div class="langInput">
|
||||
<h2>{$lang->cmd_multilingual} <strong>{$lang->cmd_modify}...</strong> | <a href="#langEdit">{$lang->cmd_insert}</a></h2>
|
||||
<ul>
|
||||
{@
|
||||
/* move current language to the top */
|
||||
$a = array($lang_type=>$lang_supported[$lang_type]);
|
||||
unset($lang_supported[$lang_type]);
|
||||
$lang_supported = array_merge($a, $lang_supported);
|
||||
}
|
||||
<li loop="$lang_supported=>$code,$name" class="{$code}"><label for="{$code}_var1">{$name}</label> <input type="text" value="" id="{$code}_var1" /></li>
|
||||
</ul>
|
||||
<div class="action">
|
||||
<div class="btnArea">
|
||||
<span class="btn small"><input type="submit" value="{$lang->use}|{$lang->use_after_save}" /></span>
|
||||
</div>
|
||||
<p><a href="{getUrl('act','dispModuleAdminLangcode')}">{$lang->multilingual_manager}</a></p>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="browser_title">{$lang->browser_title}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="browser_title" id="browser_title" value="{htmlspecialchars($module_info->browser_title)}" class="lang_code" />
|
||||
</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="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-->
|
||||
</select>
|
||||
<p>{$lang->about_layout}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="use_mobile">{$lang->mobile_view}</label>
|
||||
<div class="x_controls">
|
||||
<input type="checkbox" name="use_mobile" id="use_mobile" value="Y" <!--@if($module_info->use_mobile == "Y")-->checked="checked"<!--@end--> />
|
||||
<label for="use_mobile">{$lang->about_mobile_view}</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="mlayout_srl">{$lang->mobile_layout}</label>
|
||||
<div class="x_controls">
|
||||
<select name="mlayout_srl" id="mlayout_srl">
|
||||
<option value="0">{$lang->notuse}</option>
|
||||
<!--@foreach($mlayout_list as $key => $val)-->
|
||||
<option value="{$val->layout_srl}" <!--@if($module_info->mlayout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<p>{$lang->about_layout}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group" cond="$module_info->page_type != 'ARTICLE'">
|
||||
<label class="x_control-label" for="page_caching_interval">{$lang->page_caching_interval}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="page_caching_interval" id="page_caching_interval" value="{(int)$module_info->page_caching_interval}" /> {$lang->unit_min}
|
||||
<p>{$lang->about_page_caching_interval}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group" cond="$module_info->page_type == 'OUTSIDE'">
|
||||
<label class="x_control-label" for="path">{$lang->opage_path}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="path" id="path" value="{htmlspecialchars($module_info->path)}" />
|
||||
<p>{$lang->about_opage_path}<b>{realpath("./")}</b></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group" cond="$module_info->page_type == 'OUTSIDE'">
|
||||
<label class="x_control-label" for="mpath">{$lang->opage_mobile_path}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="mpath" id="mpath" value="{htmlspecialchars($module_info->mpath)}" />
|
||||
<p>{$lang->about_opage_mobile_path}<b>{realpath("./")}</b></p>
|
||||
</div>
|
||||
</div>
|
||||
<!--@if($module_info->page_type == 'ARTICLE')-->
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="is_skin_fix">{$lang->skin_fix}</label>
|
||||
<div class="x_controls">
|
||||
<input type="checkbox" name="is_skin_fix" id="is_skin_fix" value="Y" checked="checked"|cond="$module_info->is_skin_fix == 'Y'" />
|
||||
<p>{$lang->about_skin_fix}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="skin">{$lang->skin}</label>
|
||||
<div class="x_controls">
|
||||
<select name="skin" id="skin">
|
||||
<!--@foreach($skin_list as $key=>$val)-->
|
||||
<option value="{$key}" <!--@if($module_info->skin==$key ||(!$module_info->skin && $key=='default'))-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<p>{$lang->about_skin}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group" class="optionnalData articleType">
|
||||
<label class="x_control-label" for="mskin">{$lang->mobile_skin}</label>
|
||||
<div class="x_controls">
|
||||
<select name="mskin">
|
||||
<!--@foreach($mskin_list as $key=>$val)-->
|
||||
<option value="{$key}" <!--@if($module_info->mskin==$key ||(!$module_info->mskin && $key=='default'))-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<p>{$lang->about_skin}</p>
|
||||
</div>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<div class="x_clearfix btnArea">
|
||||
<div class="x_pull-right">
|
||||
<button type="submit" class="x_btn x_btn-primary">{$lang->cmd_save}</button>
|
||||
<!--@if($module_info->page_type != 'OUTSIDE')-->
|
||||
<a href="{getUrl('','module','page','act','dispPageAdminContentModify','module_srl',$module_info->module_srl)}" class="x_btn">{$lang->cmd_page_modify}...</a>
|
||||
<!--@end-->
|
||||
<!--@if($module=="admin")-->
|
||||
<a href="{getUrl('act','dispPageAdminContent','module_srl','')}" class="x_btn">{$lang->cmd_list}</a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -51,8 +51,7 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="browser_title">{$lang->browser_title}</label>
|
||||
<div class="x_controls">
|
||||
<input type="text" name="browser_title" id="browser_title" value="{$module_info->browser_title}" id="browser_title"/>
|
||||
<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','browser_title')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
|
||||
<input type="text" name="browser_title" id="browser_title" value="{$module_info->browser_title}" class="lang_code"/>
|
||||
<p>{$lang->about_browser_title}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -94,6 +93,13 @@
|
|||
<p>{$lang->about_page_caching_interval}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group optionnalData articleType">
|
||||
<label class="x_control-label" for="is_skin_fix">{$lang->skin_fix}</label>
|
||||
<div class="x_controls">
|
||||
<input type="checkbox" name="is_skin_fix" id="is_skin_fix" value="Y" />
|
||||
<p>{$lang->about_skin_fix}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group optionnalData articleType">
|
||||
<label class="x_control-label" for="skin">{$lang->skin}</label>
|
||||
<div class="x_controls">
|
||||
|
|
@ -132,7 +138,7 @@
|
|||
</div>
|
||||
<div class="x_clearfix btnArea">
|
||||
<div class="x_pull-right">
|
||||
<button class="x_btn x_btn-primary x_btn-large" type="submit">{$lang->cmd_delete}</button>
|
||||
<button class="x_btn x_btn-primary x_btn-large" type="submit">{$lang->cmd_make}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue