1.4.5.2 branche merge to trunk

git-svn-id: http://xe-core.googlecode.com/svn/trunk@8275 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-04-06 07:46:32 +00:00
parent 312289717d
commit 20ddd23e07
19 changed files with 121 additions and 120 deletions

View file

@ -0,0 +1,107 @@
<?
// ko/en/...
$lang = Context::getLangType();
// insertMenu
$menu_args->site_srl = 0;
$menu_args->title = 'welcome_menu';
$menu_srl = $menu_args->menu_srl = getNextSequence();
$menu_args->listorder = $menu_srl * -1;
$output = executeQuery('menu.insertMenu', $menu_args);
if(!$output->toBool()) return $output;
// insertMenuItem
// create 1depth menuitem
$item_args->menu_srl = $menu_srl;
$item_args->name = 'menu1';
$parent_srl = $item_args->menu_item_srl = getNextSequence();
$item_args->listorder = -1*$item_args->menu_item_srl;
$output = executeQuery('menu.insertMenuItem', $item_args);
if(!$output->toBool()) return $output;
// create 2depth menuitem
unset($item_args);
$item_args->menu_srl = $menu_srl;
$item_args->parent_srl = $parent_srl;
$item_args->url = 'welcome_page';
$item_args->name = 'menu1-1';
$item_args->menu_item_srl = getNextSequence();
$item_args->listorder = -1*$item_args->menu_item_srl;
$output = executeQuery('menu.insertMenuItem', $item_args);
if(!$output->toBool()) return $output;
// XML 파일을 갱신
$oMenuAdminController = &getAdminController('menu');
$oMenuAdminController->makeXmlFile($menu_srl);
// create Layout
//extra_vars init
$extra_vars->colorset = 'default';
$extra_vars->main_menu = $menu_srl;
$extra_vars->bottom_menu = $menu_srl;
$extra_vars->menu_name_list = array();
$extra_vars->menu_name_list[$menu_srl] = 'welcome_menu';
$args->site_srl = 0;
$layout_srl = $args->layout_srl = getNextSequence();
$args->layout = 'xe_official';
$args->title = 'welcome_layout';
$args->layout_type = 'P';
$oLayoutAdminController = &getAdminController('layout');
$output = $oLayoutAdminController->insertLayout($args);
if(!$output->toBool()) return $output;
// update Layout
$args->extra_vars = serialize($extra_vars);
$output = $oLayoutAdminController->updateLayout($args);
if(!$output->toBool()) return $output;
// insertPageModule
$page_args->layout_srl = $layout_srl;
$page_args->module = 'page';
$page_args->mid = 'welcome_page';
$page_args->module_category_srl = 0;
$page_args->page_caching_interval = 0;
$oModuleController = &getController('module');
$output = $oModuleController->insertModule($page_args);
if(!$output->toBool()) return $output;
$module_srl = $output->get('module_srl');
// insert PageContents - widget
$oTemplateHandler = &TemplateHandler::getInstance();
$oDocumentModel = &getModel('document');
$oDocumentController = &getController('document');
$obj->module_srl = $module_srl;
Context::set('version', __ZBXE_VERSION__);
$obj->title = 'welcome_document';
$obj->content = $oTemplateHandler->compile('./modules/install/script/welcome_content', 'welcome_content_'.$lang);
$output = $oDocumentController->insertDocument($obj);
if(!$output->toBool()) return $output;
$document_srl = $output->get('document_srl');
// 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" />';
$output = $oModuleController->updateModule($module_info);
if(!$output->toBool()) return $output;
// insertFirstModule
$site_args->site_srl = 0;
$site_args->index_module_srl = $module_srl;
$oModuleController->updateSite($site_args);
?>

View file

