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 | <link rel="stylesheet" href="<!--{$TPL_URLPATH}-->jquery.multiselect2side/css/jquery.multiselect2side.css" type="text/css" media="screen" /> |
---|
26 | <script type="text/javascript" src="<!--{$TPL_URLPATH}-->jquery.multiselect2side/js/jquery.multiselect2side.js" ></script> |
---|
27 | <script type="text/javascript"> |
---|
28 | <!-- |
---|
29 | $().ready(function() { |
---|
30 | $('#output_list').multiselect2side({ |
---|
31 | selectedPosition: 'right', |
---|
32 | moveOptions: true, |
---|
33 | labelsx: '<!--{t string="tpl_142"}-->', |
---|
34 | labeldx: '<!--{t string="tpl_143"}-->', |
---|
35 | labelTop: '<!--{t string="tpl_144"}-->', |
---|
36 | labelBottom: '<!--{t string="tpl_145"}-->', |
---|
37 | labelUp: '<!--{t string="tpl_146"}-->', |
---|
38 | labelDown: '<!--{t string="tpl_147"}-->', |
---|
39 | labelSort: '<!--{t string="tpl_148"}-->' |
---|
40 | }); |
---|
41 | // multiselect2side の初期選択を解除 |
---|
42 | $('.ms2side__div select').val(null); |
---|
43 | // [Sort] ボタンは混乱防止のため非表示 |
---|
44 | // FIXME 選択・非選択のボタンと比べて、位置ズレしている |
---|
45 | $('.ms2side__div .SelSort').hide(); |
---|
46 | }); |
---|
47 | |
---|
48 | function lfFormModeDefautSetSubmit(form, mode) { |
---|
49 | if (!window.confirm('<!--{t string="tpl_149"}-->')) { |
---|
50 | return; |
---|
51 | } |
---|
52 | return fnSetFormSubmit(form, 'mode', mode); |
---|
53 | } |
---|
54 | //--> |
---|
55 | </script> |
---|
56 | |
---|
57 | <form name="form1" id="form1" method="post" action="?"> |
---|
58 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
59 | <input type="hidden" name="mode" value="confirm" /> |
---|
60 | <input type="hidden" name="tpl_subno_csv" value="<!--{$tpl_subno_csv|h}-->" /> |
---|
61 | <div id="admin-contents" class="contents-main"> |
---|
62 | <!--{if $tpl_is_update}--> |
---|
63 | <span class="attention"><!--{t string="tpl_150"}--></span> |
---|
64 | <!--{/if}--> |
---|
65 | <span class="attention"><!--{$arrErr.tpl_subno_csv}--></span> |
---|
66 | <div class="ms2side__area"> |
---|
67 | <span class="attention"><!--{$arrErr.output_list}--></span> |
---|
68 | <select multiple name="output_list[]" style="<!--{$arrErr.output_list|sfGetErrorColor}-->;" id="output_list" size="20"> |
---|
69 | <!--{html_options options=$arrOptions selected=$arrSelected}--> |
---|
70 | </select> |
---|
71 | </div> |
---|
72 | |
---|
73 | <div class="btn-area"> |
---|
74 | <ul> |
---|
75 | <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'confirm', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_Save and continue_01"}--></span></a></li> |
---|
76 | <li><a class="btn-action" href="javascript:;" onclick="lfFormModeDefautSetSubmit('form1', 'defaultset', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_151"}--></span></a></li> |
---|
77 | </ul> |
---|
78 | </div> |
---|
79 | |
---|
80 | </div> |
---|
81 | </form> |
---|