관리자 레이아웃의 메뉴편집 아래에 언어선택 메뉴 추가

git-svn-id: http://xe-core.googlecode.com/svn/trunk@1891 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-10 05:06:49 +00:00
parent 01f1c8222a
commit 2f328baecf
17 changed files with 148 additions and 138 deletions

View file

@ -14,7 +14,7 @@
**/
function init() {
// template 경로를 지정
$this->setTemplatePath($this->module_path."tpl");
$this->setTemplatePath($this->module_path.'tpl');
// 설치가 되어 있으면 오류
if(Context::isInstalled()) return $this->stop('msg_already_installed');
@ -62,6 +62,8 @@
// db_type이 지정되지 않았다면 다시 초기화면 출력
if(!Context::get('db_type')) return $this->dispInstallSelectDB();
Context::set('time_zone', $GLOBALS['time_zone']);
// disp_db_info_form.html 파일 출력
$tpl_filename = sprintf('form.%s', Context::get('db_type'));
$this->setTemplateFile($tpl_filename);