* zin: refactor.
This commit is contained in:
@@ -53,10 +53,4 @@ class page extends pagebase
|
||||
empty($pageJS) ? NULL : js($pageJS)
|
||||
);
|
||||
}
|
||||
|
||||
protected function created()
|
||||
{
|
||||
$this->setDefaultProps(array('title' => data('title')));
|
||||
parent::created();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ class pagebase extends wg
|
||||
h::head
|
||||
(
|
||||
html($this->prop('metas')),
|
||||
h::title($this->props->get('title', '') . " - $lang->zentaoPMS"),
|
||||
h::title($this->props->get('title', data('title')) . " - $lang->zentaoPMS"),
|
||||
$zui ? h::import(array($config->zin->zuiPath . 'zui.zentao.umd.cjs', $config->zin->zuiPath . 'zui.zentao.css')) : null,
|
||||
$zui ? h::js
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user