mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merged from 1.9
Improvements to the tabs for assigning and overriding roles. MDL-12120 Tabs are now all on the top row Tabs have clearer titles Other help texts improved
This commit is contained in:
parent
b8faa9a7d1
commit
21090e447a
7 changed files with 54 additions and 56 deletions
|
@ -147,12 +147,10 @@
|
|||
require_once($CFG->libdir.'/adminlib.php');
|
||||
admin_externalpage_setup('frontpageroles');
|
||||
admin_externalpage_print_header();
|
||||
$currenttab = '';
|
||||
$tabsmode = 'override';
|
||||
$currenttab = 'override';
|
||||
include_once('tabs.php');
|
||||
} else {
|
||||
$currenttab = '';
|
||||
$tabsmode = 'override';
|
||||
$currenttab = 'override';
|
||||
include_once('tabs.php');
|
||||
}
|
||||
|
||||
|
@ -168,7 +166,7 @@
|
|||
}
|
||||
|
||||
|
||||
print_heading_with_help(get_string('overriderolesin', 'role', print_context_name($context)), 'overrides');
|
||||
print_heading_with_help(get_string('overridepermissionsin', 'role', print_context_name($context)), 'overrides');
|
||||
|
||||
if ($roleid) {
|
||||
/// prints a form to swap roles
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue