mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
3c8e45f65a
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@67466 467b73ca-7a2a-4603-9d3b-597d59a354a9
30 lines
764 B
PHP
30 lines
764 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'
|
|
);
|
|
|
|
?>
|