@ -0,0 +1,26 @@
<div>
<div style="overflow:hidden;float:left;padding:none;margin:none;width:100%;">
<div style="padding:0px 0px 0px 0px !important; padding:none !important;">
<h1>XE core '{$version}' has been successfully installed!</h1>
<p>We recommend you to delete this demo page before launching the site.<br />Please check the following list to verify whether the installation has been properly completed.<br />You can see all the components on the administration page.</p>
<ol>
<li>
When <strong><a href="{getUrl('', 'module','admin', 'act', 'dispLayoutAdminContent')}" target="_blank">the layout</a></strong> has been successfully installed, you can see the screen containing a <strong>header</strong>, a <strong>content body</strong>, and a <strong>footer</strong>.
</li>
<li>
When <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispMenuAdminContent')}" target="_blank">Menu module</a></strong> has been successfully installed, you can see both <strong>global and local navigations</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispIntegration_searchAdminContent')}" target="_blank">Integrated Search module</a></strong> has been successfully installed, you can see <strong>the search form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" target="_blank">Login widget</a></strong> has been successfully installed, you can see <strong>the login form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispPageAdminContent')}" target="_blank">Page module</a></strong> has been successfully installed, you see this page.
</li>
</ol>
<p>You can replace it with some other module on <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfig')}" target="_blank">the Settings page</a></strong>.</p>
</div>
</div>
</div>

View file

@ -0,0 +1,26 @@
<div>
<div style="overflow:hidden;float:left;padding:none;margin:none;width:100%;">
<div style="padding:0px 0px 0px 0px !important; padding:none !important;">
<h1>XE core '{$version}' has been successfully installed!</h1>
<p>We recommend you to delete this demo page before launching the site.<br />Please check the following list to verify whether the installation has been properly completed.<br />You can see all the components on the administration page.</p>
<ol>
<li>
When <strong><a href="{getUrl('', 'module','admin', 'act', 'dispLayoutAdminContent')}" target="_blank">the layout</a></strong> has been successfully installed, you can see the screen containing a <strong>header</strong>, a <strong>content body</strong>, and a <strong>footer</strong>.
</li>
<li>
When <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispMenuAdminContent')}" target="_blank">Menu module</a></strong> has been successfully installed, you can see both <strong>global and local navigations</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispIntegration_searchAdminContent')}" target="_blank">Integrated Search module</a></strong> has been successfully installed, you can see <strong>the search form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" target="_blank">Login widget</a></strong> has been successfully installed, you can see <strong>the login form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispPageAdminContent')}" target="_blank">Page module</a></strong> has been successfully installed, you see this page.
</li>
</ol>
<p>You can replace it with some other module on <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfig')}" target="_blank">the Settings page</a></strong>.</p>
</div>
</div>
</div>

View file

@ -0,0 +1,26 @@
<div>
<div style="overflow:hidden;float:left;padding:none;margin:none;width:100%;">
<div style="padding:0px 0px 0px 0px !important; padding:none !important;">
<h1>XE core '{$version}' has been successfully installed!</h1>
<p>We recommend you to delete this demo page before launching the site.<br />Please check the following list to verify whether the installation has been properly completed.<br />You can see all the components on the administration page.</p>
<ol>
<li>
When <strong><a href="{getUrl('', 'module','admin', 'act', 'dispLayoutAdminContent')}" target="_blank">the layout</a></strong> has been successfully installed, you can see the screen containing a <strong>header</strong>, a <strong>content body</strong>, and a <strong>footer</strong>.
</li>
<li>
When <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispMenuAdminContent')}" target="_blank">Menu module</a></strong> has been successfully installed, you can see both <strong>global and local navigations</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispIntegration_searchAdminContent')}" target="_blank">Integrated Search module</a></strong> has been successfully installed, you can see <strong>the search form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" target="_blank">Login widget</a></strong> has been successfully installed, you can see <strong>the login form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispPageAdminContent')}" target="_blank">Page module</a></strong> has been successfully installed, you see this page.
</li>
</ol>
<p>You can replace it with some other module on <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfig')}" target="_blank">the Settings page</a></strong>.</p>
</div>
</div>
</div>

View file

