Changeset 2270 for temp/trunk


Ignore:
Timestamp:
2006/08/28 13:26:28 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_View.php

    r2264 r2270  
    99     
    1010    // ¥³¥ó¥¹¥È¥é¥¯¥¿ 
    11     function SC_View() { 
     11    function SC_View($siteinfo = true) { 
    1212        global $SC_VIEW_PHP_DIR; 
    1313 
     
    3838            $this->time_start = time(); 
    3939        } 
    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          
    4940    } 
    5041     
     
    8172            $this->_smarty->assign($key, $value); 
    8273        } 
     74         
     75 
    8376        if($siteinfo) { 
    8477            if(!defined('LOAD_SITEINFO')) { 
    85                 // ¥µ¥¤¥È¾ðÊó¤ò³ä¤êÅö¤Æ¤ë 
     78                // ¥µ¥¤¥È¾ðÊó¤ò¼èÆÀ¤¹¤ë 
    8679                $objSiteInfo = new SC_SiteInfo(); 
    8780                $arrInfo['arrSiteInfo'] = $objSiteInfo->data; 
     
    9184                $arrInfo['arrSiteInfo']['pref'] = $arrPref[$arrInfo['arrSiteInfo']['pref']]; 
    9285                 
     86                // ¥µ¥¤¥È¾ðÊó¤ò³ä¤êÅö¤Æ¤ë 
    9387                foreach ($arrInfo as $key => $value){ 
    9488                    $this->_smarty->assign($key, $value); 
    9589                } 
     90                 
    9691                define('LOAD_SITEINFO', 1); 
    9792            } 
Note: See TracChangeset for help on using the changeset viewer.