From: stronk7 Date: Sun, 3 Oct 2004 15:28:35 +0000 (+0000) Subject: admin/register.php is now using sesskey. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4fa24bb889c66669b4986362086309d4cbd59aad;p=moodle.git admin/register.php is now using sesskey. Solved a minor bug with the use of one incorrect string. Merged from MOODLE_14_STABLE --- diff --git a/admin/index.php b/admin/index.php index 6429a9cc45..979965d079 100644 --- a/admin/index.php +++ b/admin/index.php @@ -1,4 +1,4 @@ -"; echo ""; - print_single_button("register.php", NULL, get_string("registration")); + $options['sesskey'] = $USER->sesskey; + print_single_button("register.php", $options, get_string("registration")); echo ""; echo ""; diff --git a/admin/register.php b/admin/register.php index 0279a0548d..b2c47b8556 100644 --- a/admin/register.php +++ b/admin/register.php @@ -1,4 +1,4 @@ -shortname: $strregistration", "$site->fullname", "admin/index.php\">$stradministration -> $strregistration"); - print_heading($strmanagemodules); + print_heading($strregistration); print_simple_box($strregistrationinfo, "center", "70%"); echo "
";