Ignore:
Timestamp:
2010/03/11 10:35:11 (16 years ago)
Author:
kajiwara
Message:

正式版にナイトリービルド版をマージしてみるテスト

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tmp/version-2_5-test/data/class/SC_View.php

    r16741 r18609  
    4444        $this->_smarty->register_modifier("sfGetErrorColor", array("SC_Utils_Ex", "sfGetErrorColor")); 
    4545        $this->_smarty->register_modifier("sfTrim", array("SC_Utils_Ex", "sfTrim")); 
    46         $this->_smarty->register_modifier("sfPreTax", array("SC_Utils_Ex", "sfPreTax")); 
     46        $this->_smarty->register_modifier("sfPreTax", array("SC_Helper_DB_Ex", "sfPreTax")); 
    4747        $this->_smarty->register_modifier("sfPrePoint", array("SC_Utils_Ex", "sfPrePoint")); 
    4848        $this->_smarty->register_modifier("sfGetChecked",array("SC_Utils_Ex", "sfGetChecked")); 
     
    6161//        $this->_smarty->register_modifier("sfPrintAffTag", array("SC_Utils_Ex", "sfPrintAffTag")); 
    6262        $this->_smarty->register_modifier("sfGetCategoryId", array("SC_Utils_Ex", "sfGetCategoryId")); 
     63        $this->_smarty->register_modifier("sfNoImageMainList", array("SC_Utils_Ex", "sfNoImageMainList")); 
    6364        $this->_smarty->register_function("sfIsHTTPS", array("SC_Utils_Ex", "sfIsHTTPS")); 
    6465        $this->_smarty->register_function("sfSetErrorStyle", array("SC_Utils_Ex", "sfSetErrorStyle")); 
     
    185186 
    186187class SC_SiteView extends SC_View{ 
    187     function SC_SiteView($cart = true) { 
     188    function SC_SiteView($setPrevURL = true) { 
    188189        parent::SC_View(); 
    189190 
     
    195196        SC_Utils_Ex::sfDomainSessionStart(); 
    196197 
    197         if($cart){ 
    198             $include_dir = realpath(dirname( __FILE__)); 
    199             require_once($include_dir . "/SC_CartSession.php"); 
     198        if ($setPrevURL) { 
    200199            $objCartSess = new SC_CartSession(); 
    201200            $objCartSess->setPrevURL($_SERVER['REQUEST_URI']); 
     
    221220 
    222221class SC_MobileView extends SC_SiteView { 
    223     function SC_MobileView() { 
    224         parent::SC_SiteView(); 
     222    function SC_MobileView($setPrevURL = true) { 
     223        parent::SC_SiteView($setPrevURL); 
    225224        $this->_smarty->template_dir = MOBILE_TEMPLATE_DIR; 
    226225        $this->_smarty->compile_dir = MOBILE_COMPILE_DIR; 
Note: See TracChangeset for help on using the changeset viewer.