mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Tweaks
This commit is contained in:
parent
f690562f81
commit
87a2fa0338
@ -71,7 +71,7 @@ function print_footer ($course=NULL) {
|
||||
if ($course) {
|
||||
if ($course == "home") { // special case for site home page - please do not remove
|
||||
$homelink = "<P ALIGN=center><A TITLE=\"Moodle $CFG->release ($CFG->version)\" HREF=\"http://moodle.com/\">";
|
||||
$homelink .= "<BR><IMG WIDTH=130 HEIGHT=19 ALT=\"\" SRC=\"pix/madewithmoodle2.gif\" BORDER=0></A></P>";
|
||||
$homelink .= "<BR><IMG WIDTH=130 HEIGHT=19 SRC=\"pix/madewithmoodle2.gif\" BORDER=0></A></P>";
|
||||
} else {
|
||||
$homelink = "<A TARGET=_top HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A>";
|
||||
}
|
||||
|
@ -145,7 +145,7 @@ function qualified_me() {
|
||||
|
||||
function match_referer($good_referer = "") {
|
||||
/// returns true if the referer is the same as the good_referer. If
|
||||
/// good_refer is not specified, use qualified_me as the good_referer
|
||||
/// good_referer is not specified, use qualified_me as the good_referer
|
||||
|
||||
if ($good_referer == "") {
|
||||
$good_referer = qualified_me();
|
||||
|
Loading…
x
Reference in New Issue
Block a user