mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:27:03 +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