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:
moodler 2007-11-19 07:13:02 +00:00
parent b8faa9a7d1
commit 21090e447a
7 changed files with 54 additions and 56 deletions

View file

@ -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