mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Add browser title for most items on the member menu
This commit is contained in:
parent
e072ba0391
commit
f6a9d49db1
4 changed files with 40 additions and 1 deletions
|
|
@ -848,10 +848,15 @@ class ModuleHandler extends Handler
|
|||
$seo_title = config('seo.subpage_title') ?: '$SITE_TITLE - $SUBPAGE_TITLE';
|
||||
}
|
||||
$seo_title = Context::replaceUserLang($seo_title);
|
||||
$subpage_title = $module_info->browser_title;
|
||||
if (in_array($module_info->module, ['member']))
|
||||
{
|
||||
$subpage_title = '';
|
||||
}
|
||||
Context::setBrowserTitle($seo_title, array(
|
||||
'site_title' => Context::getSiteTitle(),
|
||||
'site_subtitle' => Context::getSiteSubtitle(),
|
||||
'subpage_title' => $module_info->browser_title,
|
||||
'subpage_title' => $subpage_title,
|
||||
'page' => Context::get('page') ?: 1,
|
||||
));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue