source: branches/version-2_12-dev/data/Smarty/templates/admin/contents/csv.tpl @ 21867

Revision 21867, 3.3 KB checked in by nakanishi, 12 years ago (diff)

#1831 Copyright Update

  • 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<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: 'CSV出力しない項目',
34        labeldx: 'CSV出力する項目',
35        labelTop: '一番上',
36        labelBottom: '一番下',
37        labelUp: '一つ上',
38        labelDown: '一つ下',
39        labelSort: '項目順序'
40    });
41    // multiselect2side の初期選択を解除
42    $('.ms2side__div select').val(null);
43    // [Sort] ボタンは混乱防止のため非表示
44    // FIXME 選択・非選択のボタンと比べて、位置ズレしている
45    $('.ms2side__div .SelSort').hide();
46});
47
48function lfFormModeDefautSetSubmit(form, mode) {
49    if (!window.confirm('初期設定で登録しても宜しいですか')) {
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">※ 正常に更新されました。</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">この内容で登録する</span></a></li>
76            <li><a class="btn-action" href="javascript:;" onclick="lfFormModeDefautSetSubmit('form1', 'defaultset', '', ''); return false;"><span class="btn-next">初期設定に戻して登録</span></a></li>
77        </ul>
78    </div>
79
80</div>
81</form>
Note: See TracBrowser for help on using the repository browser.