@ -0,0 +1,28 @@
<div>
<div style="overflow:hidden;float:left;padding:none;margin:none;width:100%;">
<div style="padding:0px 0px 0px 0px !important; padding:none !important;">
<h1>XE core '{$version}' has been successfully installed!</h1>
<p>ウェブサイトを始める前にこのページを削除してください。<br />以下のリストの格項目をチェックして設置状態を確認することができます。<br />管理ページから全てのコンポネントを確認することができます。</p>
<ol>
<li>
画面の構成から <strong>header</strong>, <strong>body</strong>, <strong>footer</strong>が見えたら、<strong><a href="{getUrl('', 'module','admin', 'act', 'dispLayoutAdminContent')}" target="_blank">レイアウト</a></strong>は正常に設置されたことです。
</li>
<li>
<strong>画面上端と左に位置する二つのメニュー</strong>が見えたら、<strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispMenuAdminContent')}" target="_blank">メニューモジュール</a></strong>は正常に設置されたことです
</li>
<li>
画面右上端に<strong>検索ボックス</strong>が見えたら、<strong><a href="{getUrl('module', 'admin', 'act', 'dispIntegration_searchAdminContent')}" target="_blank">統合検索モジュール</a></strong>は正常に設置されたことです
</li>
<li>
画面左端に<strong>ログインボックス</strong>が見えたら、<strong><a href="{getUrl('module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" target="_blank">ログインウィジェット</a></strong>は正常に設置されたことです
</li>
<li>
このページが読めたら、<strong><a href="{getUrl('module', 'admin', 'act', 'dispPageAdminContent')}" target="_blank">ページモジュール</a></strong>は正常に設置されたことです
</li>
</ol>
<p>
<strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfig')}" target="_blank">設定ページ</a></strong>で他のページを初期起動モジュールにセッティングすることができます。
</p>
</div>
</div>
</div>

View file

@ -0,0 +1,26 @@
<div>
<div style="overflow:hidden;float:left;padding:none;margin:none;width:100%;">
<div style="padding:0px 0px 0px 0px !important; padding:none !important;">
<h1>XE core '{$version}' 설치를 환영합니다!</h1>
<p>XE core설치가 성공적으로 완료되었습니다.<br />이 페이지는 데모 페이지 이므로 추후 사이트 운영시 삭제 가능합니다.<br />모든 설치요소는 관리자로 로그인하셔야 확인할 수 있습니다.</p>
<ol>
<li>
<strong>헤더</strong>, <strong>본문</strong>, <strong>풋터</strong>로 구성된 화면이 보인다면 <strong><a href="{getUrl('', 'module','admin', 'act', 'dispLayoutAdminContent')}" target="_blank">레이아웃</a></strong>이 정상적으로 설치된 것입니다.
</li>
<li>
<strong>글로벌 네비게이션</strong><strong>로컬 네비게이션</strong>이 보인다면 <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispMenuAdminContent')}" target="_blank">메뉴 모듈</a></strong>이 설치된 것입니다.
</li>
<li>
<strong>통합 검색 인풋</strong>이 보인다면 <strong><a href="{getUrl('module', 'admin', 'act', 'dispIntegration_searchAdminContent')}" target="_blank">통합검색 모듈</a></strong>이 설치된 것입니다.
</li>
<li>
<strong>로그인 인풋</strong>이 보인다면 <strong><a href="{getUrl('module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" target="_blank">로그인 정보 출력 위젯</a></strong>이 설치된 것입니다.
</li>
<li>
<strong>이 메시지</strong>가 보인다면 <strong><a href="{getUrl('module', 'admin', 'act', 'dispPageAdminContent')}" target="_blank">페이지 모듈</a></strong>이 설치된 것입니다.
</li>
</ol>
<p>페이지 모듈이 시작 모듈로 지정되어 있습니다. <a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfig')}" target="_blank">관리자 설정화면</a>에서 변경 가능합니다.</p>
</div>
</div>
</div>

View file

