Changeset 11861


Ignore:
Timestamp:
2007/03/14 08:36:46 (15 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/lib/slib.php

    r11860 r11861  
    23002300 
    23012301    $template_path = TEMPLATE_FTP_DIR . $tpl_name; 
    2302 sfprintr($template_path); 
    2303     if(file_exists($template_path)) { 
     2302 
     2303    if($is_mobile === true) { 
     2304        $objView = new SC_MobileView();          
     2305        $objView->assignobj($objPage); 
     2306        $objView->display(SITE_FRAME);       
     2307    } else if(file_exists($template_path)) { 
    23042308        $objView = new SC_UserView(TEMPLATE_FTP_DIR, COMPILE_FTP_DIR); 
    23052309        $objView->assignobj($objPage); 
    23062310        $objView->display($tpl_name); 
    23072311    } else { 
    2308         // ·ÈÂÓ¥µ¥¤¥È¤È£Ð£Ã¥µ¥¤¥È¤ÇÀÚ¤êʬ¤±¤ë 
    2309         if($is_mobile === true) { 
    2310             $objView = new SC_MobileView();          
    2311         } else { 
    2312             $objView = new SC_SiteView(); 
    2313         } 
     2312        $objView = new SC_SiteView(); 
    23142313        $objView->assignobj($objPage); 
    23152314        $objView->display(SITE_FRAME); 
Note: See TracChangeset for help on using the changeset viewer.