mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Added CMSPageHistoryController, CMSPageReportsController, marked placeholders for new functionality in AssetAdmin
This commit is contained in:
parent
8fe9283181
commit
bf8bc1d856
@ -32,4 +32,6 @@ Object::add_extension('File', 'SiteTreeFileExtension');
|
|||||||
|
|
||||||
// TODO Remove once we can configure CMSMenu through static, nested configuration files
|
// TODO Remove once we can configure CMSMenu through static, nested configuration files
|
||||||
CMSMenu::remove_menu_item('CMSPageEditController');
|
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');
|
12
code/controller/CMSPageHistoryController.php
Normal file
12
code/controller/CMSPageHistoryController.php
Normal 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";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
12
code/controller/CMSPageReportsController.php
Normal file
12
code/controller/CMSPageReportsController.php
Normal 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";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -35,10 +35,10 @@
|
|||||||
$EditForm
|
$EditForm
|
||||||
</div>
|
</div>
|
||||||
<div id="cms-content-treeview">
|
<div id="cms-content-treeview">
|
||||||
...
|
<i>Not implemented yet</i>
|
||||||
</div>
|
</div>
|
||||||
<div id="cms-content-galleryview">
|
<div id="cms-content-galleryview">
|
||||||
...
|
<i>Not implemented yet</i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
3
templates/Includes/CMSPageHistoryController_Content.ss
Normal file
3
templates/Includes/CMSPageHistoryController_Content.ss
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<div class="cms-content center">
|
||||||
|
<i>Not implemented yet</i>
|
||||||
|
</div>
|
3
templates/Includes/CMSPageReportsController_Content.ss
Normal file
3
templates/Includes/CMSPageReportsController_Content.ss
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<div class="cms-content center">
|
||||||
|
<i>Not implemented yet</i>
|
||||||
|
</div>
|
@ -38,10 +38,6 @@
|
|||||||
$SiteTreeAsUL
|
$SiteTreeAsUL
|
||||||
</div>
|
</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') %>">
|
<div class="ss-dialog cms-page-add-form-dialog" id="cms-page-add-form" title="<% _t('CMSMain.ChoosePageType', 'Choose a page type') %>">
|
||||||
$AddForm
|
$AddForm
|
||||||
</div>
|
</div>
|
||||||
@ -49,11 +45,11 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="cms-content-listview">
|
<div id="cms-content-listview">
|
||||||
...
|
<i>Not implemented yet</i>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="cms-content-galleryview">
|
<div id="cms-content-galleryview">
|
||||||
...
|
<i>Not implemented yet</i>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user