mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
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:
parent
48bbfeffa4
commit
61a3d03883
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user