diff --git a/code/CMSMain.php b/code/CMSMain.php index e11de3d5..c44c3161 100755 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -18,7 +18,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr // so that Director does not think they are actions of CMSMain static $url_priority = 40; - static $menu_title = 'Site Content'; + static $menu_title = 'Pages'; static $menu_priority = 10; diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index e2967dcf..c4754186 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -517,8 +517,12 @@ class LeftAndMain extends Controller { $rootLink = $this->Link('show') . '/root'; // This lets us override the tree title with an extension - if($this->hasMethod('getCMSTreeTitle')) $treeTitle = $this->getCMSTreeTitle(); - else $treeTitle = _t('LeftAndMain.SITECONTENTLEFT',"Site Content",PR_HIGH,'Root node on left'); + if($this->hasMethod('getCMSTreeTitle') && $customTreeTitle = $this->getCMSTreeTitle()) { + $treeTitle = $customTreeTitle; + } else { + $siteConfig = SiteConfig::current_site_config(); + $treeTitle = $siteConfig->Title; + } $html = "