Changeset 17769


Ignore:
Timestamp:
2009/02/13 21:54:16 (12 years ago)
Author:
zeniya
Message:

管理画面→コンテツンツ管理→CSV出力項目設定→高度な設定から、”商品管理”以外をクリックした場合、全てが商品管理へ遷移してしまうバグの修正

Location:
branches/version-2_4/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4/data/Smarty/templates/default/admin/contents/subnavi.tpl

    r17207 r17769  
    2323*}--> 
    2424<table width="141" border="0" cellspacing="0" cellpadding="0" summary=" " id="menu_navi"> 
    25     <!--ナビ--> 
    26     <tr><td class=<!--{if $tpl_subno != 'index'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./index.php" onMouseOver="naviStyleChange('index', '#a5a5a5')" <!--{if $tpl_subno != 'index'}-->onMouseOut="naviStyleChange('index', '#636469')"<!--{/if}--> id="index"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">新着情報管理</span></a></td></tr> 
    27     <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
    28     <tr><td class=<!--{if $tpl_subno != 'recommend'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./recommend.php" onMouseOver="naviStyleChange('recommend', '#a5a5a5')" <!--{if $tpl_subno != 'recommend'}-->onMouseOut="naviStyleChange('recommend', '#636469')"<!--{/if}--> id="recommend"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">オススメ管理</span></a></td></tr> 
    29     <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
    30     <tr><td class=<!--{if $tpl_subno != 'inquiry'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./inquiry.php" onMouseOver="naviStyleChange('inquiry', '#a5a5a5')" <!--{if $tpl_subno != 'inquiry'}-->onMouseOut="naviStyleChange('inquiry', '#636469')"<!--{/if}--> id="inquiry"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">アンケート管理</span></a></td></tr> 
    31     <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
    32     <tr><td class=<!--{if $tpl_subno != 'campaign'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./campaign.php" onMouseOver="naviStyleChange('campaign', '#a5a5a5')" <!--{if $tpl_subno != 'campaign'}-->onMouseOut="naviStyleChange('campaign', '#636469')"<!--{/if}--> id="campaign"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">キャンペーン管理</span></a></td></tr> 
    33     <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
    34     <tr><td class=<!--{if $tpl_subno != 'file'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./file_manager.php" onMouseOver="naviStyleChange('file', '#a5a5a5')" <!--{if $tpl_subno != 'file'}-->onMouseOut="naviStyleChange('file', '#636469')"<!--{/if}--> id="file"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">ファイル管理</span></a></td></tr> 
    35     <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
    36     <tr><td class=<!--{if $tpl_subno != 'csv'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./csv.php" onMouseOver="naviStyleChange('csv', '#a5a5a5')" <!--{if $tpl_subno != 'csv'}-->onMouseOut="naviStyleChange('csv', '#636469')"<!--{/if}--> id="csv"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">CSV出力項目設定</span></a></td></tr> 
    37     <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
    38     <!--{if $tpl_subno == 'csv'}--> 
    39         <tr><td class=<!--{if $tpl_subno_csv != 'product'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.1}-->" onMouseOver="naviStyleChange('product_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'product'}-->onMouseOut="naviStyleChange('product_sub', '#818287')"<!--{/if}--> id="product_sub"><span class="subnavi_text">商品管理</span></a></td></tr> 
    40         <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr> 
    41         <tr><td class=<!--{if $tpl_subno_csv != 'category'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.5}-->" onMouseOver="naviStyleChange('category_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'category'}-->onMouseOut="naviStyleChange('category_sub', '#818287')"<!--{/if}--> id="category_sub"><span class="subnavi_text">カテゴリ</span></a></td></tr> 
    42         <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr> 
    43         <tr><td class=<!--{if $tpl_subno_csv != 'customer'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.2}-->" onMouseOver="naviStyleChange('customer_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'customer'}-->onMouseOut="naviStyleChange('customer_sub', '#818287')"<!--{/if}--> id="customer_sub"><span class="subnavi_text">顧客管理</span></a></td></tr> 
    44         <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr> 
    45         <tr><td class=<!--{if $tpl_subno_csv != 'order'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.3}-->" onMouseOver="naviStyleChange('order_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'order'}-->onMouseOut="naviStyleChange('order_sub', '#818287')"<!--{/if}--> id="order_sub"><span class="subnavi_text">受注管理</span></a></td></tr> 
    46         <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr> 
    47         <tr><td class=<!--{if $tpl_subno_csv != 'campaign'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.4}-->" onMouseOver="naviStyleChange('campaign_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'campaign'}-->onMouseOut="naviStyleChange('campaign_sub', '#818287')"<!--{/if}--> id="campaign_sub"><span class="subnavi_text">キャンペーン</span></a></td></tr> 
    48         <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr> 
    49         <tr><td class=<!--{if $tpl_subno_csv != 'csv_sql'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv_sql.php" onMouseOver="naviStyleChange('csv_sql', '#b7b7b7')" <!--{if $tpl_subno_csv != 'csv_sql'}-->onMouseOut="naviStyleChange('csv_sql', '#818287')"<!--{/if}--> id="csv_sql"><span class="subnavi_text">高度な設定</span></a></td></tr> 
    50         <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr> 
    51     <!--{/if}--> 
    52     <!--ナビ--> 
     25    <!--ナビ--> 
     26    <tr><td class=<!--{if $tpl_subno != 'index'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./index.php" onMouseOver="naviStyleChange('index', '#a5a5a5')" <!--{if $tpl_subno != 'index'}-->onMouseOut="naviStyleChange('index', '#636469')"<!--{/if}--> id="index"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">新着情報管理</span></a></td></tr> 
     27    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
     28    <tr><td class=<!--{if $tpl_subno != 'recommend'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./recommend.php" onMouseOver="naviStyleChange('recommend', '#a5a5a5')" <!--{if $tpl_subno != 'recommend'}-->onMouseOut="naviStyleChange('recommend', '#636469')"<!--{/if}--> id="recommend"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">オススメ管理</span></a></td></tr> 
     29    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
     30    <tr><td class=<!--{if $tpl_subno != 'inquiry'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./inquiry.php" onMouseOver="naviStyleChange('inquiry', '#a5a5a5')" <!--{if $tpl_subno != 'inquiry'}-->onMouseOut="naviStyleChange('inquiry', '#636469')"<!--{/if}--> id="inquiry"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">アンケート管理</span></a></td></tr> 
     31    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
     32    <tr><td class=<!--{if $tpl_subno != 'campaign'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./campaign.php" onMouseOver="naviStyleChange('campaign', '#a5a5a5')" <!--{if $tpl_subno != 'campaign'}-->onMouseOut="naviStyleChange('campaign', '#636469')"<!--{/if}--> id="campaign"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">キャンペーン管理</span></a></td></tr> 
     33    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
     34    <tr><td class=<!--{if $tpl_subno != 'file'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./file_manager.php" onMouseOver="naviStyleChange('file', '#a5a5a5')" <!--{if $tpl_subno != 'file'}-->onMouseOut="naviStyleChange('file', '#636469')"<!--{/if}--> id="file"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">ファイル管理</span></a></td></tr> 
     35    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
     36    <tr><td class=<!--{if $tpl_subno != 'csv'}-->"navi"<!--{else}-->"navi-on"<!--{/if}-->><a href="./csv.php" onMouseOver="naviStyleChange('csv', '#a5a5a5')" <!--{if $tpl_subno != 'csv'}-->onMouseOut="naviStyleChange('csv', '#636469')"<!--{/if}--> id="csv"><img src="<!--{$TPL_DIR}-->img/contents/icon.jpg" width="15" height="9" alt="" border="0"><span class="navi_text">CSV出力項目設定</span></a></td></tr> 
     37    <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_line.gif" width="140" height="2" alt=""></td></tr> 
     38    <!--{if $tpl_subno == 'csv'}--> 
     39        <tr><td class=<!--{if $tpl_subno_csv != 'product'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.1}-->" onMouseOver="naviStyleChange('product_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'product'}-->onMouseOut="naviStyleChange('product_sub', '#818287')"<!--{/if}--> id="product_sub"><span class="subnavi_text">商品管理</span></a></td></tr> 
     40        <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr> 
     41        <tr><td class=<!--{if $tpl_subno_csv != 'category'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.5}-->" onMouseOver="naviStyleChange('category_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'category'}-->onMouseOut="naviStyleChange('category_sub', '#818287')"<!--{/if}--> id="category_sub"><span class="subnavi_text">カテゴリ</span></a></td></tr> 
     42        <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr> 
     43        <tr><td class=<!--{if $tpl_subno_csv != 'customer'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.2}-->" onMouseOver="naviStyleChange('customer_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'customer'}-->onMouseOut="naviStyleChange('customer_sub', '#818287')"<!--{/if}--> id="customer_sub"><span class="subnavi_text">顧客管理</span></a></td></tr> 
     44        <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr> 
     45        <tr><td class=<!--{if $tpl_subno_csv != 'order'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.3}-->" onMouseOver="naviStyleChange('order_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'order'}-->onMouseOut="naviStyleChange('order_sub', '#818287')"<!--{/if}--> id="order_sub"><span class="subnavi_text">受注管理</span></a></td></tr> 
     46        <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr> 
     47        <tr><td class=<!--{if $tpl_subno_csv != 'campaign'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv.php?tpl_subno_csv=<!--{$arrSubnavi.4}-->" onMouseOver="naviStyleChange('campaign_sub', '#b7b7b7')" <!--{if $tpl_subno_csv != 'campaign'}-->onMouseOut="naviStyleChange('campaign_sub', '#818287')"<!--{/if}--> id="campaign_sub"><span class="subnavi_text">キャンペーン</span></a></td></tr> 
     48        <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr> 
     49        <tr><td class=<!--{if $tpl_subno_csv != 'csv_sql'}-->"subnavi"<!--{else}-->"subnavi-on"<!--{/if}-->><a href="./csv_sql.php?tpl_subno_csv=<!--{$arrSubnavi.6}-->" onMouseOver="naviStyleChange('csv_sql', '#b7b7b7')" <!--{if $tpl_subno_csv != 'csv_sql'}-->onMouseOut="naviStyleChange('csv_sql', '#818287')"<!--{/if}--> id="csv_sql"><span class="subnavi_text">高度な設定</span></a></td></tr> 
     50        <tr><td><img src="<!--{$TPL_DIR}-->img/contents/navi_subline.gif" width="140" height="2" alt=""></td></tr> 
     51    <!--{/if}--> 
     52    <!--ナビ--> 
    5353</table> 
  • branches/version-2_4/data/class/helper/SC_Helper_CSV.php

    r17385 r17769  
    231231    function lfMakeCSV($list) { 
    232232        $line = ""; 
    233          
    234         reset($list); 
     233 
     234        reset($list); 
    235235        while(list($key, $val) = each($list)){ 
    236236            $tmp = ""; 
     
    259259        $line = ""; 
    260260        if(is_array($list)) { 
    261             reset($arrOutputCols); 
    262             while(list($key, $val) = each($arrOutputCols)){ 
     261            reset($arrOutputCols); 
     262            while(list($key, $val) = each($arrOutputCols)){ 
    263263                $tmp = ""; 
    264264                switch($key) { 
     
    286286    function lfMakeReviewCSV($list) { 
    287287        $line = ""; 
    288         reset($list); 
    289         while(list($key, $val) = each($list)){ 
     288        reset($list); 
     289        while(list($key, $val) = each($list)){ 
    290290            $tmp = ""; 
    291291            switch($key) { 
     
    316316    function lfMakeTrackbackCSV($list) { 
    317317        $line = ""; 
    318         reset($list); 
    319         while(list($key, $val) = each($list)){ 
     318        reset($list); 
     319        while(list($key, $val) = each($list)){ 
    320320            $tmp = ""; 
    321321            switch($key) { 
     
    359359                                  3 => 'order', 
    360360                                  4 => 'campaign', 
    361                                   5 => 'category' 
     361                                  5 => 'category', 
     362                                  6 => 'csv_sql' 
    362363                                  ); 
    363364 
     
    367368                                      3 => '受注管理', 
    368369                                      4 => 'キャンペーン', 
    369                                       5 => 'カテゴリ' 
    370                                       ); 
     370                                      5 => 'カテゴリ', 
     371                                      6 => '高度な設定'); 
    371372 
    372373 
Note: See TracChangeset for help on using the changeset viewer.