git-svn-id: http://xe-core.googlecode.com/svn/trunk@1755 201d5d3c-b55e-5fd7-737f-ddc643e51545
|
|
@ -175,7 +175,7 @@
|
||||||
$query = sprintf("insert into `%ssequence` (seq) values ('')", $this->prefix);
|
$query = sprintf("insert into `%ssequence` (seq) values ('')", $this->prefix);
|
||||||
$this->_query($query);
|
$this->_query($query);
|
||||||
$sequence = mysql_insert_id();
|
$sequence = mysql_insert_id();
|
||||||
$query = sprintf("delete from `%ssequence`", $this->prefix);
|
$query = sprintf("delete from `%ssequence` where seq < %d", $this->prefix, $sequence);
|
||||||
$this->_query($query);
|
$this->_query($query);
|
||||||
|
|
||||||
return $sequence;
|
return $sequence;
|
||||||
|
|
|
||||||
|
|
@ -184,7 +184,7 @@
|
||||||
$query = sprintf("insert into `%ssequence` (seq) values ('')", $this->prefix);
|
$query = sprintf("insert into `%ssequence` (seq) values ('')", $this->prefix);
|
||||||
$this->_query($query);
|
$this->_query($query);
|
||||||
$sequence = mysql_insert_id();
|
$sequence = mysql_insert_id();
|
||||||
$query = sprintf("delete from `%ssequence`", $this->prefix);
|
$query = sprintf("delete from `%ssequence` where seq < %d", $this->prefix, $sequence);
|
||||||
$this->_query($query);
|
$this->_query($query);
|
||||||
|
|
||||||
return $sequence;
|
return $sequence;
|
||||||
|
|
|
||||||
|
|
@ -172,10 +172,10 @@
|
||||||
* @brief 1씩 증가되는 sequence값을 return
|
* @brief 1씩 증가되는 sequence값을 return
|
||||||
**/
|
**/
|
||||||
function getNextSequence() {
|
function getNextSequence() {
|
||||||
$query = sprintf("insert into `%ssequence` (seq) values ('')", $this->prefix);
|
$query = sprintf("insert into %ssequence (seq) values ('')", $this->prefix);
|
||||||
$this->_query($query);
|
$this->_query($query);
|
||||||
$sequence = sqlite_last_insert_rowid($this->fd);
|
$sequence = sqlite_last_insert_rowid($this->fd);
|
||||||
$query = sprintf("delete from `%ssequence`", $this->prefix);
|
$query = sprintf("delete from %ssequence where seq < %d", $this->prefix, $sequence);
|
||||||
$this->_query($query);
|
$this->_query($query);
|
||||||
|
|
||||||
return $sequence;
|
return $sequence;
|
||||||
|
|
@ -361,7 +361,7 @@
|
||||||
if($output->column_type[$name]!='number') $value = "'".$this->addQuotes($value)."'";
|
if($output->column_type[$name]!='number') $value = "'".$this->addQuotes($value)."'";
|
||||||
elseif(!$value || is_numeric($value)) $value = (int)$value;
|
elseif(!$value || is_numeric($value)) $value = (int)$value;
|
||||||
|
|
||||||
$column_list[] = sprintf("`%s` = %s", $name, $value);
|
$column_list[] = sprintf("%s = %s", $name, $value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -196,7 +196,7 @@
|
||||||
$this->_prepare($query);
|
$this->_prepare($query);
|
||||||
$result = $this->_execute();
|
$result = $this->_execute();
|
||||||
$sequence = $this->handler->lastInsertId();
|
$sequence = $this->handler->lastInsertId();
|
||||||
$query = sprintf("delete from `%ssequence`", $this->prefix);
|
$query = sprintf("delete from %ssequence where seq < %d", $this->prefix, $sequence);
|
||||||
$this->_prepare($query);
|
$this->_prepare($query);
|
||||||
$result = $this->_execute();
|
$result = $this->_execute();
|
||||||
|
|
||||||
|
|
@ -398,7 +398,7 @@
|
||||||
if($output->column_type[$name]!='number') $value = "'".$this->addQuotes($value)."'";
|
if($output->column_type[$name]!='number') $value = "'".$this->addQuotes($value)."'";
|
||||||
elseif(!$value || is_numeric($value)) $value = (int)$value;
|
elseif(!$value || is_numeric($value)) $value = (int)$value;
|
||||||
|
|
||||||
$column_list[] = sprintf("`%s` = %s", $name, $value);
|
$column_list[] = sprintf("%s = %s", $name, $value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
* 2 : 1 + DB 쿼리
|
* 2 : 1 + DB 쿼리
|
||||||
* 3 : 모든 로그
|
* 3 : 모든 로그
|
||||||
**/
|
**/
|
||||||
define('__DEBUG__', 1);
|
define('__DEBUG__', 3);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 간단하게 사용하기 위한 함수 정의한 파일 require
|
* @brief 간단하게 사용하기 위한 함수 정의한 파일 require
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
$lang->license =
|
$lang->license =
|
||||||
"제로보드XE는 GPL라이센스를 따릅니다";
|
"제로보드XE는 GPL라이센스를 따릅니다";
|
||||||
|
|
||||||
$lang->install_condition_title = "설치 조건";
|
$lang->install_condition_title = "필수 설치조건을 확인하세요.";
|
||||||
|
|
||||||
$lang->install_checklist_title = array(
|
$lang->install_checklist_title = array(
|
||||||
'permission' => '퍼미션',
|
'permission' => '퍼미션',
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
$lang->install_permission_denied = '설치대상 디렉토리의 퍼미션이 707이 아닙니다';
|
$lang->install_permission_denied = '설치대상 디렉토리의 퍼미션이 707이 아닙니다';
|
||||||
|
|
||||||
$lang->cmd_agree_license = '라이센스에 동의합니다';
|
$lang->cmd_agree_license = '라이센스에 동의합니다';
|
||||||
$lang->cmd_install_fix_checklist = '필수 조건을 설정후 다음 버튼을 눌러 주세요.';
|
$lang->cmd_install_fix_checklist = '필수 설치조건을 설정하였습니다.';
|
||||||
$lang->cmd_install_next = '설치를 진행합니다';
|
$lang->cmd_install_next = '설치를 진행합니다';
|
||||||
|
|
||||||
$lang->db_desc = array(
|
$lang->db_desc = array(
|
||||||
|
|
@ -48,8 +48,10 @@
|
||||||
'cubrid' => 'CUBRID DB를 이용합니다.<br />(안정화 테스트 및 튜닝이 되지 않았습니다)',
|
'cubrid' => 'CUBRID DB를 이용합니다.<br />(안정화 테스트 및 튜닝이 되지 않았습니다)',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$lang->form_title = 'DB & 관리자 정보 입력';
|
||||||
$lang->db_title = 'DB정보 입력';
|
$lang->db_title = 'DB정보 입력';
|
||||||
$lang->db_type = 'DB 종류';
|
$lang->db_type = 'DB 종류';
|
||||||
|
$lang->select_db_type = '사용하시려는 DB를 선택해주세요.';
|
||||||
$lang->db_hostname = 'DB 호스트네임';
|
$lang->db_hostname = 'DB 호스트네임';
|
||||||
$lang->db_port = 'DB Port';
|
$lang->db_port = 'DB Port';
|
||||||
$lang->db_userid = 'DB 아이디';
|
$lang->db_userid = 'DB 아이디';
|
||||||
|
|
|
||||||
|
|
@ -1,33 +1,37 @@
|
||||||
<!--#include("header.html")-->
|
<!--#include("header.html")-->
|
||||||
|
<div id="box">
|
||||||
|
<h1><img src="./images/h1.png" alt="Zeroboard XE Install" width="750" height="36" class="iePngFix" /></h1>
|
||||||
|
|
||||||
<table border="1" width="100%">
|
<div id="content">
|
||||||
<tr>
|
<h2>{$lang->install_condition_title}</h2>
|
||||||
<td colspan="2">{$lang->install_condition_title}</td>
|
|
||||||
</tr>
|
<table cellspacing="0" class="tableType6">
|
||||||
|
<col width="180" /><col />
|
||||||
|
|
||||||
<!--@foreach($checklist as $key => $val)-->
|
<!--@foreach($checklist as $key => $val)-->
|
||||||
<tr>
|
<tr>
|
||||||
<td rowspan="2">{$lang->install_checklist_title[$key]}</td>
|
<th scope="row">{$lang->install_checklist_title[$key]}</th>
|
||||||
<td>
|
<td>
|
||||||
<!--@if($val)-->
|
<!--@if($val)-->
|
||||||
{$lang->enable}
|
{$lang->enable}
|
||||||
<!--@else-->
|
<!--@else-->
|
||||||
<span style="font-weight:bold;color:red">{$lang->disable}</span>
|
<span class="none">{$lang->disable}</span>
|
||||||
|
<br />{$lang->install_checklist_desc[$key]}
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td>{$lang->install_checklist_desc[$key]}</td>
|
|
||||||
</tr>
|
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<div class="buttonCenter">
|
||||||
<!--@if($install_enable)-->
|
<!--@if($install_enable)-->
|
||||||
[<a href="{getUrl('','act','dispInstallSelectDB')}">{$lang->cmd_install_next}</a>]
|
<span class="fl"><a href="{getUrl('','act','dispInstallSelectDB')}" class="buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" />{$lang->cmd_install_next}<img src="./images/blank.gif" alt="" class="rightCap" /></a></span>
|
||||||
|
|
||||||
<!--@else-->
|
<!--@else-->
|
||||||
{$lang->cmd_install_fix_checklist}
|
<span class="fl"><a href="{getUrl('','act',$act)}" class="buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" />{$lang->cmd_install_fix_checklist}<img src="./images/blank.gif" alt="" class="rightCap" /></a></span>
|
||||||
[<a href="{getUrl('','act',$act)}">{$lang->cmd_next}</a>]
|
|
||||||
|
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img src="./images/installBoxBottom.png" alt="" width="750" height="10" class="iePngFix" />
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
87
modules/install/tpl/css/install.css
Normal file
|
|
@ -0,0 +1,87 @@
|
||||||
|
@charset "utf-8";
|
||||||
|
/*
|
||||||
|
NHN UIT Lab. WebStandardization Team (http://html.nhndesign.com/)
|
||||||
|
Jeong, Chan Myeong 070601~070630
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
Used Hack
|
||||||
|
|
||||||
|
IE6 & Below
|
||||||
|
{ property:value; _property:value;}
|
||||||
|
|
||||||
|
IE7 Only
|
||||||
|
*:first-child+html #selector
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* default.css - Type Selector Definition */
|
||||||
|
* { margin:0; padding:0; font-family:"돋움", Dotum, "굴림", Gulim, AppleGothic, Sans-serif;}
|
||||||
|
html, body {}
|
||||||
|
html { width:100%; position:relative;}
|
||||||
|
body { position:relative; font-size:.75em; width:100%; background:#4d4d4d url(../images/installBg.gif) repeat-x;}
|
||||||
|
img { border:none;}
|
||||||
|
label { cursor:pointer;}
|
||||||
|
select { height:1.6em;}
|
||||||
|
option { padding-right:.5em;}
|
||||||
|
li { list-style:none;}
|
||||||
|
a { text-decoration:none;}
|
||||||
|
a:hover { text-decoration:underline;}
|
||||||
|
address { font-style:normal;}
|
||||||
|
|
||||||
|
/* Input Style Definition */
|
||||||
|
.inputTypeText { border:1px solid #c9c9c9; padding:3px; height:1em; line-height:1em; background:#ffffff;}
|
||||||
|
.inputTypeText:hover,
|
||||||
|
.inputTypeText:focus { background:#f4f4f4;}
|
||||||
|
.inputTypeTextArea { border:1px solid #c9c9c9; padding:3px; background:#ffffff;}
|
||||||
|
|
||||||
|
/* Internet Explorer 6 PNG Bug Fix */
|
||||||
|
.iePngFix { behavior:url(../js/iePngFix.htc);}
|
||||||
|
|
||||||
|
/* Special Class Selector */
|
||||||
|
.fr { float:right;}
|
||||||
|
.fl { float:left;}
|
||||||
|
|
||||||
|
/* Content */
|
||||||
|
#box { position:relative; left:50%; margin-left:-380px; margin-top:120px; width:750px;}
|
||||||
|
#content { position:relative; padding:25px 20px 20px 20px; overflow:hidden; background:#ffffff;}
|
||||||
|
#content .iePngFix { position:absolute; bottom:-30px; left:-25px;}
|
||||||
|
#content h2 { font-size:1em; padding-left:.5em; margin-bottom:1em;}
|
||||||
|
#agreement { border:1px solid #c9c9c9; height:12em; padding:1.2em; overflow:auto; color:#696969; line-height:1.25em;}
|
||||||
|
|
||||||
|
.buttonCenter { overflow:hidden; height:24px; padding-top:15px;}
|
||||||
|
.buttonCenter li { float:left; margin-right:.3em;}
|
||||||
|
.buttonCenter .fl { position:relative; left:48%;}
|
||||||
|
.buttonTypeA { display:block; cursor:pointer; background:url(../images/buttonTypeACenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; white-space:nowrap;}
|
||||||
|
.buttonTypeA:hover { text-decoration:none;}
|
||||||
|
.buttonTypeA img { vertical-align:middle;}
|
||||||
|
.buttonTypeA input { border:none; cursor:pointer; background:url(../images/white/buttonTypeACenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; white-space:nowrap;border:0px; _position:relative; _top:3px;}
|
||||||
|
.buttonTypeA .leftCap { width:2px; height:24px; background:url(../images/buttonTypeALeft.gif) no-repeat; margin:0 .3em 0 0; position:relative; left:-1px;}
|
||||||
|
.buttonTypeA .rightCap { width:2px; height:24px; background:url(../images/buttonTypeARight.gif) no-repeat; margin:0 -1px 0 .4em;}
|
||||||
|
.buttonTypeA .icon { margin:0 .4em 0 .2em;}
|
||||||
|
|
||||||
|
#content .tableType6 { border:2px solid #c1c0bd; border-left:none; border-right:none; width:100%;}
|
||||||
|
#content .tableType6 th { border-top:1px solid #fbfbfb; border-bottom:1px solid #e4e4e4; background:#f5f5f5; padding:10px 10px 10px 2em; font-weight:normal; text-align:left; color:#606060;}
|
||||||
|
#content .tableType6 td { border-bottom:1px solid #ededed; padding:10px 10px 7px 10px; color:#7b7972; line-height:1.25em;}
|
||||||
|
#content .tableType6 input,
|
||||||
|
#content .tableType6 textarea,
|
||||||
|
#content .tableType6 select { vertical-align:middle;}
|
||||||
|
#content .tableType6 td .w100 { width:100%; display:block;}
|
||||||
|
#content .tableType6 td .checkbox { margin:-3px;}
|
||||||
|
#content .tableType6 td p { line-height:1.4em;}
|
||||||
|
#content .tableType6 .borderBottomNone { border-bottom:none;}
|
||||||
|
#content .tableType6 .none { color:#c95b53;}
|
||||||
|
|
||||||
|
#content .tableType7 { border:2px solid #c1c0bd; border-left:none; border-right:none; width:100%;}
|
||||||
|
#content .tableType7 th { border-bottom:1px solid #e4e4e4; background:#e8e8e8; padding:10px 10px 10px 2em; font-weight:normal; text-align:left; color:#606060;}
|
||||||
|
#content .tableType7 th.second { background:#f5f5f5;}
|
||||||
|
#content .tableType7 td { border-bottom:1px solid #ededed; padding:10px 10px 7px 10px; color:#7b7972; line-height:1.25em; font-size:.9em;}
|
||||||
|
#content .tableType7 .hr { border-bottom:1px solid #b8b8b8;}
|
||||||
|
#content .tableType7 input,
|
||||||
|
#content .tableType7 textarea,
|
||||||
|
#content .tableType7 select { vertical-align:middle;}
|
||||||
|
#content .tableType7 td .w100 { width:100%; display:block;}
|
||||||
|
#content .tableType7 td .checkbox { margin:-3px;}
|
||||||
|
#content .tableType7 td p { line-height:1.4em; padding-top:.5em;}
|
||||||
|
#content .tableType7 .borderBottomNone { border-bottom:none;}
|
||||||
|
#content .tableType7 .none { color:#c95b53;}
|
||||||
|
|
@ -1,96 +1,82 @@
|
||||||
<!--%import("filter/cubrid.xml")-->
|
<!--%import("filter/cubrid.xml")-->
|
||||||
<!--%import("js/install_admin.js")-->
|
<!--%import("js/install_admin.js")-->
|
||||||
|
<!--#include("header.html")-->
|
||||||
|
|
||||||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||||
|
|
||||||
<table border="1">
|
<div id="box">
|
||||||
|
<h1><img src="./images/h1.png" alt="Zeroboard XE Install" width="750" height="36" class="iePngFix" /></h1>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
<h2>{$lang->form_title}</h2>
|
||||||
|
|
||||||
|
<table cellspacing="0" class="tableType7">
|
||||||
|
<col width="100" />
|
||||||
|
<col width="160" />
|
||||||
|
<col />
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<th rowspan="6" class="hr" scope="row">{$db_type}</th>
|
||||||
{$lang->db_title}
|
<th class="second" scope="row"><label for="textfield11">{$lang->db_hostname}</label></th>
|
||||||
</td>
|
<td><input type="text" name="db_hostname" value="127.0.0.1" class="inputTypeText w100" id="textfield11" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_hostname}</td>
|
<th class="second" scope="row"><label for="textfield12">{$lang->db_port}</label></th>
|
||||||
<td>
|
<td><input type="text" name="db_port" value="33000" class="inputTypeText w100" id="textfield12" /></td>
|
||||||
<input type="text" name="db_hostname" value="127.0.0.1" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_port}</td>
|
<th class="second" scope="row"><label for="textfield13">{$lang->db_userid}</label></th>
|
||||||
<td>
|
<td><input type="text" name="db_userid" value="" class="inputTypeText w100" id="textfield13" /></td>
|
||||||
<input type="text" name="db_port" value="33000" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_userid}</td>
|
<th class="second" scope="row"><label for="textfield14">{$lang->db_password}</label></th>
|
||||||
<td>
|
<td><input type="password" name="db_password" value="" class="inputTypeText w100" id="textfield14" /></td>
|
||||||
<input type="text" name="db_userid" value="dev" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_password}</td>
|
<th class="second" scope="row"><label for="textfield15">{$lang->db_database}</label></th>
|
||||||
<td>
|
<td><input type="text" name="db_database" value="" class="inputTypeText w100" id="textfield15" /></td>
|
||||||
<input type="password" name="db_password" value="dev" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_database}</td>
|
<th class="second hr" scope="row"><label for="textfield16">{$lang->db_table_prefix}</label></th>
|
||||||
<td>
|
<td class="hr"><input type="text" name="db_table_prefix" value="xe" class="inputTypeText w100" id="textfield16" /></td>
|
||||||
<input type="text" name="db_database" value="dev" />
|
</tr>
|
||||||
</td>
|
|
||||||
|
<tr>
|
||||||
|
<th rowspan="6" scope="row" class="borderBottomNone"><label for="radio2">{$lang->admin_title}</label></th>
|
||||||
|
<th class="second" scope="row"><label for="textfield21">{$lang->user_id}</label></th>
|
||||||
|
<td><input type="text" id="textfield21" name="user_id" value="admin" class="inputTypeText" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_table_prefix}</td>
|
<th class="second" scope="row"><label for="textfield22">{$lang->password1}</label></th>
|
||||||
<td>
|
<td><input id="textfield22" type="password" name="password1" class="inputTypeText" /></td>
|
||||||
<input type="text" name="db_table_prefix" value="xe" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield23">{$lang->password2}</label></th>
|
||||||
|
<td><input id="textfield23" type="password" name="password2" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield24">{$lang->user_name}</label></th>
|
||||||
|
<td><input id="textfield24" type="text" name="user_name" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield25">{$lang->nick_name}</label></th>
|
||||||
|
<td><input id="textfield25" type="text" name="nick_name" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield26">{$lang->email_address}</label></th>
|
||||||
|
<td><input id="textfield26" type="text" name="email_address" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table border="1">
|
<div class="buttonCenter">
|
||||||
<tr>
|
<span class="fl buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" /><img src="./images/iconCreate.gif" alt="" class="icon" /><input type="submit" value="{$lang->cmd_registration}" /><img src="./images/blank.gif" alt="" class="rightCap" /></span>
|
||||||
<td colspan="2">
|
</div>
|
||||||
{$lang->admin_title}
|
</div>
|
||||||
</td>
|
|
||||||
</tr>
|
<img src="./images/installBoxBottom.png" alt="" width="750" height="10" class="iePngFix" />
|
||||||
<tr>
|
</div>
|
||||||
<td>{$lang->user_id}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="user_id" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->password1}</td>
|
|
||||||
<td>
|
|
||||||
<input type="password" name="password1" value="1234" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->password2}</td>
|
|
||||||
<td>
|
|
||||||
<input type="password" name="password2" value="1234" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->user_name}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="user_name" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->nick_name}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="nick_name" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->email_address}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="email_address" value="zero@nzeo.com" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<input type="submit" value="{$lang->cmd_registration}" />
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,90 +1,82 @@
|
||||||
<!--%import("filter/mysql.xml")-->
|
<!--%import("filter/mysql.xml")-->
|
||||||
<!--%import("js/install_admin.js")-->
|
<!--%import("js/install_admin.js")-->
|
||||||
|
<!--#include("header.html")-->
|
||||||
|
|
||||||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||||
|
|
||||||
<table border="1">
|
<div id="box">
|
||||||
|
<h1><img src="./images/h1.png" alt="Zeroboard XE Install" width="750" height="36" class="iePngFix" /></h1>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
<h2>{$lang->form_title}</h2>
|
||||||
|
|
||||||
|
<table cellspacing="0" class="tableType7">
|
||||||
|
<col width="100" />
|
||||||
|
<col width="160" />
|
||||||
|
<col />
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<th rowspan="6" class="hr" scope="row">{$db_type}</th>
|
||||||
{$lang->db_title}
|
<th class="second" scope="row"><label for="textfield11">{$lang->db_hostname}</label></th>
|
||||||
</td>
|
<td><input type="text" name="db_hostname" value="127.0.0.1" class="inputTypeText w100" id="textfield11" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_hostname}</td>
|
<th class="second" scope="row"><label for="textfield12">{$lang->db_port}</label></th>
|
||||||
<td>
|
<td><input type="text" name="db_port" value="33000" class="inputTypeText w100" id="textfield12" /></td>
|
||||||
<input type="text" name="db_hostname" value="127.0.0.1" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_userid}</td>
|
<th class="second" scope="row"><label for="textfield13">{$lang->db_userid}</label></th>
|
||||||
<td>
|
<td><input type="text" name="db_userid" value="" class="inputTypeText w100" id="textfield13" /></td>
|
||||||
<input type="text" name="db_userid" value="dev" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_password}</td>
|
<th class="second" scope="row"><label for="textfield14">{$lang->db_password}</label></th>
|
||||||
<td>
|
<td><input type="password" name="db_password" value="" class="inputTypeText w100" id="textfield14" /></td>
|
||||||
<input type="password" name="db_password" value="dev" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_database}</td>
|
<th class="second" scope="row"><label for="textfield15">{$lang->db_database}</label></th>
|
||||||
<td>
|
<td><input type="text" name="db_database" value="" class="inputTypeText w100" id="textfield15" /></td>
|
||||||
<input type="text" name="db_database" value="dev" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_table_prefix}</td>
|
<th class="second hr" scope="row"><label for="textfield16">{$lang->db_table_prefix}</label></th>
|
||||||
<td>
|
<td class="hr"><input type="text" name="db_table_prefix" value="xe" class="inputTypeText w100" id="textfield16" /></td>
|
||||||
<input type="text" name="db_table_prefix" value="xe" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<th rowspan="6" scope="row" class="borderBottomNone"><label for="radio2">{$lang->admin_title}</label></th>
|
||||||
|
<th class="second" scope="row"><label for="textfield21">{$lang->user_id}</label></th>
|
||||||
|
<td><input type="text" id="textfield21" name="user_id" value="admin" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield22">{$lang->password1}</label></th>
|
||||||
|
<td><input id="textfield22" type="password" name="password1" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield23">{$lang->password2}</label></th>
|
||||||
|
<td><input id="textfield23" type="password" name="password2" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield24">{$lang->user_name}</label></th>
|
||||||
|
<td><input id="textfield24" type="text" name="user_name" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield25">{$lang->nick_name}</label></th>
|
||||||
|
<td><input id="textfield25" type="text" name="nick_name" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield26">{$lang->email_address}</label></th>
|
||||||
|
<td><input id="textfield26" type="text" name="email_address" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table border="1">
|
<div class="buttonCenter">
|
||||||
<tr>
|
<span class="fl buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" /><img src="./images/iconCreate.gif" alt="" class="icon" /><input type="submit" value="{$lang->cmd_registration}" /><img src="./images/blank.gif" alt="" class="rightCap" /></span>
|
||||||
<td colspan="2">
|
</div>
|
||||||
{$lang->admin_title}
|
</div>
|
||||||
</td>
|
|
||||||
</tr>
|
<img src="./images/installBoxBottom.png" alt="" width="750" height="10" class="iePngFix" />
|
||||||
<tr>
|
</div>
|
||||||
<td>{$lang->user_id}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="user_id" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->password1}</td>
|
|
||||||
<td>
|
|
||||||
<input type="password" name="password1" value="1234" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->password2}</td>
|
|
||||||
<td>
|
|
||||||
<input type="password" name="password2" value="1234" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->user_name}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="user_name" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->nick_name}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="nick_name" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->email_address}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="email_address" value="zero@nzeo.com" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<input type="submit" value="{$lang->cmd_registration}" />
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,90 +1,83 @@
|
||||||
<!--%import("filter/mysql.xml")-->
|
<!--%import("filter/mysql.xml")-->
|
||||||
<!--%import("js/install_admin.js")-->
|
<!--%import("js/install_admin.js")-->
|
||||||
|
<!--#include("header.html")-->
|
||||||
|
|
||||||
|
|
||||||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||||
|
|
||||||
<table border="1">
|
<div id="box">
|
||||||
|
<h1><img src="./images/h1.png" alt="Zeroboard XE Install" width="750" height="36" class="iePngFix" /></h1>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
<h2>{$lang->form_title}</h2>
|
||||||
|
|
||||||
|
<table cellspacing="0" class="tableType7">
|
||||||
|
<col width="100" />
|
||||||
|
<col width="160" />
|
||||||
|
<col />
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<th rowspan="6" class="hr" scope="row">{$db_type}</th>
|
||||||
{$lang->db_title}
|
<th class="second" scope="row"><label for="textfield11">{$lang->db_hostname}</label></th>
|
||||||
</td>
|
<td><input type="text" name="db_hostname" value="127.0.0.1" class="inputTypeText w100" id="textfield11" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_hostname}</td>
|
<th class="second" scope="row"><label for="textfield12">{$lang->db_port}</label></th>
|
||||||
<td>
|
<td><input type="text" name="db_port" value="33000" class="inputTypeText w100" id="textfield12" /></td>
|
||||||
<input type="text" name="db_hostname" value="127.0.0.1" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_userid}</td>
|
<th class="second" scope="row"><label for="textfield13">{$lang->db_userid}</label></th>
|
||||||
<td>
|
<td><input type="text" name="db_userid" value="" class="inputTypeText w100" id="textfield13" /></td>
|
||||||
<input type="text" name="db_userid" value="dev" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_password}</td>
|
<th class="second" scope="row"><label for="textfield14">{$lang->db_password}</label></th>
|
||||||
<td>
|
<td><input type="password" name="db_password" value="" class="inputTypeText w100" id="textfield14" /></td>
|
||||||
<input type="password" name="db_password" value="dev" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_database}</td>
|
<th class="second" scope="row"><label for="textfield15">{$lang->db_database}</label></th>
|
||||||
<td>
|
<td><input type="text" name="db_database" value="" class="inputTypeText w100" id="textfield15" /></td>
|
||||||
<input type="text" name="db_database" value="dev" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_table_prefix}</td>
|
<th class="second hr" scope="row"><label for="textfield16">{$lang->db_table_prefix}</label></th>
|
||||||
<td>
|
<td class="hr"><input type="text" name="db_table_prefix" value="xe" class="inputTypeText w100" id="textfield16" /></td>
|
||||||
<input type="text" name="db_table_prefix" value="xe" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<th rowspan="6" scope="row" class="borderBottomNone"><label for="radio2">{$lang->admin_title}</label></th>
|
||||||
|
<th class="second" scope="row"><label for="textfield21">{$lang->user_id}</label></th>
|
||||||
|
<td><input type="text" id="textfield21" name="user_id" value="admin" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield22">{$lang->password1}</label></th>
|
||||||
|
<td><input id="textfield22" type="password" name="password1" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield23">{$lang->password2}</label></th>
|
||||||
|
<td><input id="textfield23" type="password" name="password2" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield24">{$lang->user_name}</label></th>
|
||||||
|
<td><input id="textfield24" type="text" name="user_name" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield25">{$lang->nick_name}</label></th>
|
||||||
|
<td><input id="textfield25" type="text" name="nick_name" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield26">{$lang->email_address}</label></th>
|
||||||
|
<td><input id="textfield26" type="text" name="email_address" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table border="1">
|
<div class="buttonCenter">
|
||||||
<tr>
|
<span class="fl buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" /><img src="./images/iconCreate.gif" alt="" class="icon" /><input type="submit" value="{$lang->cmd_registration}" /><img src="./images/blank.gif" alt="" class="rightCap" /></span>
|
||||||
<td colspan="2">
|
</div>
|
||||||
{$lang->admin_title}
|
</div>
|
||||||
</td>
|
|
||||||
</tr>
|
<img src="./images/installBoxBottom.png" alt="" width="750" height="10" class="iePngFix" />
|
||||||
<tr>
|
</div>
|
||||||
<td>{$lang->user_id}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="user_id" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->password1}</td>
|
|
||||||
<td>
|
|
||||||
<input type="password" name="password1" value="1234" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->password2}</td>
|
|
||||||
<td>
|
|
||||||
<input type="password" name="password2" value="1234" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->user_name}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="user_name" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->nick_name}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="nick_name" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->email_address}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="email_address" value="zero@nzeo.com" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<input type="submit" value="{$lang->cmd_registration}" />
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,75 +1,70 @@
|
||||||
<!--%import("filter/sqlite2.xml")-->
|
<!--%import("filter/sqlite2.xml")-->
|
||||||
<!--%import("js/install_admin.js")-->
|
<!--%import("js/install_admin.js")-->
|
||||||
|
<!--#include("header.html")-->
|
||||||
|
|
||||||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||||
|
|
||||||
<table border="1">
|
<div id="box">
|
||||||
|
<h1><img src="./images/h1.png" alt="Zeroboard XE Install" width="750" height="36" class="iePngFix" /></h1>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
<h2>{$lang->form_title}</h2>
|
||||||
|
|
||||||
|
<table cellspacing="0" class="tableType7">
|
||||||
|
<col width="100" />
|
||||||
|
<col width="160" />
|
||||||
|
<col />
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<th rowspan="2" class="hr" scope="row">{$db_type}</th>
|
||||||
{$lang->db_title}
|
<th class="second" scope="row"><label for="textfield11">{$lang->db_database_file}</label></th>
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td rowspan="2">{$lang->db_database_file}</td>
|
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="db_database_file" value="./files/zeroboard_xe.sqlite" />
|
<input type="text" name="db_database_file" value="../zeroboard_xe.sqlite" class="inputTypeText w100" id="textfield11" />
|
||||||
|
<p>{$lang->about_database_file}</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->about_database_file}</td>
|
<th class="second hr" scope="row"><label for="textfield12">{$lang->db_table_prefix}</label></th>
|
||||||
|
<td class="hr"><input type="text" name="db_table_prefix" value="xe" class="inputTypeText w100" id="textfield16" /></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<th rowspan="6" scope="row" class="borderBottomNone"><label for="radio2">{$lang->admin_title}</label></th>
|
||||||
|
<th class="second" scope="row"><label for="textfield21">{$lang->user_id}</label></th>
|
||||||
|
<td><input type="text" id="textfield21" name="user_id" value="admin" class="inputTypeText" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_table_prefix}</td>
|
<th class="second" scope="row"><label for="textfield22">{$lang->password1}</label></th>
|
||||||
<td>
|
<td><input id="textfield22" type="password" name="password1" class="inputTypeText" /></td>
|
||||||
<input type="text" name="db_table_prefix" value="xe" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield23">{$lang->password2}</label></th>
|
||||||
|
<td><input id="textfield23" type="password" name="password2" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield24">{$lang->user_name}</label></th>
|
||||||
|
<td><input id="textfield24" type="text" name="user_name" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield25">{$lang->nick_name}</label></th>
|
||||||
|
<td><input id="textfield25" type="text" name="nick_name" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield26">{$lang->email_address}</label></th>
|
||||||
|
<td><input id="textfield26" type="text" name="email_address" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table border="1">
|
<div class="buttonCenter">
|
||||||
<tr>
|
<span class="fl buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" /><img src="./images/iconCreate.gif" alt="" class="icon" /><input type="submit" value="{$lang->cmd_registration}" /><img src="./images/blank.gif" alt="" class="rightCap" /></span>
|
||||||
<td colspan="2">
|
</div>
|
||||||
{$lang->admin_title}
|
</div>
|
||||||
</td>
|
|
||||||
</tr>
|
<img src="./images/installBoxBottom.png" alt="" width="750" height="10" class="iePngFix" />
|
||||||
<tr>
|
</div>
|
||||||
<td>{$lang->user_id}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="user_id" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->password1}</td>
|
|
||||||
<td>
|
|
||||||
<input type="password" name="password1" value="1234" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->password2}</td>
|
|
||||||
<td>
|
|
||||||
<input type="password" name="password2" value="1234" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->user_name}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="user_name" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->nick_name}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="nick_name" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->email_address}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="email_address" value="zero@nzeo.com" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<input type="submit" value="{$lang->cmd_registration}" />
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,75 +1,71 @@
|
||||||
<!--%import("filter/sqlite2.xml")-->
|
<!--%import("filter/sqlite2.xml")-->
|
||||||
<!--%import("js/install_admin.js")-->
|
<!--%import("js/install_admin.js")-->
|
||||||
|
<!--#include("header.html")-->
|
||||||
|
|
||||||
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
<form action="./" method="post" onsubmit="return procFilter(this, install)">
|
||||||
<input type="hidden" name="db_type" value="{$db_type}" />
|
<input type="hidden" name="db_type" value="{$db_type}" />
|
||||||
|
|
||||||
<table border="1">
|
<div id="box">
|
||||||
|
<h1><img src="./images/h1.png" alt="Zeroboard XE Install" width="750" height="36" class="iePngFix" /></h1>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
<h2>{$lang->form_title}</h2>
|
||||||
|
|
||||||
|
<table cellspacing="0" class="tableType7">
|
||||||
|
<col width="100" />
|
||||||
|
<col width="160" />
|
||||||
|
<col />
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<th rowspan="2" class="hr" scope="row">{$db_type}</th>
|
||||||
{$lang->db_title}
|
<th class="second" scope="row"><label for="textfield11">{$lang->db_database_file}</label></th>
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td rowspan="2">{$lang->db_database_file}</td>
|
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="db_database_file" value="./files/zeroboard_xe.sqlite" />
|
<input type="text" name="db_database_file" value="../zeroboard_xe.sqlite" class="inputTypeText w100" id="textfield11" />
|
||||||
|
<p>{$lang->about_database_file}</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->about_database_file}</td>
|
<th class="second hr" scope="row"><label for="textfield12">{$lang->db_table_prefix}</label></th>
|
||||||
|
<td class="hr"><input type="text" name="db_table_prefix" value="xe" class="inputTypeText w100" id="textfield16" /></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<th rowspan="6" scope="row" class="borderBottomNone"><label for="radio2">{$lang->admin_title}</label></th>
|
||||||
|
<th class="second" scope="row"><label for="textfield21">{$lang->user_id}</label></th>
|
||||||
|
<td><input type="text" id="textfield21" name="user_id" value="admin" class="inputTypeText" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$lang->db_table_prefix}</td>
|
<th class="second" scope="row"><label for="textfield22">{$lang->password1}</label></th>
|
||||||
<td>
|
<td><input id="textfield22" type="password" name="password1" class="inputTypeText" /></td>
|
||||||
<input type="text" name="db_table_prefix" value="xe" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield23">{$lang->password2}</label></th>
|
||||||
|
<td><input id="textfield23" type="password" name="password2" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield24">{$lang->user_name}</label></th>
|
||||||
|
<td><input id="textfield24" type="text" name="user_name" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield25">{$lang->nick_name}</label></th>
|
||||||
|
<td><input id="textfield25" type="text" name="nick_name" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th class="second" scope="row"><label for="textfield26">{$lang->email_address}</label></th>
|
||||||
|
<td><input id="textfield26" type="text" name="email_address" class="inputTypeText" /></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table border="1">
|
<div class="buttonCenter">
|
||||||
<tr>
|
<span class="fl buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" /><img src="./images/iconCreate.gif" alt="" class="icon" /><input type="submit" value="{$lang->cmd_registration}" /><img src="./images/blank.gif" alt="" class="rightCap" /></span>
|
||||||
<td colspan="2">
|
</div>
|
||||||
{$lang->admin_title}
|
</div>
|
||||||
</td>
|
|
||||||
</tr>
|
<img src="./images/installBoxBottom.png" alt="" width="750" height="10" class="iePngFix" />
|
||||||
<tr>
|
</div>
|
||||||
<td>{$lang->user_id}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="user_id" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->password1}</td>
|
|
||||||
<td>
|
|
||||||
<input type="password" name="password1" value="1234" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->password2}</td>
|
|
||||||
<td>
|
|
||||||
<input type="password" name="password2" value="1234" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->user_name}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="user_name" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->nick_name}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="nick_name" value="zero" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{$lang->email_address}</td>
|
|
||||||
<td>
|
|
||||||
<input type="text" name="email_address" value="zero@nzeo.com" />
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<input type="submit" value="{$lang->cmd_registration}" />
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1 @@
|
||||||
<table border="1" width="100%">
|
<!--%import("./css/install.css")-->
|
||||||
<tr>
|
|
||||||
<td colspan="2">{$lang->introduce_title}</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
|
||||||
BIN
modules/install/tpl/images/blank.gif
Normal file
|
After Width: | Height: | Size: 43 B |
BIN
modules/install/tpl/images/buttonTypeACenter.gif
Normal file
|
After Width: | Height: | Size: 188 B |
BIN
modules/install/tpl/images/buttonTypeALeft.gif
Normal file
|
After Width: | Height: | Size: 169 B |
BIN
modules/install/tpl/images/buttonTypeARight.gif
Normal file
|
After Width: | Height: | Size: 170 B |
BIN
modules/install/tpl/images/h1.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
modules/install/tpl/images/iconCreate.gif
Normal file
|
After Width: | Height: | Size: 49 B |
BIN
modules/install/tpl/images/installBg.gif
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
modules/install/tpl/images/installBoxBottom.png
Normal file
|
After Width: | Height: | Size: 398 B |
|
|
@ -1,12 +1,17 @@
|
||||||
<!--#include("header.html")-->
|
<!--#include("header.html")-->
|
||||||
|
|
||||||
<table border="1" width="100%">
|
<div id="box">
|
||||||
<tr>
|
<h1><img src="./images/h1.png" alt="Zeroboard XE Install" width="750" height="36" class="iePngFix" /></h1>
|
||||||
<td>
|
<div id="content">
|
||||||
{nl2br($lang->license)}
|
<h2>{$lang->introduce_title}</h2>
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
<div id="agreement">{nl2br($lang->license)}</div>
|
||||||
|
|
||||||
[<a href="{getUrl('','act','dispInstallCheckEnv')}">{$lang->cmd_agree_license}</a>]
|
<ul class="buttonCenter" style="margin-left:40%">
|
||||||
|
<li><a href="{getUrl('','act','dispInstallCheckEnv')}" class="buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" /><img src="./images/iconCreate.gif" width="8" height="4" class="icon" alt="" />{$lang->cmd_agree_license}<img src="./images/blank.gif" alt="" class="rightCap" /></a> </li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<img src="./images/installBoxBottom.png" alt="" width="750" height="10" class="iePngFix" />
|
||||||
|
</div>
|
||||||
|
|
|
||||||
64
modules/install/tpl/js/iePngFix.htc
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
<public:component>
|
||||||
|
<public:attach event="onpropertychange" onevent="doFix()" />
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
// IE5.5+ PNG Alpha Fix v1.0RC4
|
||||||
|
// (c) 2004-2005 Angus Turnbull http://www.twinhelix.com
|
||||||
|
// This is licensed under the CC-GNU LGPL, version 2.1 or later.
|
||||||
|
// For details, see: http://creativecommons.org/licenses/LGPL/2.1/
|
||||||
|
// This must be a path to a blank image. That's all the configuration you need.
|
||||||
|
|
||||||
|
if (typeof blankImg == 'undefined') var blankImg = '../img/blank.gif'; // 1x1px 짜리 투명 이미지(blank.gif)의 경로를 변경.
|
||||||
|
var f = 'DXImageTransform.Microsoft.AlphaImageLoader';
|
||||||
|
|
||||||
|
function filt(s, m)
|
||||||
|
{
|
||||||
|
if (filters[f])
|
||||||
|
{
|
||||||
|
filters[f].enabled = s ? true : false;
|
||||||
|
if (s) with (filters[f]) { src = s; sizingMethod = m }
|
||||||
|
}
|
||||||
|
else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")';
|
||||||
|
}
|
||||||
|
|
||||||
|
function doFix()
|
||||||
|
{
|
||||||
|
// Assume IE7 is OK.
|
||||||
|
if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent) ||
|
||||||
|
(event && !/(background|src)/.test(event.propertyName))) return;
|
||||||
|
|
||||||
|
var bgImg = currentStyle.backgroundImage || style.backgroundImage;
|
||||||
|
|
||||||
|
if (tagName == 'IMG')
|
||||||
|
{
|
||||||
|
if ((/\.png$/i).test(src))
|
||||||
|
{
|
||||||
|
if (currentStyle.width == 'auto' && currentStyle.height == 'auto')
|
||||||
|
style.width = offsetWidth + 'px';
|
||||||
|
filt(src, 'scale');
|
||||||
|
// 'scale' 을 'image' 으로 변경하면 padding 적용시 나타나는 이미지 크기의 변화(잘못된 렌더링)를 방지할 수 있다. 하지만 border 표현에 문제가 생긴다.
|
||||||
|
src = blankImg;
|
||||||
|
}
|
||||||
|
else if (src.indexOf(blankImg) < 0) filt();
|
||||||
|
}
|
||||||
|
else if (bgImg && bgImg != 'none')
|
||||||
|
{
|
||||||
|
if (bgImg.match(/^url[("']+(.*\.png)[)"']+$/i))
|
||||||
|
{
|
||||||
|
var s = RegExp.$1;
|
||||||
|
if (currentStyle.width == 'auto' && currentStyle.height == 'auto')
|
||||||
|
style.width = offsetWidth + 'px';
|
||||||
|
style.backgroundImage = 'none';
|
||||||
|
filt(s, 'crop');
|
||||||
|
// IE link fix.
|
||||||
|
for (var n = 0; n < childNodes.length; n++)
|
||||||
|
if (childNodes[n].style) childNodes[n].style.position = 'relative';
|
||||||
|
}
|
||||||
|
else filt();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
doFix();
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</public:component>
|
||||||
|
|
@ -1,33 +1,35 @@
|
||||||
<table border="1">
|
<!--#include("header.html")-->
|
||||||
<tr>
|
|
||||||
<td colspan="2">{$lang->introduce_title}</td>
|
<div id="box">
|
||||||
</tr>
|
<h1><img src="./images/h1.png" alt="Zeroboard XE Install" width="750" height="36" class="iePngFix" /></h1>
|
||||||
</table>
|
|
||||||
|
|
||||||
<!--@if($install_enable)-->
|
|
||||||
<form method="get" action="./">
|
<form method="get" action="./">
|
||||||
<input type="hidden" name="module" value="{$module}" />
|
<input type="hidden" name="module" value="{$module}" />
|
||||||
<input type="hidden" name="act" value="dispInstallForm" />
|
<input type="hidden" name="act" value="dispInstallForm" />
|
||||||
|
|
||||||
<table border="1">
|
<div id="content">
|
||||||
<tr>
|
<h2>{$lang->select_db_type}</h2>
|
||||||
<th colspan="2">{$lang->db_type}</th>
|
|
||||||
</tr>
|
<table cellspacing="0" class="tableType6">
|
||||||
|
<col width="180" /><col />
|
||||||
|
|
||||||
<!--@foreach(DB::getSupportedList() as $key => $val)-->
|
<!--@foreach(DB::getSupportedList() as $key => $val)-->
|
||||||
<tr>
|
<tr>
|
||||||
<td><input type="radio" name="db_type" value="{$val}" id="db_type_{$val}" <!--@if($val=="mysql")-->checked="true"<!--@end-->/><label for="db_type_{$val}">{$val}</label></td>
|
<th scope="row">
|
||||||
|
<input type="radio" name="db_type" value="{$val}" id="db_type_{$val}" <!--@if($val=="mysql")-->checked="true"<!--@end-->/>
|
||||||
|
<label for="db_type_{$val}">{$val}</label>
|
||||||
|
</th>
|
||||||
<td>{$lang->db_desc[$val]}</td>
|
<td>{$lang->db_desc[$val]}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
<tr>
|
|
||||||
<td colspan="2"><input type="submit" value="{$lang->cmd_install_next}" /></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<div class="buttonCenter">
|
||||||
|
<span class="fl buttonTypeA"><img src="./images/blank.gif" alt="" class="leftCap" /><input type="submit" value="{$lang->cmd_install_next}" /><img src="./images/blank.gif" alt="" class="rightCap" /></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img src="./images/installBoxBottom.png" alt="" width="750" height="10" class="iePngFix" />
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
<!--@else-->
|
|
||||||
{$lang->cmd_install_fix_checklist}
|
|
||||||
[<a href="./">{$lang->cmd_next}</a>]
|
|
||||||
|
|
||||||
<!--@end-->
|
|
||||||
|
|
|
||||||