mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
6aeac37906
ENHANCEMENT Namespaced tree search parameters in CMSMain, in order to detect more reliably if a filter has been applied. Changing page search form to standard pushState behaviour, same as ModelAdmin (for both tree and list view). MINOR Refactored list view loading
22 lines
376 B
PHP
22 lines
376 B
PHP
<?php
|
|
|
|
/**
|
|
* @package cms
|
|
*/
|
|
class CMSPagesController extends CMSMain {
|
|
|
|
static $url_segment = 'pages';
|
|
static $url_rule = '/$Action/$ID/$OtherID';
|
|
static $url_priority = 40;
|
|
static $menu_title = 'Pages';
|
|
static $required_permission_codes = 'CMS_ACCESS_CMSMain';
|
|
|
|
function PreviewLink() {
|
|
return false;
|
|
}
|
|
|
|
public function currentPageID() {
|
|
return false;
|
|
}
|
|
}
|