\n";
echo get_string('chooseauthmethod').': ';
diff --git a/admin/dbperformance.php b/admin/dbperformance.php
index 5d6e62d5140..77316aca5d5 100644
--- a/admin/dbperformance.php
+++ b/admin/dbperformance.php
@@ -19,14 +19,8 @@
$site = get_site();
if (!empty($topframe)) {
- if (empty($CFG->framename) or $CFG->framename=='_top') {
- $target = '';
- } else {
- $target = ' target="'.$CFG->framename.'"';
- }
-
print_header("$site->shortname: $strdatabaseperformance", "$site->fullname",
- "$stradministration -> Database performance");
+ "frametarget href=\"index.php\">$stradministration -> Database performance");
exit;
}
diff --git a/admin/enrol.php b/admin/enrol.php
index 973b18440d3..6d07cdd9398 100644
--- a/admin/enrol.php
+++ b/admin/enrol.php
@@ -52,13 +52,7 @@
print_simple_box(get_string('configenrolmentplugins', 'admin'), 'center', '700');
- if (empty($CFG->framename) or $CFG->framename=='_top') {
- $target = '';
- } else {
- $target = ' target="'.$CFG->framename.'"';
- }
-
- echo "