Permalink
Browse files

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
  • Loading branch information...
1 parent 48bbfef commit 61a3d038834286c800c047efcef77468226fc1c3 @chillu chillu committed Nov 21, 2009
Showing with 8 additions and 5 deletions.
  1. +8 −5 code/CMSMain.php
View
13 code/CMSMain.php
@@ -226,11 +226,11 @@ public function generateTreeStylingJS() {
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 @@ public function getRecord($id) {
}
}
+ /**
+ * Calls {@link SiteTree->getCMSFields()}
+ */
public function getEditForm($id) {
$record = $this->getRecord($id);

0 comments on commit 61a3d03

Please sign in to comment.