mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 03:17:01 +02:00
@ -6,7 +6,7 @@ class ControllerCommonLayoutSearch extends Controller {
|
||||
|
||||
$this->data['title'] = $this->document->title;
|
||||
|
||||
if(MOBILE_DEVICE) {
|
||||
if(ENABLE_MOBILE_PREVIEW && MOBILE_DEVICE) {
|
||||
$this->template = "common/layout-search-mobile.tpl";
|
||||
} else {
|
||||
$this->template = "common/layout-search.tpl";
|
||||
|
@ -6,7 +6,7 @@ class ControllerMessageHeaders extends Controller {
|
||||
public function index(){
|
||||
|
||||
$this->id = "content";
|
||||
if(MOBILE_DEVICE) {
|
||||
if(ENABLE_MOBILE_PREVIEW && MOBILE_DEVICE) {
|
||||
$this->template = "message/headers-mobile.tpl";
|
||||
} else {
|
||||
$this->template = "message/headers.tpl";
|
||||
|
@ -6,7 +6,7 @@ class ControllerMessageView extends Controller {
|
||||
public function index(){
|
||||
|
||||
$this->id = "content";
|
||||
if(MOBILE_DEVICE) {
|
||||
if(ENABLE_MOBILE_PREVIEW && MOBILE_DEVICE) {
|
||||
$this->template = "message/view-mobile.tpl";
|
||||
} else {
|
||||
$this->template = "message/view.tpl";
|
||||
|
@ -23,7 +23,7 @@ class ControllerSearchHelper extends Controller {
|
||||
public function index(){
|
||||
|
||||
$this->id = "content";
|
||||
if(MOBILE_DEVICE) {
|
||||
if(ENABLE_MOBILE_PREVIEW && MOBILE_DEVICE) {
|
||||
$this->template = "search/helper-mobile.tpl";
|
||||
} else {
|
||||
$this->template = "search/helper.tpl";
|
||||
|
Reference in New Issue
Block a user