mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
issue 1498 group modification of mobile skin, mobile layout
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10877 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2861c35d01
commit
07788cc03e
2 changed files with 28 additions and 2 deletions
|
|
@ -361,12 +361,15 @@
|
|||
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleController= &getController('module');
|
||||
$columnList = array('module_srl', 'module', 'use_mobile', 'mlayout_srl', 'menu_srl', 'site_srl', 'mid', 'mskin', 'browser_title', 'is_default', 'content', 'mcontent', 'open_rss', 'regdate');
|
||||
$columnList = array('module_srl', 'module', 'menu_srl', 'site_srl', 'mid', 'browser_title', 'is_default', 'content', 'mcontent', 'open_rss', 'regdate');
|
||||
foreach($module_srls as $module_srl) {
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl, $columnList);
|
||||
$module_info->module_category_srl = $vars->module_category_srl;
|
||||
$module_info->layout_srl = $vars->layout_srl;
|
||||
$module_info->skin = $vars->skin;
|
||||
$module_info->use_mobile = $vars->use_mobile;
|
||||
$module_info->mlayout_srl = $vars->mlayout_srl;
|
||||
$module_info->mskin = $vars->mskin;
|
||||
$module_info->description = $vars->description;
|
||||
$module_info->header_text = $vars->header_text;
|
||||
$module_info->footer_text = $vars->footer_text;
|
||||
|
|
|
|||
|
|
@ -41,6 +41,29 @@
|
|||
</p>
|
||||
<p class="desc">{$lang->about_skin}</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label for="layout_srl">{$lang->mobile_view}</label></p>
|
||||
<p class="a"><input type="checkbox" name="use_mobile" id="use_mobile" value="Y" checked="checked"|cond="$module_info->use_mobile == 'Y'" /> <label for="use_mobile">{$lang->about_mobile_view}</label></p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label for="mlayout_srl">{$lang->mobile_layout}</label></p>
|
||||
<p class="a">
|
||||
<select name="mlayout_srl" id="layout_srl">
|
||||
<option value="0">{$lang->notuse}</option>
|
||||
<option loop="$mlayout_list => $key, $val" value="{$val->layout_srl}" selected="selected"|cond="$module_info->mlayout_srl== $val->layout_srl">{$val->title} ({$val->layout})</option>
|
||||
</select>
|
||||
</p>
|
||||
<p class="desc">{$lang->about_layout}</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label for="mskin">{$lang->mobile_skin}</label></p>
|
||||
<p class="a">
|
||||
<select name="mskin" id="mskin">
|
||||
<option loop="$mskin_list=> $key, $val" value="{$key}" selected="selected"|cond="$module_info->mskin== $key || (!$module_info->skin && $key=='xe_board')">{$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">
|
||||
|
|
@ -73,4 +96,4 @@
|
|||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue