- Timestamp:
- 2007/10/29 12:06:29 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/html/install/templates/step2.tpl
r16316 r16582 1 1 <!--{* 2 * This file is part of EC-CUBE 3 * 2 4 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. 3 5 * 4 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. 5 21 *}--> 6 22 <script type="text/javascript"> 7 23 function lfnChangePort(db_type) { 8 24 9 25 type = db_type.value; 10 26 11 12 13 27 if (type == 'pgsql') { 28 form1.db_port.value = '<!--{$arrDB_PORT.pgsql}-->'; 29 } 14 30 15 16 17 31 if (type == 'mysql') { 32 form1.db_port.value = '<!--{$arrDB_PORT.mysql}-->'; 33 } 18 34 } 19 35 </script> … … 31 47 <tr><td align="left" class="red12"><!--{$arrErr.all}--></td></tr> 32 48 <tr> 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 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> 87 103 </tr> 88 104 </table> 89 105 90 106 <table width="500" border="0" cellspacing="1" cellpadding="8" summary=" "> 91 92 93 94 95 96 97 98 107 <tr><td height="20"></td></tr> 108 <tr> 109 <td align="center"> 110 <a href="#" onmouseover="chgImg('../user_data/templates/default/img/install/back_on.jpg','back')" onmouseout="chgImg('../user_data/templates/default/img/install/back.jpg','back')" onclick="document.form1['mode'].value='return_step1';document.form1.submit();return false;" /><img width="105" src="../user_data/templates/default/img/install/back.jpg" height="24" alt="前へ戻る" border="0" name="back"></a> 111 <input type="image" onMouseover="chgImgImageSubmit('../user_data/templates/default/img/install/next_on.jpg',this)" onMouseout="chgImgImageSubmit('../user_data/templates/default/img/install/next.jpg',this)" src="../user_data/templates/default/img/install/next.jpg" width="105" height="24" alt="次へ進む" border="0" name="next"> 112 </td> 113 </tr> 114 <tr><td height="30"></td></tr> 99 115 </from> 100 116 </table>
Note: See TracChangeset
for help on using the changeset viewer.