MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit
This commit is contained in:
+1
-6
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user