Browse files

MINOR Syntax

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92939 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent a5070b8 commit fdc736686acce1c3ca599badcc74c9ba73044092 @chillu chillu committed Nov 22, 2009
Showing with 4 additions and 4 deletions.
  1. +4 −4 code/LeftAndMain.php
View
8 code/LeftAndMain.php
@@ -493,7 +493,7 @@ function getSiteTreeFor($className, $rootID = null, $childrenMethod = null, $fil
"</a>"
';
- $siteTree = $obj->getChildrenAsUL(
+ $html = $obj->getChildrenAsUL(
"",
$titleEval,
$this,
@@ -510,11 +510,11 @@ function getSiteTreeFor($className, $rootID = null, $childrenMethod = null, $fil
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;
}
/**

0 comments on commit fdc7366

Please sign in to comment.