MSSQL 클래스 추가 (미완성이지만 XE Core 분리를 위해서 사용하지 못하게 한 후 추가)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6689 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-07-10 06:18:33 +00:00
parent c323962382
commit 1193d5e152
4 changed files with 795 additions and 0 deletions

View file

@ -0,0 +1,36 @@
<filter name="install" module="install" act="procInstall">
<form>
<node target="db_type" required="true" />
<node target="db_hostname" required="true" minlength="1" maxlength="250" />
<node target="db_port" minlength="1" maxlength="250" />
<node target="db_database" required="true" minlength="1" maxlength="250" />
<node target="db_table_prefix" required="true" minlength="2" maxlength="20" filter="alpha"/>
<node target="user_id" required="true" minlength="2" maxlength="20" filter="userid" />
<node target="password1" required="true" minlength="1" maxlength="20" />
<node target="password2" required="true" equalto="password1" minlength="1" maxlegnth="20" />
<node target="user_name" required="true" minlength="2" maxlength="20" />
<node target="nick_name" required="true" minlength="2" maxlength="20" />
<node target="email_address" required="true" minlength="1" maxlength="200" filter="email"/>
</form>
<parameter>
<param name="db_type" target="db_type" />
<param name="db_hostname" target="db_hostname" />
<param name="db_port" target="db_port" />
<param name="db_userid" target="db_userid" />
<param name="db_password" target="db_password" />
<param name="db_database" target="db_database" />
<param name="db_table_prefix" target="db_table_prefix" />
<param name="user_id" target="user_id" />
<param name="password" target="password1" />
<param name="user_name" target="user_name" />
<param name="nick_name" target="nick_name" />
<param name="email_address" target="email_address" />
<param name="use_rewrite" target="use_rewrite" />
<param name="time_zone" target="time_zone" />
</parameter>
<response callback_func="completeInstalled">
<tag name="error" />
<tag name="message" />
<tag name="redirect_url" />
</response>
</filter>

View file

@ -0,0 +1,51 @@
<!--%import("filter/mssql.xml")-->
<!--%import("js/install_admin.js")-->
<!--#include("header.html")-->
<form action="./" method="post" onsubmit="return procFilter(this, install)">
<input type="hidden" name="db_type" value="{$db_type}" />
<h2 class="xeAdmin">{$lang->form_title}</h2>
<table cellspacing="0" class="tableType7">
<col width="100" />
<col width="160" />
<col />
<tr>
<th rowspan="6" class="hr" scope="row">{$db_type}</th>
<th class="second" scope="row"><label for="textfield11">{$lang->db_hostname}</label></th>
<td><input type="text" name="db_hostname" value="localhost" class="inputTypeText w100" id="textfield11" /></td>
</tr>
<tr>
<th class="second" scope="row"><label for="textfield12">{$lang->db_port}</label></th>
<td><input type="text" name="db_port" value="" class="inputTypeText w100" id="textfield12" /></td>
</tr>
<tr>
<th class="second" scope="row"><label for="textfield13">{$lang->db_userid}</label></th>
<td><input type="text" name="db_userid" value="" class="inputTypeText w100" id="textfield13" /></td>
</tr>
<tr>
<th class="second" scope="row"><label for="textfield14">{$lang->db_password}</label></th>
<td><input type="password" name="db_password" value="" class="inputTypeText w100" id="textfield14" /></td>
</tr>
<tr>
<th class="second" scope="row"><label for="textfield15">{$lang->db_database}</label></th>
<td><input type="text" name="db_database" value="" class="inputTypeText w100" id="textfield15" /></td>
</tr>
<tr>
<th class="second hr" scope="row"><label for="textfield16">{$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>
<!--#include("form.install.html")-->
</table>
<div class="buttonCenter">
<span class="button blue"><input type="submit" value="{$lang->cmd_registration}" /></span>
</div>
</form>
<!--#include("footer.html")-->