From 1e6da51ad42537cec9de4be4c355b9bd02033bae Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 19 Oct 2010 01:04:10 +0000 Subject: [PATCH] ENHANCEMENT: 6017 - Configurable help link (from r111828) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112807 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/LeftAndMain.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index ad29bcf0..31fdebdf 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -37,6 +37,8 @@ class LeftAndMain extends Controller { */ static $tree_class = null; + static $help_link = 'http://userhelp.silverstripe.org'; + static $allowed_actions = array( 'index', 'ajaxupdateparent', @@ -116,7 +118,7 @@ class LeftAndMain extends Controller { CMSMenu::add_link( 'Help', _t('LeftAndMain.HELP', 'Help', PR_HIGH, 'Menu title'), - 'http://userhelp.silverstripe.org' + self::$help_link ); // set reading lang