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
This commit is contained in:
Sam Minnee 2010-10-19 01:04:10 +00:00
parent f491f17bc0
commit 1e6da51ad4

View File

@ -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