MDL-8050 1.2 Remove all target="_top"
This commit is contained in:
+7
-2
@@ -123,8 +123,13 @@
|
||||
|
||||
admin_externalpage_print_header($adminroot);
|
||||
|
||||
|
||||
echo "<form target=\"{$CFG->framename}\" name=\"authmenu\" method=\"post\" action=\"auth.php\">";
|
||||
if (empty($CFG->framename) or $CFG->framename=='_top') {
|
||||
$target = '';
|
||||
} else {
|
||||
$target = ' target="'.$CFG->framename.'"';
|
||||
}
|
||||
|
||||
echo "<form$target name=\"authmenu\" method=\"post\" action=\"auth.php\">";
|
||||
echo "<input type=\"hidden\" name=\"sesskey\" value=\"".$USER->sesskey."\" />";
|
||||
echo "<center><b>";
|
||||
print_string("chooseauthmethod","auth");
|
||||
|
||||
Reference in New Issue
Block a user