diff --git a/code/controllers/CMSPagesController.php b/code/controllers/CMSPagesController.php index 84ff954e..32957e09 100644 --- a/code/controllers/CMSPagesController.php +++ b/code/controllers/CMSPagesController.php @@ -39,6 +39,10 @@ class CMSPagesController extends CMSMain { return false; } + function AddLink() { + return singleton("CMSPageAddController")->Link(); + } + public function currentPageID() { return false; } diff --git a/templates/Includes/CMSPagesController_ContentToolbar.ss b/templates/Includes/CMSPagesController_ContentToolbar.ss index 9941df02..f5271236 100644 --- a/templates/Includes/CMSPagesController_ContentToolbar.ss +++ b/templates/Includes/CMSPagesController_ContentToolbar.ss @@ -13,7 +13,7 @@
- <% _t('CMSMain.AddNewButton', 'Add new') %> + <% _t('CMSMain.AddNewButton', 'Add new') %>