23 lines
431 B
PHP
23 lines
431 B
PHP
<?php
|
|
|
|
class AdminCmsPsController extends ModuleAdminController {
|
|
|
|
public function __construct() {
|
|
$this->display = 'view';
|
|
$this->bootstrap = true;
|
|
|
|
parent::__construct();
|
|
}
|
|
|
|
public function renderView() {
|
|
$pathTemplate = dirname(dirname(__DIR__)).'/views/templates/admin';
|
|
|
|
$this->context->smarty->assign(array(
|
|
'months' => 'test',
|
|
));
|
|
|
|
return $this->context->smarty->fetch($pathTemplate.'/cms.tpl');
|
|
}
|
|
|
|
}
|