source: branches/comu-ver2/data/Smarty/templates/default/admin/mail/htmlmail_select.tpl @ 17610

Revision 17610, 3.5 KB checked in by Seasoft, 16 years ago (diff)

r17605 の改修。
・遷移エラーの修正。(ramrun様ご指摘。 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?viewmode=thread&topic_id=2678&forum=2&post_id=10310#forumpost10310 ) 同様のリスクを含む箇所の予防処置を含む。
・従来 / にリンク・リダイレクトしていた箇所の対応。(ramrun様ご指摘。 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=2678&forum=2&viewmode=flat&order=ASC&start=10 )

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2008 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<!--{include file="`$smarty.const.TEMPLATE_ADMIN_DIR`admin_popup_header.tpl"}-->
25
26<script type="text/javascript">
27<!--
28self.moveTo(20,20);self.focus();
29
30function func_submit( id ){
31  var fm = window.opener.document.form1;
32  fm.<!--{$smarty.get.name}-->.value = id;
33  fm.mode.value='select';
34  fm.submit();
35  window.close();
36  return false;
37}
38//-->
39</script>
40 
41<form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->">
42<input name="mode" type="hidden" value="search" />
43<input name="search_pageno" type="hidden" value="" />
44
45  <table class="form">
46    <tr>
47      <th>カテゴリ</th>
48      <td>
49        <select name="search_category_id">
50        <option value="" selected="selected">選択してください</option>
51        <!--{html_options options=$arrCatList selected=$arrForm.search_category_id}-->
52        </select>
53      </td>
54    </tr>
55    <tr>
56      <th>商品名</th>
57      <td><input type="text" name="search_name" value="<!--{$arrForm.search_name}-->" size="35" class="box35" /></td>
58    </tr>
59  </table>
60  <div class="btn">
61    <button type="submit"><span>検索を開始</span></button>
62  </div>
63
64  <!--▼検索結果表示-->
65  <!--{if $tpl_linemax}-->
66  <p><!--{$tpl_linemax}-->件が該当しました。</p>
67  <!--{$tpl_strnavi}-->
68   
69  <!--{* ▼検索後表示部分 *}-->
70  <table class="list">
71    <tr>
72      <th>商品画像</th>
73      <th>商品番号</th>
74      <th>商品名</th>
75      <th>決定</th>
76    </tr>
77    <!--{section name=cnt loop=$arrProducts}-->
78    <!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
79    <tr>
80      <td class="center">
81        <!--{if $arrProducts[cnt].main_list_image != ""}-->
82          <!--{assign var=image_path value="`$smarty.const.IMAGE_SAVE_URL`/`$arrProducts[cnt].main_list_image`"}-->
83        <!--{else}-->
84          <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_URL`"}-->
85        <!--{/if}-->
86        <img src="<!--{$image_path}-->" width="<!--{$smarty.const.DISP_IMAGE_WIDTH}-->" height="<!--{$smarty.const.DISP_IMAGE_HEIGHT}-->" alt="<!--{$arrProducts[cnt].name|escape}-->" />
87      </td> 
88      <td><!--{$arrProducts[cnt].product_code|escape|default:"-"}--></td>
89      <td><!--{$arrProducts[cnt].name|escape}--></td>
90      <td class="center"><a href="#" onClick="return func_submit(<!--{$arrProducts[cnt].product_id}-->)">決定</a></td>
91    </tr>
92    <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
93    <!--{sectionelse}-->
94    <tr>
95      <td colspan="4">商品が登録されていません</td>
96    </tr> 
97    <!--{/section}-->
98
99  </table>
100  <!--{/if}-->
101  <!--{* ▲検索結果表示 *}-->
102
103</form>
104
105<!--{include file="`$smarty.const.TEMPLATE_ADMIN_DIR`admin_popup_footer.tpl"}-->
Note: See TracBrowser for help on using the repository browser.