Browse files

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
  • Loading branch information...
1 parent 054a6d2 commit 75544392a2b7e537de3c8e7c3734e774b3488614 Jean-Fabien Barrios committed with sminnee Oct 8, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 code/LeftAndMain.php
View
4 code/LeftAndMain.php
@@ -34,6 +34,8 @@ class LeftAndMain extends Controller {
static $ForceReload;
+ static $help_link = 'http://userhelp.silverstripe.org';
+
static $allowed_actions = array(
'index',
'ajaxupdateparent',
@@ -109,7 +111,7 @@ function init() {
CMSMenu::add_link(
'Help',
_t('LeftAndMain.HELP', 'Help', PR_HIGH, 'Menu title'),
- 'http://userhelp.silverstripe.org'
+ self::$help_link
);
// set reading lang

0 comments on commit 7554439

Please sign in to comment.