mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 14:19:58 +09:00
issue 2551 add the setting mobile layout in member configuration.
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11591 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0d200c7e50
commit
b3177341c4
4 changed files with 16 additions and 0 deletions
|
|
@ -146,6 +146,7 @@
|
|||
'layout_srl',
|
||||
'skin',
|
||||
'colorset',
|
||||
'mlayout_srl',
|
||||
'mskin',
|
||||
'profile_image', 'profile_image_max_width', 'profile_image_max_height',
|
||||
'image_name', 'image_name_max_width', 'image_name_max_height',
|
||||
|
|
@ -190,6 +191,7 @@
|
|||
if($args->signature!='Y') $args->signature = 'N';
|
||||
$args->identifier = $all_args->identifier;
|
||||
$args->layout_srl = $args->layout_srl ? $args->layout_srl : null;
|
||||
$args->mlayout_srl = $args->mlayout_srl ? $args->mlayout_srl : null;
|
||||
|
||||
// set default
|
||||
$all_args->is_nick_name_public = 'Y';
|
||||
|
|
|
|||
|
|
@ -115,6 +115,10 @@
|
|||
|
||||
Context::set('layout_list', $layout_list);
|
||||
|
||||
$mlayout_list = $oLayoutModel->getLayoutList(0, 'M');
|
||||
|
||||
Context::set('mlayout_list', $mlayout_list);
|
||||
|
||||
// list of skins for member module
|
||||
$skin_list = $oModuleModel->getSkins($this->module_path);
|
||||
Context::set('skin_list', $skin_list);
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ class memberMobile extends memberView
|
|||
$layout_info = $oLayoutModel->getLayout($this->member_config->mlayout_srl);
|
||||
if($layout_info)
|
||||
{
|
||||
$this->module_info->mlayout_srl = $this->member_config->mlayout_srl;
|
||||
$this->setLayoutPath($layout_info->path);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,6 +105,15 @@
|
|||
<p class="q"><label for="member_colorset">{$lang->colorset}</label></p>
|
||||
<p class="a"><div id="member_colorset"></div></p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label for="mlayout">{$lang->mobile_layout}</label></p>
|
||||
<p class="a">
|
||||
<select id="mlayout" name="mlayout_srl">
|
||||
<option value="0">{$lang->notuse}</option>
|
||||
<option loop="$mlayout_list => $key,$val" value="{$val->layout_srl}" selected="selected"|cond="$val->layout_srl == $config->mlayout_srl">{$val->title} ({$val->layout})</option>
|
||||
</select>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="q"><label for="mskin">{$lang->mobile_skin}</label></p>
|
||||
<p class="a">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue