mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
e0614530c6
commit
9344321d14
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user