source: branches/version-2_5-dev/html/install/templates/step3.tpl @ 20050

Revision 20050, 3.3 KB checked in by Seasoft, 12 years ago (diff)

#862(テンプレート上のエスケープを簡単に) 実装漏れ箇所

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
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 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    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<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}--><!--{/if}-->
57      データベースの初期化を開始します。<br />
58      ※すでにテーブル等が作成されている場合は中断されます。</P>
59      <!--{if $tpl_mode != 'complete'}-->
60      <input type="checkbox" id="skip" name="db_skip" <!--{if $tpl_db_skip == "on"}-->checked    <!--{/if}-->> <label for="skip">データベースの初期化処理を行わない</label>
61    <!--{/if}-->
62  </div>
63  <div class="result-info02">
64<!--{if count($arrErr) > 0 || $tpl_message != ""}-->
65            <!--{$tpl_message}--><br>
66            <span class="attention top"><!--{$arrErr.all}-->
67            <!--{if $arrErr.all != ""}--></span>
68            <ul class="btn-area">
69              <li><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('drop'); return false;">既存データをすべて削除する</a></li>
70            </ul>
71            <!--{/if}-->
72<!--{/if}-->
73  </div>
74</div>
75
76<div class="btn-area-top"></div>
77  <div class="btn-area">
78    <ul>
79        <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>
80    <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>
81    </ul>
82  </div>
83  <div class="btn-area-bottom"></div>
84</from>
Note: See TracBrowser for help on using the repository browser.