MDL-8050 1.2 Remove all target="_top"

This commit is contained in:
skodak
2007-01-03 19:24:48 +00:00
parent ee5567d1ae
commit e25cb71041
23 changed files with 286 additions and 68 deletions
+7 -2
View File
@@ -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");