mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
issue 2686 set default site title
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12197 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
14f86d28ea
commit
60b0a76f3f
5 changed files with 29 additions and 2 deletions
|
|
@ -488,8 +488,17 @@
|
|||
|
||||
if($type == "view" && $kind != 'admin'){
|
||||
$module_config= $oModuleModel->getModuleConfig('module');
|
||||
if($module_config->htmlFooter){
|
||||
Context::addHtmlFooter($module_config->htmlFooter);
|
||||
if($module_config->htmlFooter)
|
||||
{
|
||||
Context::addHtmlFooter($module_config->htmlFooter);
|
||||
}
|
||||
if($module_config->siteTitle)
|
||||
{
|
||||
$siteTitle = Context::getBrowserTitle();
|
||||
if(!$siteTitle)
|
||||
{
|
||||
Context::setBrowserTitle($module_config->siteTitle);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue