mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-07-28 10:55:00 +02:00
@@ -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');
|
||||
|
@@ -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');
|
||||
|
Reference in New Issue
Block a user