Warning: Can't use blame annotator:
svn blame failed on branches/version-2_5-dev/data/Smarty/templates/admin/design/upload.tpl: バイナリファイル 'file:///home/svn/open/branches/version-2_5-dev/data/Smarty/templates/admin/design/upload.tpl' に対しては blame で各行の最終変更者を計算できません 195004

source: branches/version-2_5-dev/data/Smarty/templates/admin/design/upload.tpl @ 19785

Revision 19785, 3.0 KB checked in by Seasoft, 11 years ago (diff)

#862(テンプレート上のエスケープを簡単に)
#628(未使用処理・定義などの削除)

  • Smarty 変数 tpl_start

#879(jQuery の ready イベントと競合する body の onload イベントを使用している)

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
RevLine 
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<form name="form1" method="post" action="?" enctype="multipart/form-data">
25<input type="hidden" name="mode" value="upload" />
26<div id="disign" class="contents-main">
27  <h2><!--{$template_name}--></h2>
28  <table>
29    <!--{assign var=key value="template_code"}-->
30    <tr>
31      <th>テンプレートコード</th>
32      <td>
33        <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}-->
34        <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" />
35      </td>
36    </tr>
37    <!--{assign var=key value="template_name"}-->
38    <tr>
39      <th>テンプレート名</th>
40      <td>
41        <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}-->
42        <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" />
43      </td>
44    </tr>
45    <!--{assign var=key value="template_file"}-->
46    <tr>
47      <th>テンプレートファイル<br /><span class="attention">※ファイル形式は.tar/.tar.gzのみ</span></th>
48      <td>
49        <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><!--{/if}-->
50        <input type="file" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" size="64" <!--{if $arrErr.template_file}-->style="background-color:<!--{$smarty.const.ERR_COLOR|h}-->"<!--{/if}--> />
51      </td>
52    </tr>
53  </table>
54
55  <div class="btn"><a class="btn-normal" href="javascript:;" onclick="fnFormModeSubmit('form1', 'upload', '', '');"><span>アップロード</span></a></div>
56
57</div>
58</form>
59
60<script type="text/javascript">
61function ChangeImage(strUrl)
62{
63  document.main_img.src=strUrl;
64}
65
66// モードとキーを指定してSUBMITを行う。
67function lfnModeSubmit(mode) {
68  if(!window.confirm('登録しても宜しいですか?')){
69    return false;
70  }
71  document.form1['mode'].value = mode;
72  return true;
73}
74
75
76</script>
Note: See TracBrowser for help on using the repository browser.