| 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 | <!--
|
|---|
| 24 | // モードとキーを指定してSUBMITを行う。
|
|---|
| 25 | function fnModeSubmit(mode) {
|
|---|
| 26 | switch(mode) {
|
|---|
| 27 | case 'drop':
|
|---|
| 28 | if(!window.confirm('一度削除したデータは、元に戻せません。\n削除しても宜しいですか?')){
|
|---|
| 29 | return;
|
|---|
| 30 | }
|
|---|
| 31 | break;
|
|---|
| 32 | default:
|
|---|
| 33 | break;
|
|---|
| 34 | }
|
|---|
| 35 | document.form1['mode'].value = mode;
|
|---|
| 36 | document.form1.submit();
|
|---|
| 37 | }
|
|---|
| 38 | //-->
|
|---|
| 39 | </script>
|
|---|
| 40 |
|
|---|
| 41 | <table width="502" border="0" cellspacing="1" cellpadding="0" summary=" ">
|
|---|
| 42 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
|
|---|
| 43 | <input type="hidden" name="mode" value="<!--{$tpl_mode}-->">
|
|---|
| 44 | <input type="hidden" name="step" value="0">
|
|---|
| 45 |
|
|---|
| 46 | <!--{foreach key=key item=item from=$arrHidden}-->
|
|---|
| 47 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->">
|
|---|
| 48 | <!--{/foreach}-->
|
|---|
| 49 |
|
|---|
| 50 | <tr><td height="30"></td></tr>
|
|---|
| 51 | <tr><td align="left" class="fs12st">■データベースの初期化</td></tr>
|
|---|
| 52 | <tr><td align="left" class="fs12"><!--{if $tpl_db_version != ""}-->接続情報:<!--{$tpl_db_version}--><!--{/if}--></td></tr>
|
|---|
| 53 | <tr><td align="left" class="fs12">データベースの初期化を開始します</td></tr>
|
|---|
| 54 | <tr><td align="left" class="fs12">※すでにテーブル等が作成されている場合は中断されます</td></tr>
|
|---|
| 55 | <!--{if $tpl_mode != 'complete'}-->
|
|---|
| 56 | <tr><td align="left" class="fs12"><input type="checkbox" id="skip" name="db_skip" <!--{if $tpl_db_skip == "on"}-->checked<!--{/if}-->> <label for="skip">データベースの初期化処理を行わない</label></td></tr>
|
|---|
| 57 | <!--{/if}-->
|
|---|
| 58 |
|
|---|
| 59 | <!--{if count($arrErr) > 0 || $tpl_message != ""}-->
|
|---|
| 60 | <tr>
|
|---|
| 61 | <td bgcolor="#cccccc" class="fs12">
|
|---|
| 62 | <table width="500" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
|---|
| 63 | <tr>
|
|---|
| 64 | <td bgcolor="#ffffff" class="fs12" height="50">
|
|---|
| 65 | <!--{$tpl_message}--><br>
|
|---|
| 66 | <span class="red"><!--{$arrErr.all}--></span>
|
|---|
| 67 | <!--{if $arrErr.all != ""}-->
|
|---|
| 68 | <input type="button" onclick="fnModeSubmit('drop');" value="既存データをすべて削除する">
|
|---|
| 69 | <!--{/if}-->
|
|---|
| 70 | </td>
|
|---|
| 71 | </tr>
|
|---|
| 72 | </table>
|
|---|
| 73 | </td>
|
|---|
| 74 | </tr>
|
|---|
| 75 | <!--{/if}-->
|
|---|
| 76 | </table>
|
|---|
| 77 |
|
|---|
| 78 | <table width="500" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
|---|
| 79 | <tr><td height="20"></td></tr>
|
|---|
| 80 | <tr>
|
|---|
| 81 | <td align="center">
|
|---|
| 82 | <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_step2';document.form1.submit();return false;" /><img width="105" src="../<!--{$default_dir}-->/img/install/back.jpg" height="24" alt="前へ戻る" border="0" name="back"></a>
|
|---|
| 83 | <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" onClick="document.body.style.cursor = 'wait';">
|
|---|
| 84 | </td>
|
|---|
| 85 | </tr>
|
|---|
| 86 | <tr><td height="30"></td></tr>
|
|---|
| 87 | </from>
|
|---|
| 88 | </table>
|
|---|