- Timestamp:
- 2012/02/17 00:50:05 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_PageLayout.php
r21514 r21526 257 257 $templateName = ''; 258 258 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; 273 274 } 274 275 $userPath = USER_REALDIR;
Note: See TracChangeset
for help on using the changeset viewer.
