diff --git a/code/CMSMain.php b/code/CMSMain.php index ab487284..8da73934 100755 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -81,9 +81,14 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr Requirements::javascript(CMS_DIR . '/javascript/CMSMain.js'); Requirements::javascript(CMS_DIR . '/javascript/CMSMain.EditForm.js'); + Requirements::add_i18n_javascript(CMS_DIR . '/javascript/lang'); Requirements::css(CMS_DIR . '/css/CMSMain.css'); + // navigator + Requirements::css(CMS_DIR . '/css/SilverStripeNavigator.css'); + Requirements::javascript(CMS_DIR . '/javascript/SilverStripeNavigator.js'); + CMSBatchActionHandler::register('publish', 'CMSBatchAction_Publish'); CMSBatchActionHandler::register('unpublish', 'CMSBatchAction_Unpublish'); CMSBatchActionHandler::register('delete', 'CMSBatchAction_Delete');