mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
welcome page type change
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8505 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d19314253b
commit
077e931a2e
1 changed files with 4 additions and 2 deletions
|
|
@ -62,10 +62,13 @@
|
|||
|
||||
// insertPageModule
|
||||
$page_args->layout_srl = $layout_srl;
|
||||
$page_args->browser_title = 'welcome_page';
|
||||
$page_args->module = 'page';
|
||||
$page_args->mid = 'welcome_page';
|
||||
$page_args->module_category_srl = 0;
|
||||
$page_args->page_caching_interval = 0;
|
||||
$page_args->page_type = 'ARTICLE';
|
||||
$page_args->skin = 'default';
|
||||
|
||||
$oModuleController = &getController('module');
|
||||
$output = $oModuleController->insertModule($page_args);
|
||||
|
|
@ -94,8 +97,7 @@
|
|||
// save PageWidget
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl);
|
||||
$module_info->content = '<img src="./common/tpl/images/widget_bg.jpg" class="zbxe_widget_output" widget="widgetContent" style="WIDTH: 100%; FLOAT: left" body="" document_srl="'.$document_srl.'" widget_padding_left="0" widget_padding_right="0" widget_padding_top="0" widget_padding_bottom="0" />';
|
||||
|
||||
$module_info->document_srl = $document_srl;
|
||||
$output = $oModuleController->updateModule($module_info);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue