2007-07-19 12:40:05 +02:00
|
|
|
<?php
|
2007-09-14 03:01:48 +02:00
|
|
|
/**
|
|
|
|
* URL rules for the CMS module
|
2008-04-05 05:43:58 +02:00
|
|
|
*
|
2008-02-25 03:10:37 +01:00
|
|
|
* @package cms
|
2007-09-14 03:01:48 +02:00
|
|
|
*/
|
2007-10-05 02:51:45 +02:00
|
|
|
Director::addRules(50, array(
|
2007-07-19 12:40:05 +02:00
|
|
|
'processes/$Action/$ID/$Batch' => 'BatchProcess_Controller',
|
2008-02-25 03:10:37 +01:00
|
|
|
'silverstripe' => '->admin',
|
|
|
|
'cms' => '->admin',
|
2007-07-19 12:40:05 +02:00
|
|
|
'admin/security/$Action/$ID/$OtherID' => 'SecurityAdmin',
|
|
|
|
'admin/help/$Action/$ID' => 'CMSHelp',
|
|
|
|
'admin/newsletter/$Action/$ID' => 'NewsletterAdmin',
|
|
|
|
'admin/reports/$Action/$ID' => 'ReportAdmin',
|
|
|
|
'admin/assets/$Action/$ID' => 'AssetAdmin',
|
2007-08-13 02:32:48 +02:00
|
|
|
'admin/comments/$Action' => 'CommentAdmin',
|
2007-07-19 12:40:05 +02:00
|
|
|
'admin/ReportField/$Action/$ID/$Type/$OtherID' => 'ReportField_Controller',
|
|
|
|
'admin/bulkload/$Action/$ID/$OtherID' => 'BulkLoaderAdmin',
|
2007-09-15 03:08:25 +02:00
|
|
|
'admin/ImageEditor/$Action' => 'ImageEditor',
|
2007-07-19 12:40:05 +02:00
|
|
|
'admin/$Action/$ID/$OtherID' => 'CMSMain',
|
2008-02-25 03:10:37 +01:00
|
|
|
'unsubscribe/$Email/$MailingList' => 'Unsubscribe_Controller'
|
2007-07-19 12:40:05 +02:00
|
|
|
));
|
|
|
|
|
2008-04-05 05:43:58 +02:00
|
|
|
// Built-in modules
|
2008-04-06 03:57:31 +02:00
|
|
|
LeftAndMain::populate_default_menu();
|
2008-04-05 05:43:58 +02:00
|
|
|
|
|
|
|
?>
|