1 | <!--{* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved. |
---|
5 | * |
---|
6 | * http://www.lockon.co.jp/ |
---|
7 | * |
---|
8 | * This program is free software; you can redistribute it and/or |
---|
9 | * modify it under the terms of the GNU General Public License |
---|
10 | * as published by the Free Software Foundation; either version 2 |
---|
11 | * of the License, or (at your option) any later version. |
---|
12 | * |
---|
13 | * This program is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | * GNU General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU General Public License |
---|
19 | * along with this program; if not, write to the Free Software |
---|
20 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
21 | *}-->
|
---|
22 | <script type="text/javascript">
|
---|
23 | function lfnChangePort(db_type) {
|
---|
24 |
|
---|
25 | type = db_type.value;
|
---|
26 |
|
---|
27 | if (type == 'pgsql') {
|
---|
28 | form1.db_port.value = '<!--{$arrDB_PORT.pgsql}-->';
|
---|
29 | }
|
---|
30 |
|
---|
31 | if (type == 'mysql') {
|
---|
32 | form1.db_port.value = '<!--{$arrDB_PORT.mysql}-->';
|
---|
33 | }
|
---|
34 | }
|
---|
35 | </script>
|
---|
36 | <table width="502" border="0" cellspacing="1" cellpadding="0" summary=" ">
|
---|
37 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
|
---|
38 | <input type="hidden" name="mode" value="<!--{$tpl_mode}-->">
|
---|
39 | <input type="hidden" name="step" value="0">
|
---|
40 | <!--{foreach key=key item=item from=$arrHidden}-->
|
---|
41 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
|
---|
42 | <!--{/foreach}-->
|
---|
43 |
|
---|
44 | <tr><td height="30"></td></tr>
|
---|
45 | <tr><td align="left" class="fs12st">■データベースの設定</td></tr>
|
---|
46 | <tr><td align="left" class="fs12">※インストールの前に新しくDBを作成しておく必要があります。</td></tr>
|
---|
47 | <tr><td align="left" class="red12"><!--{$arrErr.all}--></td></tr>
|
---|
48 | <tr>
|
---|
49 | <td bgcolor="#cccccc">
|
---|
50 | <table width="500" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
51 | <tr>
|
---|
52 | <td bgcolor="#f2f1ec" width="150" class="fs12n">DBの種類<span class="red">※</span></td>
|
---|
53 | <td bgcolor="#ffffff" width="332" class="fs12">
|
---|
54 | <!--{assign var=key value="db_type"}-->
|
---|
55 | <span class="red"><!--{$arrErr[$key]}--></span>
|
---|
56 | <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" onChange="lfnChangePort(this)">
|
---|
57 | <!--{html_options options=$arrDB_TYPE selected=$arrForm[$key].value}-->
|
---|
58 | </select>
|
---|
59 | </td>
|
---|
60 | </tr>
|
---|
61 | <tr>
|
---|
62 | <td bgcolor="#f2f1ec" width="150" class="fs12n">DBサーバ<span class="red">※</span></td>
|
---|
63 | <td bgcolor="#ffffff" width="332" class="fs12">
|
---|
64 | <!--{assign var=key value="db_server"}-->
|
---|
65 | <span class="red"><!--{$arrErr[$key]}--></span>
|
---|
66 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="40" class="box40" />
|
---|
67 | </td>
|
---|
68 | </tr>
|
---|
69 | <tr>
|
---|
70 | <td bgcolor="#f2f1ec" width="150" class="fs12n">ポート</td>
|
---|
71 | <td bgcolor="#ffffff" width="332">
|
---|
72 | <!--{assign var=key value="db_port"}-->
|
---|
73 | <span class="red"><span class="fs12n"><!--{$arrErr[$key]}--></span></span>
|
---|
74 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="6" class="box6" />
|
---|
75 | </td>
|
---|
76 | </tr>
|
---|
77 | <tr>
|
---|
78 | <td bgcolor="#f2f1ec" width="150" class="fs12n">DB名<span class="red">※</span></td>
|
---|
79 | <td bgcolor="#ffffff" width="332" class="fs12">
|
---|
80 | <!--{assign var=key value="db_name"}-->
|
---|
81 | <span class="red"><span class="fs12n"><!--{$arrErr[$key]}--></span></span>
|
---|
82 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="40" class="box40" />
|
---|
83 | </td>
|
---|
84 | </tr>
|
---|
85 | <tr>
|
---|
86 | <td bgcolor="#f2f1ec" width="150" class="fs12n">DBユーザ<span class="red">※</span></td>
|
---|
87 | <td bgcolor="#ffffff" width="332" class="fs12">
|
---|
88 | <!--{assign var=key value="db_user"}-->
|
---|
89 | <span class="red"><!--{$arrErr[$key]}--></span>
|
---|
90 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="40" class="box40" />
|
---|
91 | </td>
|
---|
92 | </tr>
|
---|
93 | <tr>
|
---|
94 | <td bgcolor="#f2f1ec" width="150" class="fs12n">DBパスワード<span class="red">※</span></td>
|
---|
95 | <td bgcolor="#ffffff" width="332" class="fs12">
|
---|
96 | <!--{assign var=key value="db_password"}-->
|
---|
97 | <span class="red"><!--{$arrErr[$key]}--></span>
|
---|
98 | <input type="password" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="40" class="box40" />
|
---|
99 | </td>
|
---|
100 | </tr>
|
---|
101 | </table>
|
---|
102 | </td>
|
---|
103 | </tr>
|
---|
104 | </table>
|
---|
105 |
|
---|
106 | <table width="500" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
107 | <tr><td height="20"></td></tr>
|
---|
108 | <tr>
|
---|
109 | <td align="center">
|
---|
110 | <a href="#" onmouseover="chgImg('../<!--{$default_dir}-->/img/install/back_on.jpg','back')" onmouseout="chgImg('../<!--{$default_dir}-->/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_step1';document.form1.submit();return false;" /><img width="105" src="../<!--{$default_dir}-->/img/install/back.jpg" height="24" alt="前へ戻る" border="0" name="back"></a>
|
---|
111 | <input type="image" onMouseover="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../<!--{$default_dir}-->/img/install/next.jpg',this)" src="../<!--{$default_dir}-->/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next">
|
---|
112 | </td>
|
---|
113 | </tr>
|
---|
114 | <tr><td height="30"></td></tr>
|
---|
115 | </from>
|
---|
116 | </table>
|
---|