MINOR Syntax

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92939 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-22 08:23:14 +00:00
parent a5070b858a
commit fdc736686a

View File

@ -493,7 +493,7 @@ class LeftAndMain extends Controller {
"</a>"
';
$siteTree = $obj->getChildrenAsUL(
$html = $obj->getChildrenAsUL(
"",
$titleEval,
$this,
@ -510,11 +510,11 @@ class LeftAndMain extends Controller {
if($this->hasMethod('getCMSTreeTitle')) $treeTitle = $this->getCMSTreeTitle();
else $treeTitle = _t('LeftAndMain.SITECONTENTLEFT',"Site Content",PR_HIGH,'Root node on left');
$siteTree = "<ul id=\"sitetree\" class=\"tree unformatted\"><li id=\"record-0\" class=\"Root nodelete\"><a href=\"$rootLink\"><strong>$treeTitle</strong></a>"
. $siteTree . "</li></ul>";
$html = "<ul id=\"sitetree\" class=\"tree unformatted\"><li id=\"record-0\" class=\"Root nodelete\"><a href=\"$rootLink\"><strong>$treeTitle</strong></a>"
. $html . "</li></ul>";
}
return $siteTree;
return $html;
}
/**