Created
February 24, 2010 22:32
-
-
Save sminnee/313958 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: cms/code/LeftAndMain.php | |
| =================================================================== | |
| --- cms/code/LeftAndMain.php (revision 99837) | |
| +++ cms/code/LeftAndMain.php (working copy) | |
| @@ -484,7 +484,7 @@ | |
| // NOTE: SiteTree/CMSMain coupling :-( | |
| SiteTree::prepopuplate_permission_cache('edit', $obj->markedNodeIDs()); | |
| - SiteTree::prepopuplate_permission_cache('delete', $obj->markedNodeIDs()); | |
| + //SiteTree::prepopuplate_permission_cache('delete', $obj->markedNodeIDs()); | |
| // getChildrenAsUL is a flexible and complex way of traversing the tree | |
| $titleEval = ' | |
| Index: sapphire/core/model/SiteTree.php | |
| =================================================================== | |
| --- sapphire/core/model/SiteTree.php (revision 99837) | |
| +++ sapphire/core/model/SiteTree.php (working copy) | |
| @@ -2197,7 +2197,7 @@ | |
| if(!$this->canAddChildren()) | |
| $classes .= " nochildren"; | |
| - | |
| +/* | |
| if( | |
| !$this->canDelete() | |
| // @todo Temporary workaround for UI-problem: We can't distinguish batch selection for publication from | |
| @@ -2205,7 +2205,7 @@ | |
| || !$this->canPublish() | |
| ) | |
| $classes .= " nodelete"; | |
| - | |
| +*/ | |
| if($controller->isCurrentPage($this)) | |
| $classes .= " current"; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment