mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-17 10:19:55 +09:00
planet 모듈에 레이아웃 적용하도록 코드 적용
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5173 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2486044777
commit
5bb59ae170
6 changed files with 22 additions and 3 deletions
|
|
@ -245,4 +245,4 @@
|
|||
<!--@end-->
|
||||
|
||||
|
||||
</form>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
$args->browser_title = Context::get('browser_title');
|
||||
$args->is_default = Context::get('is_default');
|
||||
$args->skin = Context::get('planet_default_skin');
|
||||
$args->layout_srl = Context::get('layout_srl');
|
||||
|
||||
$args->module = 'planet';
|
||||
$args->module_srl = $is_registed?$config->module_srl:getNextSequence();
|
||||
|
|
|
|||
|
|
@ -37,6 +37,11 @@
|
|||
if(is_array($this->config->tagtab_after)) Context::set('tagtab_after', join(',',$this->config->tagtab_after));
|
||||
if(is_array($this->config->smstag)) Context::set('smstag', join(',',$this->config->smstag));
|
||||
|
||||
// 레이아웃 목록을 구해옴
|
||||
$oLayoutMode = &getModel('layout');
|
||||
$layout_list = $oLayoutMode->getLayoutList();
|
||||
Context::set('layout_list', $layout_list);
|
||||
|
||||
|
||||
$this->setTemplateFile('setup');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
$this->grant->create = $oPlanetModel->isCreateGranted();
|
||||
|
||||
// 플래닛은 별도 레이아웃 동작하지 않도록 변경
|
||||
Context::set('layout', 'none');
|
||||
//Context::set('layout', 'none');
|
||||
if(!Context::get('mid')) Context::set('mid', $this->config->mid, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
<param name="is_default" target="is_default" />
|
||||
<param name="use_signup" target="use_signup" />
|
||||
<param name="planet_default_skin" target="planet_default_skin" />
|
||||
<param name="layout_srl" target="layout_srl" />
|
||||
<param name="access" target="access" />
|
||||
<param name="create" target="create" />
|
||||
<param name="manager" target="manager" />
|
||||
|
|
|
|||
|
|
@ -17,13 +17,25 @@
|
|||
<label for="fld_for_default">{$lang->about_default}</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr class="row2">
|
||||
<th scope="row"><div>{$lang->browser_title}</div></th>
|
||||
<td colspan="3">
|
||||
<input type="text" name="browser_title" value="{htmlspecialchars($config->browser_title)}" class="inputTypeText w400" />
|
||||
<p>{$lang->browser_title}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row">
|
||||
<th scope="row"><div>{$lang->layout}</div></th>
|
||||
<td colspan="3">
|
||||
<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 class="row2">
|
||||
<th scope="row"><div>{$lang->planet_default_skin}</div></th>
|
||||
<td colspan="3">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue