source: branches/comu-ver2/data/Smarty/templates/default/admin/order/subnavi.tpl @ 17359

Revision 17359, 2.9 KB checked in by Seasoft, 14 years ago (diff)

CSSクラス "on" の設定条件誤り(演算子違い)を訂正。
また、条件の不足に対応。(従来は1ページ単位で表示していたものを共通で利用しているため。他の subnavi.tpl も一通り条件が不足している。)

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2008 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<script type="text/javascript">
25<!--
26// モードとキーを指定してSUBMITを行う。
27function fnSubFormStatusSubmit(mode, keyname, keyid) {
28    document.subFormStatus['mode'].value = mode;
29    if(keyname != "" && keyid != "") {
30        document.subFormStatus[keyname].value = keyid;
31    }
32    document.subFormStatus.submit();
33}
34//-->
35</script>
36<form name="subFormStatus" id="subFormStatus" method="post" action="<!--{$smarty.const.URL_DIR}-->admin/order/status.php" >
37<input type="hidden" name="mode" value="" />
38<input type="hidden" name="status" value="<!--{if $arrForm.status == ""}-->1<!--{else}--><!--{$arrForm.status}--><!--{/if}-->" />
39<input type="hidden" name="search_pageno" value="<!--{$tpl_pageno}-->" />
40<input type="hidden" name="order_id" value="" />
41<ul id="navi-order" class="level1">
42    <li id="navi-order-index"
43        class="<!--{if $tpl_mainno == 'order' && $tpl_subno == 'index'}-->on<!--{/if}-->"
44    ><a href="<!--{$smarty.const.URL_DIR}-->admin/order/index.php"><span>受注管理</span></a></li>
45    <li id="navi-order-add"
46        class="<!--{if $tpl_mainno == 'order' && $tpl_subno == 'add'}-->on<!--{/if}-->"
47    ><a href="<!--{$smarty.const.URL_DIR}-->admin/order/edit.php?mode=add"><span>新規受注入力</span></a></li>
48    <li id="navi-order-status"
49        class="<!--{if $tpl_mainno == 'order' && $tpl_subno == 'status'}-->on<!--{/if}-->"
50    ><a href="<!--{$smarty.const.URL_DIR}-->admin/order/status.php"><span>ステータス管理</span></a>
51        <ul id="navi-status-sub" class="level2">
52            <!--{foreach key=key item=item from=$arrORDERSTATUS}-->
53                <li id="navi-status-<!--{$key}-->"
54                    class="<!--{if $tpl_mainno == 'order' && $tpl_subno == 'status' && ($key == $SelectedStatus || $key == $defaultstatus)}-->on<!--{/if}-->"
55                ><a href="#" onclick="document.form1.search_pageno.value='1'; fnModeSubmit('search','status','<!--{$key}-->' );"><span><!--{$item}--></span></a></li>
56            <!--{/foreach}-->
57        </ul>
58    </li>
59</ul>
60</form>
Note: See TracBrowser for help on using the repository browser.