source: branches/version-2_5-dev/data/Smarty/templates/admin/system/adminarea.tpl @ 20050

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

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

Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 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<script type="text/javascript">
25jQuery(function(){
26    $("a.btn-action").click(function(){
27        $("form#form1").submit();
28        return false;   
29    });
30});
31</script>
32<form name="form1" id="form1" method="post" action="?">
33<!--{* ▼登録テーブルここから *}-->
34<div id="system" class="contents-main">
35  <div class="notice">
36    <h2><span class="red">注意!</span>間違った設定を適用すると管理画面にアクセス出来なくなる可能性があります。</h2>
37    <p class="red">良く解らない場合はこの設定は変更しないでください</p>
38    <!--{if $arrErr.all}-->
39    <p class="error"><!--{$arrErr.all|h}--></p>
40    <!--{/if}-->
41  </div>
42  <h2>管理機能設定</h2>
43  <table id="basis-index-admin">
44    <tr>
45      <th>ディレクトリ名</th>
46      <td>
47        <!--{assign var=key value="admin_dir"}-->
48        <span class="attention"><!--{$arrErr[$key]}--></span>
49        <!--{$smarty.const.ROOT_URLPATH}--><input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key]|h}-->" maxlength="<!--{$smarty.const.ID_MAX_LEN}-->" size="40" class="box40" style="<!--{if $arrErr[$key] != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/>/
50      </td>
51    </tr>
52    <tr>
53      <th>SSL制限</th>
54      <td>
55        <!--{assign var=key value="admin_force_ssl"}-->
56        <span class="attention"><!--{$arrErr[$key]}--></span>
57        <input type="checkbox" name="<!--{$key}-->" value="1" id="<!--{$key}-->" <!--{if $arrForm[$key] == 1}-->checked="checked"<!--{/if}--><!--{if !$tpl_enable_ssl}--> disabled="disabled"<!--{/if}--> /><label for="<!--{$key}-->">SSLを強制する。</label>
58      </td>
59    </tr>
60    <tr>
61      <th>IP制限</th>
62      <td>
63        <!--{assign var=key value="admin_allow_hosts"}-->
64        <span class="attention"><!--{$arrErr[$key]}--></span>
65        <textarea name="<!--{$key}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{$arrForm[$key]|h}--></textarea>
66        <span class="attention"> (上限<!--{$smarty.const.LTEXT_LEN}-->文字)</span><br />
67        <span>※管理機能へのアクセスを特定のIPアドレスからの接続のみに制限します。<br />
68        アクセスを許可するIPアドレスを1行づつ入力してください。何も入力しない場合は全てを許可します。</span><br />
69      </td>
70    </tr>
71  </table>
72
73
74  <div class="btn-area">
75    <ul>
76      <li><a class="btn-action" href="#"><span class="btn-next">この内容で登録する</span></a></li>
77    </ul>
78  </div>
79</div>
80<div style="display: none">
81  <div id="maparea">
82    <div id="maps" style="width: 300px; height: 300px"></div>
83    <a class="btn-normal" href="javascript:;" id="inputPoint">この位置を入力</a>
84  </div>
85</div>
86<!--{* ▲登録テーブルここまで *}-->
87</form>
Note: See TracBrowser for help on using the repository browser.