Permalink
Browse files

MINOR Added CMSPageHistoryController, CMSPageReportsController, marke…

…d placeholders for new functionality in AssetAdmin
  • Loading branch information...
1 parent 8fe9283 commit bf8bc1d856602d13d51c7c1bf7e48b6ca73163c1 @chillu chillu committed Apr 30, 2011
View
@@ -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');
@@ -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";
+ }
+
+}
@@ -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";
+ }
+
+}
@@ -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>
@@ -0,0 +1,3 @@
+<div class="cms-content center">
+ <i>Not implemented yet</i>
+</div>
@@ -0,0 +1,3 @@
+<div class="cms-content center">
+ <i>Not implemented yet</i>
+</div>
@@ -38,22 +38,18 @@
$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>
</div>
<div id="cms-content-listview">
- ...
+ <i>Not implemented yet</i>
</div>
<div id="cms-content-galleryview">
- ...
+ <i>Not implemented yet</i>
</div>
</div>

0 comments on commit bf8bc1d

Please sign in to comment.