MINOR Renamed variable to avoid confusion in SecurityAdmin->SiteTreeAsUL()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64986 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-10-31 02:45:19 +00:00
parent dd8b5bafa4
commit aa3437c4d4

View File

@ -206,7 +206,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
$obj = singleton($this->stat('tree_class'));
// getChildrenAsUL is a flexible and complex way of traversing the tree
$siteTree = $obj->getChildrenAsUL("",
$siteTreeItem = $obj->getChildrenAsUL("",
' "<li id=\"record-$child->ID\" class=\"$child->class " . ($child->Locked ? " nodelete" : "") . ' .
' ($extraArg->isCurrentPage($child) ? " current" : "") . "\">" . ' .
' "<a href=\"admin/security/show/$child->ID\" >" . $child->TreeTitle() . "</a>" ',$this);
@ -214,7 +214,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
$siteTree = "<ul id=\"sitetree\" class=\"tree unformatted\">" .
"<li id=\"record-0\" class=\"Root\">" .
"<a href=\"admin/security/show/0\" ><strong>"._t('SecurityAdmin.SGROUPS',"Security groups")."</strong></a>"
. $siteTree .
. $siteTreeItem .
"</li>" .
"</ul>";