mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
2cdf57053f
API CHANGE Removed LeftAndMain::add_menu_item(), LeftAndMain::remove_menu_item(), LeftAndMain::replace_menu_item(), LeftAndMain::clear_menu() MINOR Disabled LeftAndMainTest, now covered by CMSMenuTest git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65095 467b73ca-7a2a-4603-9d3b-597d59a354a9
29 lines
763 B
PHP
29 lines
763 B
PHP
<?php
|
|
/**
|
|
* Extended URL rules for the CMS module
|
|
*
|
|
* @package cms
|
|
*/
|
|
Director::addRules(50, array(
|
|
'processes//$Action/$ID/$Batch' => 'BatchProcess_Controller',
|
|
'silverstripe' => '->admin',
|
|
'cms' => '->admin',
|
|
'admin/help//$Action/$ID' => 'CMSHelp',
|
|
'admin/ReportField//$Action/$ID/$Type/$OtherID' => 'ReportField_Controller',
|
|
'admin/bulkload//$Action/$ID/$OtherID' => 'BulkLoaderAdmin',
|
|
'admin//ImageEditor/$Action' => 'ImageEditor',
|
|
'admin/cms//$Action/$ID/$OtherID' => 'CMSMain',
|
|
'PageComment//$Action/$ID' => 'PageComment_Controller',
|
|
'dev/buildcache' => 'RebuildStaticCacheTask',
|
|
));
|
|
|
|
CMSMenu::populate_menu();
|
|
|
|
CMSMenu::add_link(
|
|
'Help',
|
|
_t('LeftAndMain.HELP', 'Help', PR_HIGH, 'Menu title'),
|
|
'http://userhelp.silverstripe.com'
|
|
);
|
|
|
|
?>
|