Mobile fixes

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2020-03-15 11:10:24 +01:00
parent ae7e6cfc1d
commit 51a3ee72d7
19 changed files with 548 additions and 472 deletions

View File

@ -6,7 +6,11 @@ class ControllerMessageHeaders extends Controller {
public function index(){
$this->id = "content";
$this->template = "message/headers.tpl";
if(MOBILE_DEVICE) {
$this->template = "message/headers-mobile.tpl";
} else {
$this->template = "message/headers.tpl";
}
$this->layout = "common/layout-empty";
$request = Registry::get('request');

View File

@ -6,7 +6,11 @@ class ControllerMessageView extends Controller {
public function index(){
$this->id = "content";
$this->template = "message/view.tpl";
if(MOBILE_DEVICE) {
$this->template = "message/view-mobile.tpl";
} else {
$this->template = "message/view.tpl";
}
$this->layout = "common/layout-empty";
$session = Registry::get('session');