Skip to content
Permalink
Browse files

Localization for PermissionCheckboxSetField

  • Loading branch information...
chillu committed Sep 28, 2012
1 parent 07bc75c commit b75c4b84ec89b1a2e23da7fe90a933ebd63863cf
Showing with 12 additions and 2 deletions.
  1. +12 −2 security/PermissionCheckboxSetField.php
@@ -206,9 +206,19 @@ public function Field($properties = array()) {
}
}
if($this->readonly) {
return "<ul id=\"{$this->id()}\" class=\"optionset checkboxsetfield{$this->extraClass()}\">\n<li class=\"help\">Assigning groups to this user will adjust the permissions they have. See the groups section for details of permissions on individual groups.</li>$options</ul>\n";
return "<ul id=\"{$this->id()}\" class=\"optionset checkboxsetfield{$this->extraClass()}\">\n" .
"<li class=\"help\">" .
_t(
'Permissions.UserPermissionsIntro',
'Assigning groups to this user will adjust the permissions they have. See the groups section for details of permissions on individual groups.'
) .
"</li>" .
$options .
"</ul>\n";
} else {
return "<ul id=\"{$this->id()}\" class=\"optionset checkboxsetfield{$this->extraClass()}\">\n$options</ul>\n";
return "<ul id=\"{$this->id()}\" class=\"optionset checkboxsetfield{$this->extraClass()}\">\n" .
$options .
"</ul>\n";
}
}

0 comments on commit b75c4b8

Please sign in to comment.
You can’t perform that action at this time.