mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
054a6d2270
commit
75544392a2
@ -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 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user