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

Revision 20318, 3.3 KB checked in by AMUAMU, 13 years ago (diff)

#476 (CSV出力項目設定(高度な設定)で、一部テーブルの項目一覧が表示されない) に伴う改修
#657 (CSVダウンロードの改善) の改修
#938 (CSV出力 高度な設定 SQL登録できない) の不具合修正
#939 (CSV出力 高度な設定 出力操作で「sfGetCSVData()に移行してね。」と表示) の不具合修正
#971 (リファクタリング [管理画面]コンテンツ管理(CSV出力項目設定)) の改修

  • 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-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<link rel="stylesheet" href="<!--{$TPL_URLPATH}-->jquery.multiselect2side/css/jquery.multiselect2side.css" type="text/css" media="screen" />
25<script type="text/javascript" src="<!--{$TPL_URLPATH}-->jquery.multiselect2side/js/jquery.multiselect2side.js" ></script>
26<script type="text/javascript">
27<!--
28$().ready(function() {
29    $('#output_list').multiselect2side({
30        selectedPosition: 'right',
31        moveOptions: true,
32        labelsx: 'CSV出力しない項目',
33        labeldx: 'CSV出力する項目',
34        labelTop: '一番上',
35        labelBottom: '一番下',
36        labelUp: '一つ上',
37        labelDown: '一つ下',
38        labelSort: '項目順序'
39    });
40    // multiselect2side の初期選択を解除
41    $('.ms2side__div select').val(null);
42    // [Sort] ボタンは混乱防止のため非表示
43    // FIXME 選択・非選択のボタンと比べて、位置ズレしている
44    $('.ms2side__div .SelSort').hide();
45});
46
47function lfFormModeDefautSetSubmit(form, mode) {
48    if(!window.confirm('初期設定で登録しても宜しいですか')){
49        return;
50    }
51    return fnSetFormSubmit(form, 'mode', mode);
52}
53//-->
54</script>
55
56<form name="form1" id="form1" method="post" action="?">
57<input type="hidden" name="mode" value="confirm" />
58<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
59<input type="hidden" name="tpl_subno_csv" value="<!--{$tpl_subno_csv|h}-->" />
60<div id="admin-contents" class="contents-main">
61    <!--{if $tpl_is_update}-->
62    <span class="attention">※ 正常に更新されました。</span>
63    <!--{/if}-->
64    <span class="attention"><!--{$arrErr.tpl_subno_csv}--></span>
65    <div class="ms2side__area">
66        <span class="attention"><!--{$arrErr.output_list}--></span>
67        <select multiple name="output_list[]" style="<!--{$arrErr.output_list|sfGetErrorColor}-->;" id="output_list" size="20">
68            <!--{html_options options=$arrOptions selected=$arrSelected}-->
69        </select>
70    </div>
71
72    <div class="btn-area">
73      <ul>
74        <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'confirm', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
75        <li><a class="btn-action" href="javascript:;" onclick="lfFormModeDefautSetSubmit('form1', 'defaultset', '', ''); return false;"><span class="btn-next">初期設定に戻して登録</span></a></li>
76      </ul>
77    </div>
78
79</div>
80</form>
Note: See TracBrowser for help on using the repository browser.