source: branches/version-2_12-multilang/html/install/templates/step1.tpl @ 22386

Revision 22386, 12.8 KB checked in by kim, 8 years ago (diff)

メッセージID振り直し
tpl_433,tpl_755-tpl_800(tpl_433 しない tpl_798 いいえ)

  • 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 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2012 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><!--{t string="t_EC site settings_01"}--></h2>
53    </div>
54    <div class="block">
55        <table>
56            <col width="30%" />
57            <col width="70%" />
58            <tr>
59                <th><!--{t string="tpl_030_1" escape="none"}--></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"><!--{t string="t_Fill in the name of your store._01"}--></span>
65                </td>
66            </tr>
67            <tr>
68                <th><!--{t string="tpl_108_1" escape="none"}--></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"><!--{t string="t_The address will be the one in the order receipt mail, etc._01"}--><br />
74                <!--{t string="t_(Example) eccube@example.com_01"}--></span>
75                </td>
76            </tr>
77            <tr>
78                <th><!--{t string="t_Login ID <span class='attention'>*</span>_01" escape="none"}--><br/><!--{t string="tpl_668" T_FIELD1=$smarty.const.ID_MIN_LEN T_FIELD2=$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"><!--{t string="t_ID for logging in to the management area._01"}--></span><br />
84                </td>
85            </tr>
86            <tr>
87                <th><!--{t string="tpl_218_1" escape="none"}--><br/><!--{t string="tpl_668" T_FIELD1=$smarty.const.ID_MIN_LEN T_FIELD2=$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"><!--{t string="t_Password for logging in to the management area._01"}--></span><br />
93                </td>
94            </tr>
95        </table>
96
97        <h2><!--{t string="t_Management area settings_01"}--></h2>
98        <table>
99            <col width="30%" />
100            <col width="70%" />
101            <tr>
102                <th><!--{t string="t_Directory_01"}--><br/><!--{t string="tpl_668" T_FIELD1=$smarty.const.ID_MIN_LEN T_FIELD2=$smarty.const.ID_MAX_LEN}--></th>
103                <td>
104                <!--{assign var=key value="admin_dir"}-->
105                <span class="attention"><!--{$arrErr[$key]}--></span>
106                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|default:'admin'|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->;" size="50" /><br />
107                <span class="ex-text"><!--{t string="t_Directory name for management area._01"}--><br />
108                 <!--{t string="t_Access the management area with link below._01"}--><br />
109                 <!--{t string="t_https://[Host name].[Domain name]/[Shop directory]/<span class='bold'>[Directory]</span>/_01" escape="none"}--></span><br />
110                </td>
111            </tr>
112            <tr>
113                <th><!--{t string="PARAM_LABEL_SSL_LIMIT"}--><br/></th>
114                <td>
115                <!--{assign var=key value="admin_force_ssl"}-->
116                <span class="attention"><!--{$arrErr[$key]}--></span>
117                <input type="checkbox" name="<!--{$key}-->" id="<!--{$key}-->" value="1" <!--{if $arrForm[$key].value == 1}-->checked="checked"<!--{/if}--> /><label for="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->;"><!--{t string="tpl_644"}--></label><br />
118                <span class="ex-text"><!--{t string="t_Access to the management area is limited to SSL (https) connections._01"}--></span><br />
119                </td>
120            </tr>
121            <tr>
122                <th><!--{t string="tpl_643"}--><br/></th>
123                <td>
124                <!--{assign var=key value="admin_allow_hosts"}-->
125                <span class="attention"><!--{$arrErr[$key]}--></span>
126                <span class="ex-text"><!--{t string="tpl_645" escape="none"}--></span><br />
127                <textarea name="<!--{$key}-->" class="box280" style="<!--{$arrErr[$key]|sfGetErrorColor}-->;"><!--{$arrForm[$key].value|h}--></textarea>
128                </td>
129            </tr>
130        </table>
131
132        <h2><!--{t string="t_WEB server settings_01"}--></h2>
133        <table>
134            <col width="30%" />
135            <col width="70%" />
136            <tr>
137                <th><!--{t string="t_URL (normal) <span class='attention'>*</span>_01" escape="none"}--></th>
138                <td>
139                <!--{assign var=key value="normal_url"}-->
140                <span class="attention"><!--{$arrErr[$key]}--></span>
141                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50"  />
142                </td>
143            </tr>
144            <tr>
145                <th><!--{t string="t_URL (secure) <span class='attention'>*</span>_01" escape="none"}--></th>
146                <td>
147                <!--{assign var=key value="secure_url"}-->
148                <span class="attention"><!--{$arrErr[$key]}--></span>
149                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50"  />
150                </td>
151            </tr>
152            <tr>
153                <th><!--{t string="t_Common domain_01"}--></th>
154                <td>
155                <!--{assign var=key value="domain"}-->
156                <span class="attention"><!--{$arrErr[$key]}--></span>
157                <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50"  /><br />
158                <span class="ex-text"><!--{t string="t_Designated when the subdomain differs based on normal URL and secure URL._01"}--></span>
159                </td>
160            </tr>
161        </table>
162
163        <p><a href="javascript:;" id="options"><!--{t string="t_&gt;&gt; Option settings_01" escape="none"}--></a></p>
164        <div class="option">
165            <h2><!--{t string="t_E-mail server settings (option)_01"}--></h2>
166            <table>
167                <col width="30%" />
168                <col width="70%" />
169                <tr>
170                    <th><!--{t string="t_Mailer backend <span class='attention'>*</span>_01" escape="none"}--></th>
171                    <td>
172                      <!--{assign var=key value="mail_backend"}-->
173                      <span class="attention"><!--{$arrErr[$key]}--></span>
174                      <!--{html_radios name=$key options=$arrMailBackend selected=$arrForm[$key].value|h}--><br />
175                      <span class="ex-text"><!--{t string="t_mail - PHP built-in function  mail() is used to send.<br />SMTP - E-mails are sent by directly connecting to the SMTP server.<br />sendmail - Sent through the sendmail program._01" escape="none"}--></span>
176                    </td>
177                </tr>
178                <tr>
179                    <th><!--{t string="t_SMTP host_01"}--></th>
180                    <td>
181                      <!--{assign var=key value="smtp_host"}-->
182                      <span class="attention"><!--{$arrErr[$key]}--></span>
183                      <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50" class="smtp" /><br />
184                      <span class="ex-text"><!--{t string="t_Use only when the mailer backend is SMTP._01"}--></span>
185                    </td>
186                </tr>
187                <tr>
188                    <th><!--{t string="t_SMTP port_01"}--></th>
189                    <td>
190                      <!--{assign var=key value="smtp_port"}-->
191                      <span class="attention"><!--{$arrErr[$key]}--></span>
192                      <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="5" class="smtp" /><br />
193                      <span class="ex-text"><!--{t string="t_Use only when the mailer backend is SMTP._01"}--></span>
194                    </td>
195                </tr>
196                <tr>
197                    <th><!--{t string="t_SMTP user_01"}--></th>
198                    <td>
199                      <!--{assign var=key value="smtp_user"}-->
200                      <span class="attention"><!--{$arrErr[$key]}--></span>
201                      <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50" class="smtp" /><br />
202                      <span class="ex-text"><!--{t string="t_Use only when the mailer backend is SMTP and SMTP-AUTH is also used._01"}--></span>
203                    </td>
204                </tr>
205                <tr>
206                    <th><!--{t string="t_SMTP password_01"}--></th>
207                    <td>
208                      <!--{assign var=key value="smtp_password"}-->
209                      <span class="attention"><!--{$arrErr[$key]}--></span>
210                      <input type="password" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="50" class="smtp" /><br />
211                      <span class="ex-text"><!--{t string="t_Use only when the mailer backend is SMTP and SMTP-AUTH is also used._01"}--></span>
212                    </td>
213                </tr>
214            </table>
215        </div>
216    </div>
217</div>
218<div class="btn-area-top"></div>
219    <div class="btn-area">
220        <ul>
221            <li><a class="btn-action" href="javascript:;" onclick="document.form1['mode'].value='return_step0';document.form1.submit();return false;"><span class="btn-prev"><!--{t string="tpl_610"}--></span></a></li>
222            <li><a class="btn-action" href="javascript:;" onclick="document.form1.submit(); return false;"><span class="btn-next"><!--{t string="t_Next_01"}--></span></a></li>
223        </ul>
224    </div>
225    <div class="btn-area-bottom"></div>
226</form>
Note: See TracBrowser for help on using the repository browser.