Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Added CMSPageHistoryController, CMSPageReportsController, marke…

…d placeholders for new functionality in AssetAdmin
  • Loading branch information...
commit bf8bc1d856602d13d51c7c1bf7e48b6ca73163c1 1 parent 8fe9283
@chillu chillu authored
View
4 _config.php
@@ -32,4 +32,6 @@
// TODO Remove once we can configure CMSMenu through static, nested configuration files
CMSMenu::remove_menu_item('CMSPageEditController');
-CMSMenu::remove_menu_item('CMSPageSettingsController');
+CMSMenu::remove_menu_item('CMSPageSettingsController');
+CMSMenu::remove_menu_item('CMSPageHistoryController');
+CMSMenu::remove_menu_item('CMSPageReportsController');
View
12 code/controller/CMSPageHistoryController.php
@@ -0,0 +1,12 @@
+<?php
+class CMSPageHistoryController extends CMSMain {
+
+ static $url_segment = 'page/history';
+ static $url_rule = '/$Action/$ID/$OtherID';
+ static $url_priority = 42;
+
+ function getEditForm($id = null, $fields = null) {
+ return "Not implemented yet";
+ }
+
+}
View
12 code/controller/CMSPageReportsController.php
@@ -0,0 +1,12 @@
+<?php
+class CMSPageReportsController extends CMSMain {
+
+ static $url_segment = 'page/reports';
+ static $url_rule = '/$Action/$ID/$OtherID';
+ static $url_priority = 42;
+
+ function getEditForm($id = null, $fields = null) {
+ return "Not implemented yet";
+ }
+
+}
View
4 templates/Includes/AssetAdmin_Content.ss
@@ -35,10 +35,10 @@
$EditForm
</div>
<div id="cms-content-treeview">
- ...
+ <i>Not implemented yet</i>
</div>
<div id="cms-content-galleryview">
- ...
+ <i>Not implemented yet</i>
</div>
</div>
View
3  templates/Includes/CMSPageHistoryController_Content.ss
@@ -0,0 +1,3 @@
+<div class="cms-content center">
+ <i>Not implemented yet</i>
+</div>
View
3  templates/Includes/CMSPageReportsController_Content.ss
@@ -0,0 +1,3 @@
+<div class="cms-content center">
+ <i>Not implemented yet</i>
+</div>
View
8 templates/Includes/CMSPagesController_Content.ss
@@ -38,10 +38,6 @@
$SiteTreeAsUL
</div>
- <div class="cms-content-toolbar">
- <% include CMSPagesController_ContentToolbar %>
- </div>
-
<div class="ss-dialog cms-page-add-form-dialog" id="cms-page-add-form" title="<% _t('CMSMain.ChoosePageType', 'Choose a page type') %>">
$AddForm
</div>
@@ -49,11 +45,11 @@
</div>
<div id="cms-content-listview">
- ...
+ <i>Not implemented yet</i>
</div>
<div id="cms-content-galleryview">
- ...
+ <i>Not implemented yet</i>
</div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.