Merged revisions 48462 via svnmerge from

http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.1asfonz

........
  r48462 | sminnee | 2008-01-23 15:49:04 +1300 (Wed, 23 Jan 2008) | 1 line
  
  Put MenuTitle in the CMS LHS tree instead of Title
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@48542 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-01-24 00:13:38 +00:00
parent e0614530c6
commit 9344321d14

View File

@ -1374,9 +1374,9 @@ class SiteTree extends DataObject {
"span title=\"" . _t('SiteTree.MODIFIEDONDRAFT', 'Modified on draft site') . "\" class=\"modified\"" : "")));
if($tag) {
return "<$tag>" . $this->Title . "</" . strtok($tag,' ') . ">";
return "<$tag>" . $this->MenuTitle . "</" . strtok($tag,' ') . ">";
} else {
return $this->Title;
return $this->MenuTitle;
}
}