MINOR Fixed indentation and documentation in CMSMain

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@92658 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 02:38:35 +00:00
parent 48bbfeffa4
commit 61a3d03883

View File

@ -226,11 +226,11 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
if(!Director::fileExists($closedFolderImage) || $option = "file") $closedFolderImage = $fileImage;
$js .= <<<JS
_TREE_ICONS['$class'] = {
fileIcon: '$fileImage',
openFolderIcon: '$openFolderImage',
closedFolderIcon: '$closedFolderImage'
};
_TREE_ICONS['$class'] = {
fileIcon: '$fileImage',
openFolderIcon: '$openFolderImage',
closedFolderIcon: '$closedFolderImage'
};
JS;
}
@ -352,6 +352,9 @@ JS;
}
}
/**
* Calls {@link SiteTree->getCMSFields()}
*/
public function getEditForm($id) {
$record = $this->getRecord($id);