mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Add site subtitle
This commit is contained in:
parent
49a42abddb
commit
e90f60de22
7 changed files with 71 additions and 28 deletions
|
|
@ -285,7 +285,16 @@ class ModuleHandler extends Handler
|
|||
$this->module = $module_info->module;
|
||||
$this->mid = $module_info->mid;
|
||||
$this->module_info = $module_info;
|
||||
Context::setBrowserTitle($module_info->browser_title);
|
||||
if ($module_info->mid == $site_module_info->mid)
|
||||
{
|
||||
Context::setBrowserTitle(Context::getSiteTitle());
|
||||
Context::addBrowserTitle(Context::getSiteSubtitle());
|
||||
}
|
||||
else
|
||||
{
|
||||
Context::setBrowserTitle(Context::getSiteTitle());
|
||||
Context::addBrowserTitle($module_info->browser_title);
|
||||
}
|
||||
|
||||
$viewType = (Mobile::isFromMobilePhone()) ? 'M' : 'P';
|
||||
$targetSrl = (Mobile::isFromMobilePhone()) ? 'mlayout_srl' : 'layout_srl';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue