mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Group::getCMSFields() should use Tab instances with a fixed name instead of translated one, leaving the translation for the tab title instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@109083 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
730725fe86
commit
6d5f83ad59
@ -56,7 +56,7 @@ class Group extends DataObject {
|
||||
public function getCMSFields() {
|
||||
$fields = new FieldSet(
|
||||
new TabSet("Root",
|
||||
new Tab(_t('SecurityAdmin.MEMBERS', 'Members'),
|
||||
new Tab('Members', _t('SecurityAdmin.MEMBERS', 'Members'),
|
||||
new TextField("Title", $this->fieldLabel('Title')),
|
||||
$memberList = new MemberTableField(
|
||||
$this,
|
||||
@ -67,7 +67,7 @@ class Group extends DataObject {
|
||||
)
|
||||
),
|
||||
|
||||
$permissionsTab = new Tab(_t('SecurityAdmin.PERMISSIONS', 'Permissions'),
|
||||
$permissionsTab = new Tab('Permissions', _t('SecurityAdmin.PERMISSIONS', 'Permissions'),
|
||||
new PermissionCheckboxSetField(
|
||||
'Permissions',
|
||||
false,
|
||||
@ -77,7 +77,7 @@ class Group extends DataObject {
|
||||
)
|
||||
),
|
||||
|
||||
new Tab(_t('Security.IPADDRESSES', 'IP Addresses'),
|
||||
new Tab('IPAddresses', _t('Security.IPADDRESSES', 'IP Addresses'),
|
||||
new LiteralField("", _t('SecurityAdmin.IPADDRESSESHELP',"<p>You can restrict this group to a particular
|
||||
IP address range (one range per line). <br />Ranges can be in any of the following forms: <br />
|
||||
203.96.152.12<br />
|
||||
|
Loading…
x
Reference in New Issue
Block a user