mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Fixed some missing slashes
This commit is contained in:
parent
4f20f30fed
commit
c540442ff3
6 changed files with 7 additions and 7 deletions
|
@ -50,7 +50,7 @@
|
|||
notice($strpasswordchanged, "$CFG->wwwroot/user/view.php?id=$USER->id&course=$id");
|
||||
} else {
|
||||
print_header($strpasswordchanged, $strpasswordchanged, $strpasswordchanged, "");
|
||||
notice($strpasswordchanged, "$CFG->wwwroot");
|
||||
notice($strpasswordchanged, "$CFG->wwwroot/");
|
||||
}
|
||||
|
||||
print_footer();
|
||||
|
|
|
@ -62,6 +62,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
redirect($CFG->wwwroot);
|
||||
redirect("$CFG->wwwroot/");
|
||||
|
||||
?>
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
print_header(get_string("passwordconfirmchange"), get_string("passwordconfirmchange"));
|
||||
|
||||
notice(get_string('emailpasswordconfirmsent', '', $user->email), $CFG->wwwroot);
|
||||
notice(get_string('emailpasswordconfirmsent', '', $user->email), "$CFG->wwwroot/");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -71,7 +71,7 @@
|
|||
}
|
||||
|
||||
print_header(get_string("senddetails"), get_string("senddetails"),
|
||||
"<A HREF=\"$CFG->wwwroot/login\">".get_string("login")."</A> -> ".get_string("senddetails"),
|
||||
"<A HREF=\"$CFG->wwwroot/login/index.php\">".get_string("login")."</A> -> ".get_string("senddetails"),
|
||||
"form.email");
|
||||
include("forgot_password_form.html");
|
||||
print_footer();
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
redirect("$CFG->wwwroot/user/edit.php?id=$USER->id&course=$site->id");
|
||||
|
||||
} else if (empty($SESSION->wantsurl)) {
|
||||
redirect($CFG->wwwroot);
|
||||
redirect("$CFG->wwwroot/");
|
||||
|
||||
} else {
|
||||
$wantsurl = $SESSION->wantsurl;
|
||||
|
|
|
@ -15,6 +15,6 @@
|
|||
unset($SESSION);
|
||||
unset($USER);
|
||||
|
||||
redirect($CFG->wwwroot);
|
||||
redirect("$CFG->wwwroot/");
|
||||
|
||||
?>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
$emailconfirm = get_string("emailconfirm");
|
||||
print_header($emailconfirm, $emailconfirm, $emailconfirm);
|
||||
notice(get_string("emailconfirmsent", "", $user->email), $CFG->wwwroot);
|
||||
notice(get_string("emailconfirmsent", "", $user->email), "$CFG->wwwroot/");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue