| 1 | <!--{* |
---|
| 2 | * This file is part of EC-CUBE |
---|
| 3 | * |
---|
| 4 | * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved. |
---|
| 5 | * |
---|
| 6 | * http://www.lockon.co.jp/ |
---|
| 7 | * |
---|
| 8 | * This program is free software; you can attentionistribute 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 | eccube.setModeAndSubmit = function(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 | <form name="form1" id="form1" method="post" action="?"> |
---|
| 42 | <input type="hidden" name="mode" value="<!--{$tpl_mode}-->" /> |
---|
| 43 | <input type="hidden" name="step" value="0" /> |
---|
| 44 | |
---|
| 45 | <!--{foreach key=key item=item from=$arrHidden}--> |
---|
| 46 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" /> |
---|
| 47 | <!--{/foreach}--> |
---|
| 48 | |
---|
| 49 | <div class="contents"> |
---|
| 50 | <div class="message"> |
---|
| 51 | <h2>データベースの初期化</h2> |
---|
| 52 | </div> |
---|
| 53 | <div class="result-info02"> |
---|
| 54 | <p class="action-message"> |
---|
| 55 | <!--{if $tpl_db_version != ""}--><span class="bold">接続情報:</span><br /> |
---|
| 56 | <!--{$tpl_db_version}--> |
---|
| 57 | <!--{/if}--> |
---|
| 58 | データベースの初期化を開始します。<br /> |
---|
| 59 | ※すでにテーブル等が作成されている場合は中断されます。</P> |
---|
| 60 | <!--{if $tpl_mode != 'complete'}--> |
---|
| 61 | <input type="checkbox" id="skip" name="db_skip" <!--{if $tpl_db_skip == "on"}-->checked="checked"<!--{/if}--> /> <label for="skip">データベースの初期化処理を行わない</label> |
---|
| 62 | <!--{/if}--> |
---|
| 63 | </div> |
---|
| 64 | <div class="result-info02"> |
---|
| 65 | <!--{if count($arrErr) > 0 || $tpl_message != ""}--> |
---|
| 66 | <!--{$tpl_message}--><br /> |
---|
| 67 | <span class="attention top"><!--{$arrErr.all}--></span> |
---|
| 68 | <!--{if $arrErr.all != ""}--> |
---|
| 69 | <ul class="btn-area"> |
---|
| 70 | <li><a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('drop'); return false;">既存データを全て削除する</a></li> |
---|
| 71 | </ul> |
---|
| 72 | <!--{/if}--> |
---|
| 73 | <!--{/if}--> |
---|
| 74 | </div> |
---|
| 75 | </div> |
---|
| 76 | |
---|
| 77 | <div class="btn-area-top"></div> |
---|
| 78 | <div class="btn-area"> |
---|
| 79 | <ul> |
---|
| 80 | <li><a class="btn-action" href="javascript:;" onclick="document.form1['mode'].value='return_step2';document.form1.submit();return false;"><span class="btn-prev">前へ戻る</span></a></li> |
---|
| 81 | <li><a class="btn-action" href="javascript:;" onclick="document.body.style.cursor='wait'; document.form1.submit(); return false;"><span class="btn-next">次へ進む</span></a></li> |
---|
| 82 | </ul> |
---|
| 83 | </div> |
---|
| 84 | <div class="btn-area-bottom"></div> |
---|
| 85 | </form> |
---|