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 = ""; diff --git a/lang/en_US.php b/lang/en_US.php index 0f289cd8..1925b523 100755 --- a/lang/en_US.php +++ b/lang/en_US.php @@ -77,7 +77,7 @@ $lang['en_US']['CMSMain']['DESCREMOVED'] = 'and %s descendants'; $lang['en_US']['CMSMain']['EMAIL'] = 'Email'; $lang['en_US']['CMSMain']['GO'] = 'Go'; $lang['en_US']['CMSMain']['MENUTITLE'] = array( - 'Site Content', + 'Pages', 100, 'Menu title' ); @@ -154,7 +154,7 @@ $lang['en_US']['CMSMain_left.ss']['SEARCH'] = 'Search'; $lang['en_US']['CMSMain_left.ss']['SELECTPAGESACTIONS'] = 'Select the pages that you want to change & then click an action:'; $lang['en_US']['CMSMain_left.ss']['SHOWUNPUB'] = 'Show unpublished versions'; $lang['en_US']['CMSMain_left.ss']['SITECONTENT TITLE'] = array( - 'Site Content and Structure', + 'Page Tree', PR_HIGH ); $lang['en_US']['CMSMain_left.ss']['SITEREPORTS'] = 'Site Reports'; diff --git a/templates/Includes/CMSMain_left.ss b/templates/Includes/CMSMain_left.ss index 34452736..2e7b4ba7 100755 --- a/templates/Includes/CMSMain_left.ss +++ b/templates/Includes/CMSMain_left.ss @@ -1,6 +1,6 @@

- <% _t('SITECONTENT TITLE','Site Content and Structure',PR_HIGH) %> + <% _t('SITECONTENT TITLE','Page Tree',PR_HIGH) %>