Changeset 15697


Ignore:
Timestamp:
2007/09/13 19:15:11 (17 years ago)
Author:
nanasess
Message:

default_modifier 修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/SC_View.php

    r15650 r15697  
    4848        $this->_smarty->register_function("sfIsHTTPS", array("SC_Utils_Ex", "sfIsHTTPS")); 
    4949        $this->_smarty->register_function("sfSetErrorStyle", array("SC_Utils_Ex", "sfSetErrorStyle")); 
    50         $this->_smarty->default_modifiers = array('script_escape'); 
     50        $this->_smarty->register_function("printXMLDeclaration", array("SC_Utils_Ex", "printXMLDeclaration")); 
     51        $this->_smarty->default_modifiers = array('script_escape', "escape"); 
    5152 
    5253        if(ADMIN_MODE == '1') { 
     
    142143        $this->_smarty->template_dir = TEMPLATE_ADMIN_DIR; 
    143144        $this->_smarty->compile_dir = COMPILE_ADMIN_DIR; 
     145        $this->_smarty->default_modifiers = array('script_escape'); 
    144146        $this->initpath(); 
    145147    } 
Note: See TracChangeset for help on using the changeset viewer.