Changeset 16987


Ignore:
Timestamp:
2008/01/18 00:06:34 (16 years ago)
Author:
satou
Message:

[ペイジェント決済モジュール]2.0対応のため。

Location:
branches/feature-module-update/data
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/Smarty/templates/default/admin/order/edit.tpl

    r16582 r16987  
    7777                            </tr> 
    7878                        </table> 
    79  
     79                         
     80                        <!--{* ペイジェントモジュール連携用 *}--> 
     81                        <!--{assign var=path value=`$smarty.const.MODULE_PATH`mdl_paygent/paygent_order.tpl}--> 
     82                        <!--{if file_exists($path)}--> 
     83                            <!--{include file=$path}--> 
     84                        <!--{/if}--> 
     85                         
    8086                        <!--▼お客様情報ここから--> 
    8187                        <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" "> 
  • branches/feature-module-update/data/Smarty/templates/default/admin/order/index.tpl

    r16582 r16987  
    318318                    <!--検索結果表示テーブル--> 
    319319                    <table width="840" border="0" cellspacing="1" cellpadding="5" summary=" "> 
    320  
     320                        <!--{* ペイジェントモジュール連携用 *}--> 
     321                        <!--{assign var=path value=`$smarty.const.MODULE_PATH`mdl_paygent/paygent_order_index.tpl}--> 
     322                        <!--{if file_exists($path)}--> 
     323                            <!--{include file=$path}--> 
     324                        <!--{else}--> 
    321325                        <tr bgcolor="#636469" align="center" class="fs12n"> 
    322326                            <td width="130"><span class="white">受注日</span></td> 
     
    348352                        </tr> 
    349353                        <!--{/section}--> 
    350  
     354                        <!--{/if}--> 
    351355                    </table> 
    352356                    <!--検索結果表示テーブル--> 
  • branches/feature-module-update/data/class/pages/admin/order/LC_Page_Admin_Order.php

    r16752 r16987  
    2424// {{{ requires 
    2525require_once(CLASS_PATH . "pages/LC_Page.php"); 
     26 
     27/* ペイジェント決済モジュール連携用 */ 
     28if (file_exists(MODULE_PATH . 'mdl_paygent/include.php') === TRUE) { 
     29    require_once(MODULE_PATH . 'mdl_paygent/include.php'); 
     30} 
    2631 
    2732/** 
     
    5661        $this->arrSex = $masterData->getMasterData("mtb_sex"); 
    5762        $this->arrPageMax = $masterData->getMasterData("mtb_page_max"); 
     63         
     64        /* ペイジェント決済モジュール連携用 */ 
     65        if(function_exists("sfPaygentOrderPage")) { 
     66            $this->arrDispKind = sfPaygentOrderPage(); 
     67        } 
    5868    } 
    5969 
  • branches/feature-module-update/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php

    r16741 r16987  
    2424// {{{ requires 
    2525require_once(CLASS_PATH . "pages/LC_Page.php"); 
     26 
     27/* ペイジェント決済モジュール連携用 */ 
     28if (file_exists(MODULE_PATH . 'mdl_paygent/include.php') === TRUE) { 
     29    require_once(MODULE_PATH . 'mdl_paygent/include.php'); 
     30} 
    2631 
    2732/** 
     
    5964                                 array("pref_id", "pref_name", "rank")); 
    6065        $this->arrORDERSTATUS = $masterData->getMasterData("mtb_order_status"); 
     66         
     67        /* ペイジェント決済モジュール連携用 */ 
     68        if(function_exists("sfPaygentOrderPage")) { 
     69            $this->arrDispKind = sfPaygentOrderPage(); 
     70        } 
    6171    } 
    6272 
     
    133143                $this->arrErr = $this->lfCheek($arrInfo); 
    134144            } 
     145            break; 
     146        /* ペイジェント決済モジュール連携用 */ 
     147        case 'paygent_order': 
     148            $this->paygent_return = sfPaygentOrder($_POST['paygent_type'], $order_id); 
    135149            break; 
    136150        default: 
Note: See TracChangeset for help on using the changeset viewer.