$strconfigvariables = get_string("configvariables");
if ($site) {
- print_header("$site->fullname", "$site->fullname",
+ print_header("$site->shortname: $strconfigvariables", "$site->fullname",
"<A HREF=\"$CFG->wwwroot/admin/\">$stradmin</A> -> $strconfigvariables", "$focus");
print_heading($strconfigvariables);
} else {
/// At this point everything is set up and the user is an admin, so print menu
$stradministration = get_string("administration");
- print_header("$site->fullname: $stradministration","$site->fullname: $stradministration", "$stradministration");
+ print_header("$site->shortname: $stradministration","$site->fullname: $stradministration", "$stradministration");
$table->head = array (get_string("site"), get_string("courses"), get_string("users"));
$table->align = array ("CENTER", "CENTER", "CENTER");
$title = $strcomparelanguage;
break;
default:
+ $title = $strchecklanguage;
$navigation = $strchecklanguage;
break;
}
$currentlang = $CFG->lang;
}
- print_header("$site->fullname: $title", "$site->fullname",
+ print_header("$site->shortname: $title", "$site->fullname",
"<A HREF=\"index.php\">$stradministration</A> -> $navigation");
if (!$mode) {
$stradmin = get_string("administration");
$strsitesettings = get_string("sitesettings");
- print_header("$site->fullname", "$site->fullname",
+ print_header("$site->shortname: $strsitesettings", "$site->fullname",
"<A HREF=\"$CFG->wwwroot/admin/\">$stradmin</A> -> $strsitesettings", "$focus");
print_heading($strsitesettings);
$strdelete = get_string("delete");
$strdeletecheck = get_string("deletecheck");
- print_header("$site->fullname : $stredituser", $site->fullname,
+ print_header("$site->shortname: $stredituser", $site->fullname,
"<A HREF=\"$CFG->wwwroot/admin\">$stradministration</A> -> $stredituser");
if ($delete) { // Delete a selected user, after confirmation
$straction = get_string("action");
$stradd = get_string("add");
- print_header("$site->fullname: $strcategories", "$site->fullname",
+ print_header("$site->shortname: $strcategories", "$site->fullname",
"<A HREF=\"$CFG->wwwroot/admin\">$stradministration</A> -> $strcategories");
print_heading($strcategories);
$stradministration = get_string("administration");
if (!$id) {
- print_header("$site->fullname : $strdeletecourse", $site->fullname,
+ print_header("$site->shortname: $strdeletecourse", $site->fullname,
"<A HREF=\"$CFG->wwwroot/admin\">$stradministration</A> -> $strdeletecourse");
if ($courses = get_records_sql("SELECT * from course WHERE category > 0 ORDER BY fullname")) {
if (! $delete) {
$strdeletecheck = get_string("deletecheck", "", $course->shortname);
$strdeletecoursecheck = get_string("deletecoursecheck");
- print_header("$site->fullname : $strdeletecheck", $site->fullname,
+ print_header("$site->shortname: $strdeletecheck", $site->fullname,
"<A HREF=\"$CFG->wwwroot/admin\">$stradministration</A> ->
<A HREF=\"delete.php\">$strdeletecourse</A> -> $strdeletecheck");
// OK checks done, delete the course now.
$strdeletingcourse = get_string("deletingcourse", "", $course->shortname);
- print_header("$site->fullname : $strdeletingcourse", $site->fullname,
+ print_header("$site->shortname: $strdeletingcourse", $site->fullname,
"<A HREF=\"$CFG->wwwroot/admin\">$stradministration</A> ->
<A HREF=\"delete.php\">$strdeletecourse</A> -> $strdeletingcourse");
"<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A>
-> $streditcoursesettings", $focus);
} else {
- print_header("$site->shortname : $straddnewcourse", "$site->fullname",
+ print_header("$site->shortname: $straddnewcourse", "$site->fullname",
"<A HREF=\"$CFG->wwwroot/admin/\">$stradministration</A>
-> $straddnewcourse", $focus);
}
$strtoomanytoshow = get_string("toomanytoshow");
if (!$id) {
- print_header("$site->fullname: $strassignteachers", "$site->fullname",
+ print_header("$site->shortname: $strassignteachers", "$site->fullname",
"<A HREF=\"$CFG->wwwroot/admin\">$stradministration</A> -> $strassignteachers");
if ($courses = get_records_sql("SELECT * from course WHERE category > 0 ORDER BY fullname")) {
}
- print_header("$site->fullname: $course->shortname: $strassignteachers",
+ print_header("$site->shortname: $course->shortname: $strassignteachers",
"$site->fullname",
"<A HREF=\"$CFG->wwwroot/admin\">$stradministration</A> ->
<A HREF=\"teacher.php\">$strassignteachers</A> ->
$userfullname = "$user->firstname $user->lastname";
}
if ($course->category) {
- print_header("$course->fullname: $streditmyprofile", "$course->fullname: $streditmyprofile",
+ print_header("$course->shortname: $streditmyprofile", "$course->fullname: $streditmyprofile",
"<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A>
-> <A HREF=\"index.php?id=$course->id\">$strparticipants</A>
-> <A HREF=\"view.php?id=$user->id&course=$course->id\">$userfullname</A>
-> $streditmyprofile", "");
} else {
- print_header("$course->fullname: $streditmyprofile", "$course->fullname",
+ print_header("$course->shortname: $streditmyprofile", "$course->fullname",
"<A HREF=\"view.php?id=$user->id&course=$course->id\">$userfullname</A>
-> $streditmyprofile", "");
}
$straddnewuser = get_string("addnewuser");
$stradministration = get_string("administration");
- print_header("$course->fullname: $streditmyprofile", "$course->fullname",
+ print_header("$course->shortname: $streditmyprofile", "$course->fullname",
"<A HREF=\"$CFG->wwwroot/admin\">$stradministration</A> ->
$straddnewuser", "");
}