ENHANCEMENT: 6017 - Configurable help link

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@111828 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Jean-Fabien Barrios 2010-10-08 03:35:50 +00:00 committed by Sam Minnee
parent 054a6d2270
commit 75544392a2

View File

@ -34,6 +34,8 @@ class LeftAndMain extends Controller {
static $ForceReload; static $ForceReload;
static $help_link = 'http://userhelp.silverstripe.org';
static $allowed_actions = array( static $allowed_actions = array(
'index', 'index',
'ajaxupdateparent', 'ajaxupdateparent',
@ -109,7 +111,7 @@ class LeftAndMain extends Controller {
CMSMenu::add_link( CMSMenu::add_link(
'Help', 'Help',
_t('LeftAndMain.HELP', 'Help', PR_HIGH, 'Menu title'), _t('LeftAndMain.HELP', 'Help', PR_HIGH, 'Menu title'),
'http://userhelp.silverstripe.org' self::$help_link
); );
// set reading lang // set reading lang