Changeset 2249 for temp/trunk/data/class/SC_View.php
- Timestamp:
- 2006/08/28 13:03:29 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/class/SC_View.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_View.php
r2244 r2249 6 6 7 7 var $_smarty; 8 var $arrInfo; // ¥µ¥¤¥È¾ðÊó 8 9 9 10 // ¥³¥ó¥¹¥È¥é¥¯¥¿ 10 11 function SC_View() { 11 12 global $SC_VIEW_PHP_DIR; 12 13 13 14 $this->_smarty = new Smarty; 14 15 $this->_smarty->left_delimiter = '<!--{'; … … 33 34 $this->_smarty->register_function("sf_mktime","sf_mktime"); 34 35 $this->_smarty->register_function("sf_date","sf_date"); 35 36 36 37 if(ADMIN_MODE == '1') { 37 38 $this->time_start = time(); 38 39 } 40 41 // ¥µ¥¤¥È¾ðÊó¤ò³ä¤êÅö¤Æ¤ë 42 $objSiteInfo = new SC_SiteInfo(); 43 $this->arrInfo['arrSiteInfo'] = $objSiteInfo->data; 44 45 // ÅÔÆ»Éܸ©Ì¾¤òÊÑ´¹ 46 global $arrPref; 47 $this->arrInfo['arrSiteInfo']['pref'] = $arrPref[$arrInfo['arrSiteInfo']['pref']]; 48 39 49 } 40 50 … … 67 77 } 68 78 79 // ¥µ¥¤¥È¾ðÊó¤ò¤¹¤Ù¤Æ³ä¤êÅö¤Æ¤ë 80 foreach ($this->arrInfo as $key => $value){ 81 $this->_smarty->assign($key, $value); 82 } 69 83 if($siteinfo) { 70 84 // ¥µ¥¤¥È¾ðÊó¤ò³ä¤êÅö¤Æ¤ë … … 106 120 $this->initpath(); 107 121 } 108 122 109 123 function printr($data){ 110 124 print_r($data);
Note: See TracChangeset
for help on using the changeset viewer.
