MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit

This commit is contained in:
skodak
2007-01-04 18:23:55 +00:00
parent 6c9c87146a
commit fa73873105
33 changed files with 73 additions and 288 deletions
+1 -6
View File
@@ -216,12 +216,7 @@ foreach ($displayauths as $auth => $name) {
admin_externalpage_print_header($adminroot);
print_simple_box(get_string('configauthenticationplugins', 'admin'), 'center', '700');
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 "<form $CFG->frametarget name=\"authmenu\" method=\"post\" action=\"auth.php\">";
echo "<input type=\"hidden\" name=\"sesskey\" value=\"".$USER->sesskey."\">";
print_table($table);