Ignore:
Timestamp:
2012/02/17 00:50:05 (14 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた。(主に「Switch」の項)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/helper/SC_Helper_PageLayout.php

    r21514 r21526  
    257257        $templateName = ''; 
    258258        switch ($device_type_id) { 
    259         case DEVICE_TYPE_MOBILE: 
    260             $dir = MOBILE_TEMPLATE_REALDIR; 
    261             $templateName = MOBILE_TEMPLATE_NAME; 
    262             break; 
    263  
    264         case DEVICE_TYPE_SMARTPHONE: 
    265             $dir = SMARTPHONE_TEMPLATE_REALDIR; 
    266             $templateName = SMARTPHONE_TEMPLATE_NAME; 
    267             break; 
    268  
    269         case DEVICE_TYPE_PC: 
    270         default: 
    271             $dir = TEMPLATE_REALDIR; 
    272             $templateName = TEMPLATE_NAME; 
     259            case DEVICE_TYPE_MOBILE: 
     260                $dir = MOBILE_TEMPLATE_REALDIR; 
     261                $templateName = MOBILE_TEMPLATE_NAME; 
     262                break; 
     263 
     264            case DEVICE_TYPE_SMARTPHONE: 
     265                $dir = SMARTPHONE_TEMPLATE_REALDIR; 
     266                $templateName = SMARTPHONE_TEMPLATE_NAME; 
     267                break; 
     268 
     269            case DEVICE_TYPE_PC: 
     270            default: 
     271                $dir = TEMPLATE_REALDIR; 
     272                $templateName = TEMPLATE_NAME; 
     273                break; 
    273274        } 
    274275        $userPath = USER_REALDIR; 
Note: See TracChangeset for help on using the changeset viewer.