Ignore:
Timestamp:
2007/12/25 10:37:59 (15 years ago)
Author:
satou
Message:

[ペイジェント決済モジュール]
モバイル対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/data/downloads/module/mdl_paygent/mdl_paygent.inc

    r16933 r16946  
    122122// ʸ»úÆþÎÏÀ©¸Â¡Êbyte¡Ë 
    123123define ("PAYGENT_BANK_STEXT_LEN", "12");    // ATM¡¤¶ä¹Ô¥Í¥Ã¥È¤ÎÍøÍѼÔ̾¡Ê´Á»ú¡¤¥«¥Ê¡Ë 
    124 define ("PAYGENT_CONVENI_STEXT_LEN", "14"); // ¥³¥ó¥Ó¥Ë¤ÎÍøÍѼÔ̾¡Ê´Á»ú¡Ë 
    125 define ("PAYGENT_CONVENI_MTEXT_LEN", "20"); // ¥³¥ó¥Ó¥Ë¤ÎÍøÍѼÔ̾¡Ê¥«¥Ê¡Ë 
     124define ("PAYGENT_CONVENI_STEXT_LEN", "14"); // ¥³¥ó¥Ó¥Ë¤ÎÍøÍѼÔ̾¡Ê¥«¥Ê¡Ë 
     125define ("PAYGENT_CONVENI_MTEXT_LEN", "20"); // ¥³¥ó¥Ó¥Ë¤ÎÍøÍѼÔ̾¡Ê´Á»ú¡Ë 
    126126 
    127127//==================================================================================== 
     
    511511        $arrMemo['payment_limit_date'] = sfSetConvMSG("¤ª»Ùʧ´üÆü", date("Yǯm·îdÆü", strtotime($arrRes[0]['payment_limit_date']))); 
    512512        // ¥Ø¥ë¥×²èÌÌ 
    513         $arrMemo['help_url'] = sfSetConvMSG("¤ª»ÙʧÊýË¡¤ÎÀâÌÀ", "http://www.paygent.co.jp/service/pay_cvs.html");  
     513        if (GC_MobileUserAgent::isMobile()) { 
     514            $arrMemo['help_url'] = sfSetConvMSG("¤ª»ÙʧÊýË¡¤ÎÀâÌÀ", "http://www.paygent.co.jp/mb/pay_help/conv.html"); 
     515        } else { 
     516            $arrMemo['help_url'] = sfSetConvMSG("¤ª»ÙʧÊýË¡¤ÎÀâÌÀ", "http://www.paygent.co.jp/service/pay_cvs.html"); 
     517        }  
    514518                 
    515519        // ¼õÃí¥Æ¡¼¥Ö¥ë¤ËÊݸ 
     
    528532        $arrMemo['payment_limit_date'] = sfSetConvMSG("¤ª»Ùʧ´üÆü", date("Yǯm·îdÆü", strtotime($arrRes[0]['payment_limit_date']))); 
    529533        // ¥Ø¥ë¥×²èÌÌ 
    530         $arrMemo['help_url'] = sfSetConvMSG("¤ª»ÙʧÊýË¡¤ÎÀâÌÀ", "http://www.paygent.co.jp/service/pay_atm.html");  
     534        if (GC_MobileUserAgent::isMobile()) { 
     535            $arrMemo['help_url'] = sfSetConvMSG("¤ª»ÙʧÊýË¡¤ÎÀâÌÀ", "http://www.paygent.co.jp/mb/pay_help/atm.html"); 
     536        } else { 
     537            $arrMemo['help_url'] = sfSetConvMSG("¤ª»ÙʧÊýË¡¤ÎÀâÌÀ", "http://www.paygent.co.jp/service/pay_atm.html"); 
     538        } 
    531539         
    532540        // ¼õÃí¥Æ¡¼¥Ö¥ë¤ËÊݸ 
Note: See TracChangeset for help on using the changeset viewer.