git-svn-id: http://xe-core.googlecode.com/svn/trunk@44 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-02-15 06:15:23 +00:00
parent 55b5b91d63
commit e1f8a69118
6 changed files with 12 additions and 12 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<module default_action="viewIntroduce" manage_action="">
<action name="viewIntroduce" type="view" grant="" />
<action name="viewDBInfoForm" type="view" grant="" />
<action name="doInstall" type="controller" grant="" />
<action name="dispIntroduce" type="view" grant="" />
<action name="dispInstallForm" type="view" grant="" />
<action name="procInstall" type="controller" grant="" />
</module>

View file

@ -58,7 +58,7 @@
/**
* @brief 설치 시도
**/
function doInstall() {
function procInstall() {
// 설치가 되어 있는지에 대한 체크
if(Context::isInstalled()) return new Object(-1, 'msg_already_installed');

View file

@ -27,14 +27,14 @@
/**
* @brief license 설치 환경에 대한 메세지 보여줌
**/
function viewIntroduce() {
function dispIntroduce() {
$this->setTemplateFile('introduce');
}
/**
* @brief DB 정보 입력 화면을 보여줌
* @brief DB 정보/ 최고 관리자 정보 입력 화면을 보여줌
**/
function viewDBInfoForm() {
function dispInstallForm() {
// db_type이 지정되지 않았다면 다시 초기화면 출력
if(!Context::get('db_type')) return $this->viewIntroduce();

View file

@ -1,4 +1,4 @@
<filter name="install" module="install" method_name="doInstall">
<filter name="install" module="install" act="procInstall">
<form>
<node target="db_type" required="true" />
<node target="db_hostname" required="true" minlength="1" maxlength="250" />

View file

@ -27,7 +27,7 @@
<!--@if($install_enable)-->
<form method="get" action="./">
<input type="hidden" name="act" value="viewDBInfoForm" />
<input type="hidden" name="act" value="dispInstallForm" />
<table border="1">
<tr>
<td>{$lang->db_type}</td>