source: branches/version-2_12-multilang/data/Smarty/templates/admin/design/template.tpl @ 22424

Revision 22424, 3.8 KB checked in by adachi, 11 years ago (diff)

#2060 メッセージIDの振り直し:tpl_251 - tpl304

  • 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-2012 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
25<script type="text/javascript"><!--
26function submitRegister() {
27    var form = document.form1;
28    var msg    = "<!--{t string="tpl_The template will be changed._01"}-->";
29
30    if (window.confirm(msg)) {
31        form['mode'].value = 'register';
32        form.submit();
33    }
34}
35// -->
36</script>
37
38<form name="form1" method="post" action="?">
39<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
40<input type="hidden" name="mode" value="" />
41<input type="hidden" name="template_code" value="" />
42<input type="hidden" name="device_type_id" value="<!--{$device_type_id|h}-->" />
43<div id="design" class="contents-main">
44    <p class="remark">
45        <!--{t string="tpl_Select a template and click the 'Save and Continue' button to,<br />change the designtemplate._01" escape="none"}-->
46    </p>
47
48    <!--{if $arrErr.err != ""}-->
49        <div class="message">
50            <span class="attention"><!--{$arrErr.err}--></span>
51        </div>
52    <!--{/if}-->
53
54    <table class="list center">
55        <col width="5%" />
56        <col width="30%" />
57        <col width="50%" />
58        <col width="10%" />
59        <col width="5%" />
60        <tr>
61            <th><!--{t string="tpl_Selection_01"}--></th>
62            <th><!--{t string="tpl_Name_03"}--></th>
63            <th><!--{t string="tpl_Saving destination_01"}--></th>
64            <th><!--{t string="tpl_Download_01"}--></th>
65            <th class="delete"><!--{t string="tpl_Remove_01"}--></th>
66        </tr>
67        <!--{foreach from=$templates item=tpl}-->
68        <!--{assign var=tplcode value=$tpl.template_code}-->
69        <tr class="center">
70            <td><input type="radio" name="template_code" value="<!--{$tplcode|h}-->" <!--{if $tplcode == $tpl_select}-->checked="checked"<!--{/if}--> /></td>
71            <td class="left"><!--{$tpl.template_name|h}--></td>
72            <td class="left">data/Smarty/templates/<!--{$tplcode|h}-->/</td>
73            <td><span class="icon_confirm"><a href="javascript:;" onClick="fnFormModeSubmit('form2', 'download','template_code','<!--{$tplcode}-->');return false;"><!--{t string="tpl_Download_01"}--></a></span></td>
74            <td><span class="icon_delete"><a href="javascript:;" onClick="fnFormModeSubmit('form2', 'delete','template_code','<!--{$tplcode}-->');return false;"><!--{t string="tpl_Remove_01"}--></a></span></td>
75        </tr>
76        <!--{/foreach}-->
77    </table>
78    <div class="btn-area">
79        <ul>
80            <li><a class="btn-action" href="javascript:;" onclick="submitRegister();return false;"><span class="btn-next"><!--{t string="tpl_Save and continue_01"}--></span></a></li>
81        </ul>
82    </div>
83</div>
84</form>
85<form name="form2" method="post" action="?">
86    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
87    <input type="hidden" name="mode" value="" />
88    <input type="hidden" name="template_code" value="" />
89    <input type="hidden" name="device_type_id" value="<!--{$device_type_id|h}-->" />
90</form>
Note: See TracBrowser for help on using the repository browser.