some UI change for roles

This commit is contained in:
toyomoyo
2006-08-08 08:31:21 +00:00
parent 90f7a7d509
commit e9871557be
5 changed files with 89 additions and 48 deletions
+5 -3
View File
@@ -5,7 +5,8 @@ if ($currenttab != 'update') {
switch ($context->level) {
case CONTEXT_SYSTEM:
print_header($site->fullname, "$site->fullname","$straction");
$stradministration = get_string('administration');
print_header($site->fullname, "$site->fullname","<a href=\"../index.php\">$stradministration</a> -> $straction");
break;
case CONTEXT_PERSONAL:
@@ -110,7 +111,8 @@ if ($currenttab != 'update') {
$tabs = array($toprow);
}
print_tabs($tabs, $currenttab, $inactive);
if ($context->level != CONTEXT_SYSTEM) { // do not show tabs otherwise
print_tabs($tabs, $currenttab, $inactive);
}
?>