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:
ovclas 2012-11-13 08:14:12 +00:00
parent 14f86d28ea
commit 60b0a76f3f
5 changed files with 29 additions and 2 deletions

View file

@ -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);
}
}
}