partial rewrite of role manage script, improved notice_yesno(), other minor fixes and changes; I will work on assign and overide tomorrow ;-)

This commit is contained in:
skodak 2006-09-21 22:34:45 +00:00
parent e78a3505c5
commit b5959f3071
8 changed files with 413 additions and 133 deletions

View file

@ -11,9 +11,15 @@ $string['capabilities'] = 'Capabilities';
$string['currentrole'] = 'Current role';
$string['currentcontext'] = 'Current context';
$string['defineroles'] = 'Define roles';
$string['deleterolesure'] = '<p>Are you sure, that you want to delete role \"$a->name ($a->shortname)\"?</p><p>Currently this role is assigned to $a->count users.</p>';
$string['editrole'] = 'Edit role';
$string['errorbadrolename'] = 'Incorrect role name';
$string['errorexistsrolename'] = 'Role name already exists';
$string['errorbadroleshortname'] = 'Incorrect role name';
$string['errorexistsroleshortname'] = 'Role name already exists';
$string['existingusers'] = '$a existing users';
$string['inherit'] = 'Inherit';
$string['listallroles'] = 'List all roles...';
$string['listallroles'] = 'List all roles';
$string['manageroles'] = 'Manage roles';
$string['metaassignerror'] = 'Can not assign this role to user \"$a\" because Manage metacourse capability is needed.';
$string['metaunassignerror'] = 'Role of user \"$a\" was automatically reassigned, please unassign the role in child courses instead.';
@ -26,13 +32,11 @@ $string['prevent'] = 'Prevent';
$string['prohibit'] = 'Prohibit';
$string['risks'] = 'Risks';
$string['roleassignments'] = 'Role assignments';
$string['roledescription'] = 'Role description';
$string['rolename'] = 'Role name';
$string['roleshortname'] = 'Role short name (ASCII)';
$string['roletoassign'] = 'Role to assign';
$string['roletooverride'] = 'Role to override';
$string['roles'] = 'Roles';
$string['selectrole'] = 'Select a role';
$string['viewrole'] = 'View role details';
$string['site:doanything'] = 'Allowed to do everything';
$string['legacy:guest'] = 'LEGACY ROLE: Guest';
@ -100,4 +104,4 @@ $string['question:export'] = 'Export questions';
$string['question:managecategory'] = 'Manage question category';
$string['question:manage'] = 'Manage questions';
?>
?>