Changeset 21441 for branches/version-2_12-dev/data/class/SC_Display.php
- Timestamp:
- 2012/02/06 11:05:15 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_Display.php
r20970 r21441 67 67 */ 68 68 function prepare($page, $is_admin = false){ 69 if (!$this->deviceSeted || !is_null($this->view)){69 if (!$this->deviceSeted || !is_null($this->view)) { 70 70 $device = ($is_admin) ? DEVICE_TYPE_ADMIN : $this->detectDevice(); 71 71 $this->setDevice($device); … … 101 101 function setDevice($device = DEVICE_TYPE_PC){ 102 102 103 switch ($device) {103 switch ($device) { 104 104 case DEVICE_TYPE_MOBILE: 105 105 $this->response->setContentType("text/html");
Note: See TracChangeset
for help on using the changeset viewer.
