source: branches/version-2_5-dev/data/Smarty/templates/admin/contents/campaign_create_tag.tpl @ 18873

Revision 18873, 3.5 KB checked in by nanasess, 13 years ago (diff)

管理画面のテンプレートをフロントから分離する(#845)

  • Property svn:eol-style set to LF
  • 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<!--{include file="`$smarty.const.TEMPLATE_ADMIN_DIR`admin_popup_header.tpl"}-->
25
26<form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->">
27<input name="mode" type="hidden" value="search" />
28<input name="anchor_key" type="hidden" value="" />
29<input name="search_pageno" type="hidden" value="" />
30<input type="hidden" name="product_id" value="" />
31
32<!--{if $tpl_create_tag != ""}-->
33<h2>生成タグ</h2>
34<textarea name="" cols="45" rows="18" class="area40" readonly><!--{$tpl_create_tag}--></textarea>
35<div class="btn"><button type="button" onClick="history.back()"><span>検索結果へ戻る</span></button></div>
36
37<!--{* タグ表示の時以下を表示しない *}-->
38<!--{else}-->
39<table class="form">
40  <tr>
41    <th>カテゴリ</th>
42    <td>
43      <select name="search_category_id">
44        <option value="" selected="selected">選択してください</option>
45        <!--{html_options options=$arrCatList selected=$arrForm.search_category_id}-->
46      </select>
47    </td>
48  </tr>
49  <tr>
50    <th>商品ID</th>
51    <td><input type="text" name="search_product_id" value="<!--{$arrForm.search_product_id}-->" size="35" class="box35" /></td>
52  </tr>
53  <tr>
54    <th>商品名</th>
55    <td><input type="text" name="search_name" value="<!--{$arrForm.search_name}-->" size="35" class="box35" /></td>
56  </tr>
57</table>
58<div class="btn"><button type="submit"><span>検索を開始</span></button></div>
59
60<!--{* ▼検索結果表示 *}-->
61<!--{if $tpl_linemax}-->
62<p><!--{$tpl_linemax}-->件が該当しました。</p>
63<!--{$tpl_strnavi}-->
64   
65<table class="list">
66  <tr>
67    <th>商品画像</th>
68    <th>商品ID</th>
69    <th>商品名</th>
70    <th>決定</th>
71  </tr>
72  <!--{section name=cnt loop=$arrProducts}-->
73  <!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
74  <tr>
75    <td class="center">
76      <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrProducts[cnt].main_list_image|sfNoImageMainList|escape}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->" />
77    </td> 
78    <td><!--{$arrProducts[cnt].product_code|escape|default:"-"}--></td>
79    <td><!--{$arrProducts[cnt].name|escape}--></td>
80    <td class="center"><a href="#" onClick="fnFormModeSubmit('form1', 'view', 'product_id', '<!--{$arrProducts[cnt].product_id}-->'); return false;">決定</a></td>
81  </tr>
82  <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
83  <!--{sectionelse}-->
84  <tr>
85    <td colspan="4">商品が登録されていません</td>
86  </tr> 
87  <!--{/section}-->
88</table>
89<!--{/if}-->
90<!--{* ▲検索結果表示 *}-->
91
92<!--{/if}-->
93<!--{* タグ表示しないここまで *}-->
94
95</form>
96
97<!--{include file="`$smarty.const.TEMPLATE_ADMIN_DIR`admin_popup_footer.tpl"}-->
Note: See TracBrowser for help on using the repository browser.