mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
cafeXE 메인 설정시 레이아웃 설정할 수 있도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6177 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7d67cee78e
commit
3396917f64
9 changed files with 25 additions and 0 deletions
|
|
@ -56,6 +56,7 @@
|
|||
$module_args->skin = $args->skin;
|
||||
$module_args->browser_title = $args->browser_title;
|
||||
$module_args->module = 'homepage';
|
||||
$module_args->layout_srl = $vars->layout_srl;
|
||||
$output = $oModuleController->insertModule($module_args);
|
||||
if(!$output->toBool()) return $output;
|
||||
} else {
|
||||
|
|
@ -65,6 +66,7 @@
|
|||
$module_args->site_srl = 0;
|
||||
$module_args->browser_title = $args->browser_title;
|
||||
$module_args->module_srl = $module_info->module_srl;
|
||||
$module_args->layout_srl = $vars->layout_srl;
|
||||
$output = $oModuleController->updateModule($module_args);
|
||||
if(!$output->toBool()) return $output;
|
||||
}
|
||||
|
|
@ -72,6 +74,7 @@
|
|||
$module_info = $oModuleModel->getModuleInfoByMid($mid, 0);
|
||||
$args->module_srl = $module_info->module_srl;
|
||||
$args->creation_group = implode(',',explode('|@|',$vars->creation_group));
|
||||
$args->layout_srl = $vars->layout_srl;
|
||||
$oModuleController->insertModuleConfig('homepage', $args);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,6 +27,10 @@
|
|||
$layout_list = $oLayoutModel->getDownloadedLayoutList();
|
||||
Context::set('layout_list', $layout_list);
|
||||
|
||||
// 카페 메인의 레이아웃을 구함
|
||||
$layout_list = $oLayoutModel->getLayoutList();
|
||||
Context::set('main_layout_list', $layout_list);
|
||||
|
||||
// 서비스 모듈을 구함
|
||||
$installed_module_list = $oModuleModel->getModulesXmlInfo();
|
||||
foreach($installed_module_list as $key => $val) {
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
$lang->mycafe_list = '가입한 카페';
|
||||
$lang->cafe_creation_type = '카페 접속 방법';
|
||||
$lang->about_cafe_creation_type = '사용자들이 카페를 생성할때 카페 접속 방법을 정해야 합니다. Site ID는 http://기본주소/ID 로 접속 가능하고 Domain 접속은 입력하신 도메인의 2차 도메인(http://domain.mydomain.net) 으로 카페가 생성됩니다';
|
||||
$lang->cafe_main_layout = '카페 메인 레이아웃';
|
||||
|
||||
$lang->default_layout = '기본 레이아웃';
|
||||
$lang->about_default_layout = '카페가 생성될때 설정될 기본 레이아웃을 지정할 수 있습니다';
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
$lang->mycafe_list = '가입한 카페';
|
||||
$lang->cafe_creation_type = '카페 접속 방법';
|
||||
$lang->about_cafe_creation_type = '사용자들이 카페를 생성할때 카페 접속 방법을 정해야 합니다. Site ID는 http://기본주소/ID 로 접속 가능하고 Domain 접속은 입력하신 도메인의 2차 도메인(http://domain.mydomain.net) 으로 카페가 생성됩니다';
|
||||
$lang->cafe_main_layout = '카페 메인 레이아웃';
|
||||
|
||||
$lang->default_layout = '기본 레이아웃';
|
||||
$lang->about_default_layout = '카페가 생성될때 설정될 기본 레이아웃을 지정할 수 있습니다';
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
$lang->mycafe_list = '가입한 카페';
|
||||
$lang->cafe_creation_type = '카페 접속 방법';
|
||||
$lang->about_cafe_creation_type = '사용자들이 카페를 생성할때 카페 접속 방법을 정해야 합니다. Site ID는 http://기본주소/ID 로 접속 가능하고 Domain 접속은 입력하신 도메인의 2차 도메인(http://domain.mydomain.net) 으로 카페가 생성됩니다';
|
||||
$lang->cafe_main_layout = '카페 메인 레이아웃';
|
||||
|
||||
$lang->default_layout = '기본 레이아웃';
|
||||
$lang->about_default_layout = '카페가 생성될때 설정될 기본 레이아웃을 지정할 수 있습니다';
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
$lang->mycafe_list = '가입한 카페';
|
||||
$lang->cafe_creation_type = '카페 접속 방법';
|
||||
$lang->about_cafe_creation_type = '사용자들이 카페를 생성할때 카페 접속 방법을 정해야 합니다. Site ID는 http://기본주소/ID 로 접속 가능하고 Domain 접속은 입력하신 도메인의 2차 도메인(http://domain.mydomain.net) 으로 카페가 생성됩니다';
|
||||
$lang->cafe_main_layout = '카페 메인 레이아웃';
|
||||
|
||||
$lang->default_layout = '기본 레이아웃';
|
||||
$lang->about_default_layout = '카페가 생성될때 설정될 기본 레이아웃을 지정할 수 있습니다';
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
$lang->mycafe_list = '가입한 카페';
|
||||
$lang->cafe_creation_type = '카페 접속 방법';
|
||||
$lang->about_cafe_creation_type = '사용자들이 카페를 생성할때 카페 접속 방법을 정해야 합니다. Site ID는 http://기본주소/ID 로 접속 가능하고 Domain 접속은 입력하신 도메인의 2차 도메인(http://domain.mydomain.net) 으로 카페가 생성됩니다';
|
||||
$lang->cafe_main_layout = '카페 메인 레이아웃';
|
||||
|
||||
$lang->default_layout = '기본 레이아웃';
|
||||
$lang->about_default_layout = '카페가 생성될때 설정될 기본 레이아웃을 지정할 수 있습니다';
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
$lang->mycafe_list = '가입한 카페';
|
||||
$lang->cafe_creation_type = '카페 접속 방법';
|
||||
$lang->about_cafe_creation_type = '사용자들이 카페를 생성할때 카페 접속 방법을 정해야 합니다. Site ID는 http://기본주소/ID 로 접속 가능하고 Domain 접속은 입력하신 도메인의 2차 도메인(http://domain.mydomain.net) 으로 카페가 생성됩니다';
|
||||
$lang->cafe_main_layout = '카페 메인 레이아웃';
|
||||
|
||||
$lang->default_layout = '기본 레이아웃';
|
||||
$lang->about_default_layout = '카페가 생성될때 설정될 기본 레이아웃을 지정할 수 있습니다';
|
||||
|
|
|
|||
|
|
@ -101,6 +101,18 @@
|
|||
<input type="input" name="browser_title" value="{$homepage_config->browser_title}" class="inputTypeText" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2" scope="row"><div>{$lang->cafe_main_layout}</div></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<select name="layout_srl">
|
||||
<!--@foreach($main_layout_list as $key => $val)-->
|
||||
<option value="{$val->layout_srl}" <!--@if($homepage_config->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2" scope="row"><div>{$lang->skin}</div></th>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue