MINOR Added CMSPageHistoryController, CMSPageReportsController, marked placeholders for new functionality in AssetAdmin

This commit is contained in:
Ingo Schommer 2011-04-30 16:49:36 +12:00
parent 8fe9283181
commit bf8bc1d856
7 changed files with 37 additions and 9 deletions

View File

@ -33,3 +33,5 @@ Object::add_extension('File', 'SiteTreeFileExtension');
// 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('CMSPageHistoryController');
CMSMenu::remove_menu_item('CMSPageReportsController');

View File

@ -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 File

@ -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 File

@ -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 File

@ -0,0 +1,3 @@
<div class="cms-content center">
<i>Not implemented yet</i>
</div>

View File

@ -0,0 +1,3 @@
<div class="cms-content center">
<i>Not implemented yet</i>
</div>

View File

@ -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>