source: branches/version-2_5-dev/data/Smarty/templates/admin/basis/seo.tpl @ 20407

Revision 20407, 4.2 KB checked in by kotani, 13 years ago (diff)

#812 (トランザクションIDの自動生成/自動検証), #1053 (transactionidが埋め込まれる前にクリックされるとエラー)

  • transactionid用hiddenタグをJavaScriptで生成しないように変更
  • 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-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" id="form1" method="post" action="?" onSubmit="return window.confirm('登録しても宜しいですか');">
25<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
26<input type="hidden" name="mode" value="confirm">
27<input type="hidden" name="device_type_id" value="" />
28<input type="hidden" name="page_id" value="" />
29<div id="basis" class="contents-main">
30  <!--{if count($arrPageData) > 0}-->
31    <!--{foreach name=device key=device_key item=arrDevicePageData from=$arrPageData}-->
32    <!--{if count($arrDevicePageData) > 0}-->
33    <!--{foreach name=page key=key item=item from=$arrDevicePageData}-->
34    <!-- <!--{$item.page_name}--> ここから -->
35    <!--{if $smarty.foreach.page.first == true}--><h1><!--{$arrDeviceTypeName[$item.device_type_id]}--></h1><!--{/if}-->
36    <h2><!--{$item.page_name}--> <!--{$item.url}--></h2>
37   
38    <div id="
39         _<!--{$item.device_type_id}-->_<!--{$item.page_id}-->">
40      <table>
41        <tr>
42          <th>メタタグ:Author</th>
43          <td>
44          <span class="attention"><!--{$arrErr[$item.device_type_id][$item.page_id].author}--></span>
45          <input type="text" name="meta[<!--{$item.device_type_id}-->][<!--{$item.page_id}-->][author]" value="<!--{$item.author|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style='<!--{if $arrErr[$item.page_id].author != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->' /><span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span></td>
46        </tr>
47        <tr>
48          <th>メタタグ:Description</th>
49          <td>
50          <span class="attention"><!--{$arrErr[$item.device_type_id][$item.page_id].description}--></span>
51          <input type="text" name="meta[<!--{$item.device_type_id}-->][<!--{$item.page_id}-->][description]" value="<!--{$item.description|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style='<!--{if $arrErr[$item.page_id].description != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->' /><span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span></td>
52        </tr>
53        <tr>
54          <th>メタタグ:Keywords</th>
55          <td>
56          <span class="attention"><!--{$arrErr[$item.device_type_id][$item.page_id].keyword}--></span>
57          <input type="text" name="meta[<!--{$item.device_type_id}-->][<!--{$item.page_id}-->][keyword]" value="<!--{$item.keyword|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style='<!--{if $arrErr[$item.page_id].keyword != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->' /><span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span></td>
58        </tr>
59      </table>
60   
61      <div class="btn-area">
62        <ul>
63          <li><a class="btn-action" href="javascript:;" onclick="document.form1.device_type_id.value = <!--{$item.device_type_id}-->; document.form1.page_id.value = <!--{$item.page_id}-->; fnFormModeSubmit('form1', 'confirm', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
64        </ul>
65      </div>
66   
67    </div>
68    <!-- <!--{$item.page_name}--> ここまで -->
69    <!--{/foreach}-->
70    <!--{/if}-->
71    <!--{/foreach}-->
72  <!--{else}-->
73    <div class="no-data">
74          表示するデータがありません
75    </div>
76  <!--{/if}-->
77
78</div>
79</form>
Note: See TracBrowser for help on using the repository browser.