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 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 | $(function() { |
---|
24 | $('.option').hide(); |
---|
25 | if ($('input[name=mail_backend]').val() == 'smtp') { |
---|
26 | $('.smtp').attr('disabled', false); |
---|
27 | } else { |
---|
28 | $('.smtp').attr('disabled', true); |
---|
29 | } |
---|
30 | $('#options').click(function() { |
---|
31 | $('.option').slideToggle(); |
---|
32 | }); |
---|
33 | $('input[name=mail_backend]').change(function() { |
---|
34 | if ($(this).val() == 'smtp') { |
---|
35 | $('.smtp').attr('disabled', false); |
---|
36 | } else { |
---|
37 | $('.smtp').attr('disabled', true); |
---|
38 | } |
---|
39 | }); |
---|
40 | }); |
---|
41 | </script> |
---|
42 | <form name="form1" id="form1" method="post" action="?"> |
---|
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|h}-->" /> |
---|
48 | <!--{/foreach}--> |
---|
49 | |
---|
50 | <div class="contents"> |
---|
51 | <div class="message"> |
---|
52 | <h2>ECサイトの設定</h2> |
---|
53 | </div> |
---|
54 | <div class="block"> |
---|
55 | <table> |
---|
56 | <col width="30%" /> |
---|
57 | <col width="70%" /> |
---|
58 | <tr> |
---|
59 | <th>店名<span class="attention">※</span></th> |
---|
60 | <td> |
---|
61 | <!--{assign var=key value="shop_name"}--> |
---|
62 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
63 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50" /><br /> |
---|
64 | <span class="ex-text">あなたの店名をご記入ください。</span> |
---|
65 | </td> |
---|
66 | </tr> |
---|
67 | <tr> |
---|
68 | <th>メールアドレス<span class="attention">※</span></th> |
---|
69 | <td> |
---|
70 | <!--{assign var=key value="admin_mail"}--> |
---|
71 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
72 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50" /><br /> |
---|
73 | <span class="ex-text">受注メールなどの宛先になります。<br /> |
---|
74 | (例) eccube@example.com</span> |
---|
75 | </td> |
---|
76 | </tr> |
---|
77 | <tr> |
---|
78 | <th>ログインID<span class="attention">※</span><br/>半角英数字<!--{$smarty.const.ID_MIN_LEN}-->~<!--{$smarty.const.ID_MAX_LEN}-->文字</th> |
---|
79 | <td> |
---|
80 | <!--{assign var=key value="login_id"}--> |
---|
81 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
82 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50" /><br /> |
---|
83 | <span class="ex-text">管理機能にログインするためのIDです。</span><br /> |
---|
84 | </td> |
---|
85 | </tr> |
---|
86 | <tr> |
---|
87 | <th>パスワード<span class="attention">※</span><br/>半角英数字<!--{$smarty.const.ID_MIN_LEN}-->~<!--{$smarty.const.ID_MAX_LEN}-->文字</th> |
---|
88 | <td> |
---|
89 | <!--{assign var=key value="login_pass"}--> |
---|
90 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
91 | <input type="password" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$smarty.const.ID_MAX_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->;" size="50" /><br /> |
---|
92 | <span class="ex-text">管理機能にログインするためのパスワードです。</span><br /> |
---|
93 | </td> |
---|
94 | </tr> |
---|
95 | </table> |
---|
96 | |
---|
97 | <h2>管理機能の設定</h2> |
---|
98 | <table> |
---|
99 | <col width="30%" /> |
---|
100 | <col width="70%" /> |
---|
101 | <tr> |
---|
102 | <th> |
---|
103 | ディレクトリ<span class="attention">※</span><br/> |
---|
104 | 半角英数字<!--{$smarty.const.ID_MIN_LEN}-->~<!--{$smarty.const.ID_MAX_LEN}-->文字 |
---|
105 | </th> |
---|
106 | <td> |
---|
107 | <!--{assign var=key value="admin_dir"}--> |
---|
108 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
109 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->;" size="50" /><br /> |
---|
110 | <span class="ex-text">管理機能のディレクトリ名です。<br /> |
---|
111 | 下記URLで管理機能にアクセスする場合の[管理機能ディレクトリ]の部分です。<br /> |
---|
112 | <!--{$arrForm.secure_url.value|h}--><span class="bold">[管理機能ディレクトリ]</span>/</span><br /> |
---|
113 | </td> |
---|
114 | </tr> |
---|
115 | <tr> |
---|
116 | <th>SSL制限<br/></th> |
---|
117 | <td> |
---|
118 | <!--{assign var=key value="admin_force_ssl"}--> |
---|
119 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
120 | <input type="checkbox" name="<!--{$key}-->" id="<!--{$key}-->" value="1" <!--{if $arrForm[$key].value == 1}-->checked="checked"<!--{/if}--> /><label for="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->;">SSLを強制する。</label><br /> |
---|
121 | <span class="ex-text">管理機能へのアクセスをSSL経由(https)の接続に制限します。</span><br /> |
---|
122 | </td> |
---|
123 | </tr> |
---|
124 | <tr> |
---|
125 | <th>IP制限<br/></th> |
---|
126 | <td> |
---|
127 | <!--{assign var=key value="admin_allow_hosts"}--> |
---|
128 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
129 | <span class="ex-text">管理機能へのアクセスを特定のIPアドレスからの接続のみに制限します。<br /> |
---|
130 | アクセスを許可するIPアドレスを1行づつ入力してください。<br /> |
---|
131 | 何も入力しない場合は全てを許可します。</span><br /> |
---|
132 | <textarea name="<!--{$key}-->" class="box280" style="<!--{$arrErr[$key]|sfGetErrorColor}-->;"><!--{$arrForm[$key].value|h}--></textarea> |
---|
133 | </td> |
---|
134 | </tr> |
---|
135 | </table> |
---|
136 | |
---|
137 | <h2>WEBサーバーの設定</h2> |
---|
138 | <table> |
---|
139 | <col width="30%" /> |
---|
140 | <col width="70%" /> |
---|
141 | <tr> |
---|
142 | <th>URL(通常)<span class="attention">※</span></th> |
---|
143 | <td> |
---|
144 | <!--{assign var=key value="normal_url"}--> |
---|
145 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
146 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50" /> |
---|
147 | </td> |
---|
148 | </tr> |
---|
149 | <tr> |
---|
150 | <th>URL(セキュア)<span class="attention">※</span></th> |
---|
151 | <td> |
---|
152 | <!--{assign var=key value="secure_url"}--> |
---|
153 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
154 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50" /> |
---|
155 | </td> |
---|
156 | </tr> |
---|
157 | <tr> |
---|
158 | <th>共通ドメイン</th> |
---|
159 | <td> |
---|
160 | <!--{assign var=key value="domain"}--> |
---|
161 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
162 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50" /><br /> |
---|
163 | <span class="ex-text">通常URLとセキュアURLでサブドメインが異なる場合に指定します。</span> |
---|
164 | </td> |
---|
165 | </tr> |
---|
166 | </table> |
---|
167 | |
---|
168 | <p><a href="javascript:;" id="options">>> オプション設定</a></p> |
---|
169 | <div class="option"> |
---|
170 | <h2>メールサーバーの設定(オプション)</h2> |
---|
171 | <table> |
---|
172 | <col width="30%" /> |
---|
173 | <col width="70%" /> |
---|
174 | <tr> |
---|
175 | <th>メーラーバックエンド<span class="attention">※</span></th> |
---|
176 | <td> |
---|
177 | <!--{assign var=key value="mail_backend"}--> |
---|
178 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
179 | <!--{html_radios name=$key options=$arrMailBackend selected=$arrForm[$key].value|h}--><br /> |
---|
180 | <span class="ex-text">mail - PHP の組込関数 mail() を使用して送信します。<br /> |
---|
181 | SMTP - SMTP サーバに直接接続してメールを送信します。<br /> |
---|
182 | sendmail - sendmail プログラムにより送信します。</span> |
---|
183 | </td> |
---|
184 | </tr> |
---|
185 | <tr> |
---|
186 | <th>SMTP ホスト</th> |
---|
187 | <td> |
---|
188 | <!--{assign var=key value="smtp_host"}--> |
---|
189 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
190 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50" class="smtp" /><br /> |
---|
191 | <span class="ex-text">メーラーバックエンドが SMTP の場合のみ指定します。</span> |
---|
192 | </td> |
---|
193 | </tr> |
---|
194 | <tr> |
---|
195 | <th>SMTP ポート</th> |
---|
196 | <td> |
---|
197 | <!--{assign var=key value="smtp_port"}--> |
---|
198 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
199 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="5" class="smtp" /><br /> |
---|
200 | <span class="ex-text">メーラーバックエンドが SMTP の場合のみ指定します。</span> |
---|
201 | </td> |
---|
202 | </tr> |
---|
203 | <tr> |
---|
204 | <th>SMTP ユーザー</th> |
---|
205 | <td> |
---|
206 | <!--{assign var=key value="smtp_user"}--> |
---|
207 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
208 | <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50" class="smtp" /><br /> |
---|
209 | <span class="ex-text">メーラーバックエンドが SMTP の場合で、SMTP-AUTH 使用時のみ指定します。</span> |
---|
210 | </td> |
---|
211 | </tr> |
---|
212 | <tr> |
---|
213 | <th>SMTP パスワード</th> |
---|
214 | <td> |
---|
215 | <!--{assign var=key value="smtp_password"}--> |
---|
216 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
217 | <input type="password" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50" class="smtp" /><br /> |
---|
218 | <span class="ex-text">メーラーバックエンドが SMTP の場合で、SMTP-AUTH 使用時のみ指定します。</span> |
---|
219 | </td> |
---|
220 | </tr> |
---|
221 | </table> |
---|
222 | </div> |
---|
223 | </div> |
---|
224 | </div> |
---|
225 | <div class="btn-area-top"></div> |
---|
226 | <div class="btn-area"> |
---|
227 | <ul> |
---|
228 | <li><a class="btn-action" href="javascript:;" onclick="document.form1['mode'].value='return_step0';document.form1.submit();return false;"><span class="btn-prev">前へ戻る</span></a></li> |
---|
229 | <li><a class="btn-action" href="javascript:;" onclick="document.form1.submit(); return false;"><span class="btn-next">次へ進む</span></a></li> |
---|
230 | </ul> |
---|
231 | </div> |
---|
232 | <div class="btn-area-bottom"></div> |
---|
233 | </form> |
---|