source: branches/version-2_13-dev/data/Smarty/templates/admin/basis/zip_install.tpl @ 23066

Revision 23066, 4.7 KB checked in by pineray, 11 years ago (diff)

#2342 JavaScript?のグローバルな宣言を減らす
eccubeオブジェクト内の階層を減らす.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24
25<!--{if $tpl_mode|strlen == 0 || $arrErr|@count >= 1}-->
26    <style type="text/css">
27
28    </style>
29    <form name="form1" id="form1" method="get" action="?" onsubmit="return false;">
30        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
31        <input type="hidden" name="mode" value="" />
32        <p>保存されている郵便番号CSVの更新日時: <!--{$tpl_csv_datetime|h}--></p>
33        <p>郵便番号CSVには <!--{$tpl_line|h}--> 行のデータがあります。</p>
34        <p>郵便番号DBには <!--{$tpl_count_mtb_zip|h}--> 行のデータがあります。</p>
35        <!--{if $tpl_count_mtb_zip == 0}-->
36            <p class="attention">登録を行なってください。</p>
37        <!--{elseif $tpl_line <> $tpl_count_mtb_zip}-->
38            <p class="attention">行数に差異があります。登録に異常がある恐れがあります。</p>
39        <!--{/if}-->
40
41        <div class="basis-zip-item info">
42            <p>通常は、[自動登録] を利用してください。<br />
43                ただし、タイムアウトしてしまう環境では、タイムアウトした後に [手動登録] を正常に完了するまで繰り返してください。</p>
44        </div>
45
46        <div class="basis-zip-item">
47            <h2>自動登録</h2>
48            <p>下の [削除] <!--{if !$tpl_skip_update_csv}-->[郵便番号CSV更新] <!--{/if}-->[DB手動登録] を順に実行します。ただし、タイムアウトした場合、DBは元の状態に戻ります。</p>
49            <p><a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('auto', '', ''); return false;"><span class="btn-next">自動登録</span></a></p>
50        </div>
51
52        <div class="basis-zip-item">
53            <h2>DB手動登録</h2>
54            <p>指定した行数から郵便番号を登録します。タイムアウトした場合、直前まで登録されます。</p>
55            <p><a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('manual', '', ''); return false;"><span class="btn-next">手動登録</span></a> 開始行: <input type="text" name="startRowNum" value="<!--{$arrForm.startRowNum|default:$tpl_count_mtb_zip+1|h}-->" size="8" /><span class="attention"><!--{$arrErr.startRowNum}--></span></p>
56        </div>
57
58        <div class="basis-zip-item">
59            <h2>郵便番号CSV更新</h2>
60            <!--{if $tpl_skip_update_csv}-->
61                ご利用頂けません。
62                <!--{if $tpl_zip_download_url_empty}-->
63                    <p class="attention">※ パラメーター ZIP_DOWNLOAD_URL が未設定です。</p>
64                <!--{/if}-->
65                <!--{if $tpl_zip_function_not_exists}-->
66                    <p class="attention">※ PHP 拡張モジュール「zip」が無効です。</p>
67                <!--{/if}-->
68            <!--{else}-->
69                <p>日本郵便の WEB サイトから、郵便番号CSVを取得します。</p>
70                <p><a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('update_csv', '', ''); return false;"><span class="btn-next">更新</span></a><span class="attention"><!--{$arrErr.startRowNum}--></span></p>
71            <!--{/if}-->
72        </div>
73
74        <div class="basis-zip-item end">
75            <h2>削除</h2>
76            <p>全ての郵便番号を削除します。再登録するまで、住所自動入力は機能しなくなります。</p>
77            <p><a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('delete', '', ''); return false;"><span class="btn-next">削除</span></a></p>
78        </div>
79    </form>
80<!--{else}-->
81    <iframe src="?mode=<!--{$tpl_mode|h}-->&amp;exec=yes&amp;startRowNum=<!--{$arrForm.startRowNum|h}-->" name="progress" height="200" width="750" frameborder="0"></iframe>
82<!--{/if}-->
Note: See TracBrowser for help on using the repository browser.