mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
9c81737a57
- including prototype.js in a website had caused jQuery to be loaded as well through base.js - including greybox.js had caused the screen to become unscrollable because of an (unrelated) inclusion of LeftAndMain.js which sets <body> to overflow:hidden on javascript page load git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@67401 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'
|
|
);
|
|
|
|
?>
|