@ -0,0 +1,26 @@
<div>
<div style="overflow:hidden;float:left;padding:none;margin:none;width:100%;">
<div style="padding:0px 0px 0px 0px !important; padding:none !important;">
<h1>XE core '{$version}' has been successfully installed!</h1>
<p>We recommend you to delete this demo page before launching the site.<br />Please check the following list to verify whether the installation has been properly completed.<br />You can see all the components on the administration page.</p>
<ol>
<li>
When <strong><a href="{getUrl('', 'module','admin', 'act', 'dispLayoutAdminContent')}" target="_blank">the layout</a></strong> has been successfully installed, you can see the screen containing a <strong>header</strong>, a <strong>content body</strong>, and a <strong>footer</strong>.
</li>
<li>
When <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispMenuAdminContent')}" target="_blank">Menu module</a></strong> has been successfully installed, you can see both <strong>global and local navigations</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispIntegration_searchAdminContent')}" target="_blank">Integrated Search module</a></strong> has been successfully installed, you can see <strong>the search form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" target="_blank">Login widget</a></strong> has been successfully installed, you can see <strong>the login form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispPageAdminContent')}" target="_blank">Page module</a></strong> has been successfully installed, you see this page.
</li>
</ol>
<p>You can replace it with some other module on <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfig')}" target="_blank">the Settings page</a></strong>.</p>
</div>
</div>
</div>

View file

@ -0,0 +1,26 @@
<div>
<div style="overflow:hidden;float:left;padding:none;margin:none;width:100%;">
<div style="padding:0px 0px 0px 0px !important; padding:none !important;">
<h1>XE core '{$version}' has been successfully installed!</h1>
<p>We recommend you to delete this demo page before launching the site.<br />Please check the following list to verify whether the installation has been properly completed.<br />You can see all the components on the administration page.</p>
<ol>
<li>
When <strong><a href="{getUrl('', 'module','admin', 'act', 'dispLayoutAdminContent')}" target="_blank">the layout</a></strong> has been successfully installed, you can see the screen containing a <strong>header</strong>, a <strong>content body</strong>, and a <strong>footer</strong>.
</li>
<li>
When <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispMenuAdminContent')}" target="_blank">Menu module</a></strong> has been successfully installed, you can see both <strong>global and local navigations</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispIntegration_searchAdminContent')}" target="_blank">Integrated Search module</a></strong> has been successfully installed, you can see <strong>the search form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" target="_blank">Login widget</a></strong> has been successfully installed, you can see <strong>the login form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispPageAdminContent')}" target="_blank">Page module</a></strong> has been successfully installed, you see this page.
</li>
</ol>
<p>You can replace it with some other module on <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfig')}" target="_blank">the Settings page</a></strong>.</p>
</div>
</div>
</div>

View file

@ -0,0 +1,26 @@
<div>
<div style="overflow:hidden;float:left;padding:none;margin:none;width:100%;">
<div style="padding:0px 0px 0px 0px !important; padding:none !important;">
<h1>XE core '{$version}' has been successfully installed!</h1>
<p>We recommend you to delete this demo page before launching the site.<br />Please check the following list to verify whether the installation has been properly completed.<br />You can see all the components on the administration page.</p>
<ol>
<li>
When <strong><a href="{getUrl('', 'module','admin', 'act', 'dispLayoutAdminContent')}" target="_blank">the layout</a></strong> has been successfully installed, you can see the screen containing a <strong>header</strong>, a <strong>content body</strong>, and a <strong>footer</strong>.
</li>
<li>
When <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispMenuAdminContent')}" target="_blank">Menu module</a></strong> has been successfully installed, you can see both <strong>global and local navigations</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispIntegration_searchAdminContent')}" target="_blank">Integrated Search module</a></strong> has been successfully installed, you can see <strong>the search form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" target="_blank">Login widget</a></strong> has been successfully installed, you can see <strong>the login form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispPageAdminContent')}" target="_blank">Page module</a></strong> has been successfully installed, you see this page.
</li>
</ol>
<p>You can replace it with some other module on <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfig')}" target="_blank">the Settings page</a></strong>.</p>
</div>
</div>
</div>

View file

