enable preview of mobile search

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2020-03-15 11:39:40 +01:00
parent 75337bf47f
commit 18b709659e
5 changed files with 6 additions and 4 deletions

View File

@ -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";

View File

@ -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";