mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
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:
parent
f491f17bc0
commit
1e6da51ad4
@ -37,6 +37,8 @@ class LeftAndMain extends Controller {
|
|||||||
*/
|
*/
|
||||||
static $tree_class = null;
|
static $tree_class = null;
|
||||||
|
|
||||||
|
static $help_link = 'http://userhelp.silverstripe.org';
|
||||||
|
|
||||||
static $allowed_actions = array(
|
static $allowed_actions = array(
|
||||||
'index',
|
'index',
|
||||||
'ajaxupdateparent',
|
'ajaxupdateparent',
|
||||||
@ -116,7 +118,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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user