@ -0,0 +1,26 @@
<div>
<div style="overflow:hidden;float:left;padding:none;margin:none;width:100%;">
<div style="padding:0px 0px 0px 0px !important; padding:none !important;">
<h1>XE core '{$version}' has been successfully installed!</h1>
<p>We recommend you to delete this demo page before launching the site.<br />Please check the following list to verify whether the installation has been properly completed.<br />You can see all the components on the administration page.</p>
<ol>
<li>
When <strong><a href="{getUrl('', 'module','admin', 'act', 'dispLayoutAdminContent')}" target="_blank">the layout</a></strong> has been successfully installed, you can see the screen containing a <strong>header</strong>, a <strong>content body</strong>, and a <strong>footer</strong>.
</li>
<li>
When <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispMenuAdminContent')}" target="_blank">Menu module</a></strong> has been successfully installed, you can see both <strong>global and local navigations</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispIntegration_searchAdminContent')}" target="_blank">Integrated Search module</a></strong> has been successfully installed, you can see <strong>the search form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" target="_blank">Login widget</a></strong> has been successfully installed, you can see <strong>the login form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispPageAdminContent')}" target="_blank">Page module</a></strong> has been successfully installed, you see this page.
</li>
</ol>
<p>You can replace it with some other module on <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfig')}" target="_blank">the Settings page</a></strong>.</p>
</div>
</div>
</div>

View file

@ -0,0 +1,26 @@
<div>
<div style="overflow:hidden;float:left;padding:none;margin:none;width:100%;">
<div style="padding:0px 0px 0px 0px !important; padding:none !important;">
<h1>XE core '{$version}' has been successfully installed!</h1>
<p>We recommend you to delete this demo page before launching the site.<br />Please check the following list to verify whether the installation has been properly completed.<br />You can see all the components on the administration page.</p>
<ol>
<li>
When <strong><a href="{getUrl('', 'module','admin', 'act', 'dispLayoutAdminContent')}" target="_blank">the layout</a></strong> has been successfully installed, you can see the screen containing a <strong>header</strong>, a <strong>content body</strong>, and a <strong>footer</strong>.
</li>
<li>
When <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispMenuAdminContent')}" target="_blank">Menu module</a></strong> has been successfully installed, you can see both <strong>global and local navigations</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispIntegration_searchAdminContent')}" target="_blank">Integrated Search module</a></strong> has been successfully installed, you can see <strong>the search form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" target="_blank">Login widget</a></strong> has been successfully installed, you can see <strong>the login form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispPageAdminContent')}" target="_blank">Page module</a></strong> has been successfully installed, you see this page.
</li>
</ol>
<p>You can replace it with some other module on <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfig')}" target="_blank">the Settings page</a></strong>.</p>
</div>
</div>
</div>

View file

@ -0,0 +1,26 @@
<div>
<div style="overflow:hidden;float:left;padding:none;margin:none;width:100%;">
<div style="padding:0px 0px 0px 0px !important; padding:none !important;">
<h1>XE core '{$version}' has been successfully installed!</h1>
<p>We recommend you to delete this demo page before launching the site.<br />Please check the following list to verify whether the installation has been properly completed.<br />You can see all the components on the administration page.</p>
<ol>
<li>
When <strong><a href="{getUrl('', 'module','admin', 'act', 'dispLayoutAdminContent')}" target="_blank">the layout</a></strong> has been successfully installed, you can see the screen containing a <strong>header</strong>, a <strong>content body</strong>, and a <strong>footer</strong>.
</li>
<li>
When <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispMenuAdminContent')}" target="_blank">Menu module</a></strong> has been successfully installed, you can see both <strong>global and local navigations</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispIntegration_searchAdminContent')}" target="_blank">Integrated Search module</a></strong> has been successfully installed, you can see <strong>the search form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispWidgetAdminDownloadedList')}" target="_blank">Login widget</a></strong> has been successfully installed, you can see <strong>the login form</strong>.
</li>
<li>
When <strong><a href="{getUrl('module', 'admin', 'act', 'dispPageAdminContent')}" target="_blank">Page module</a></strong> has been successfully installed, you see this page.
</li>
</ol>
<p>You can replace it with some other module on <strong><a href="{getUrl('', 'module', 'admin', 'act', 'dispAdminConfig')}" target="_blank">the Settings page</a></strong>.</p>
</div>
</div>
</div>