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 -1
View File
@@ -19,8 +19,14 @@
$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",
"<a target=\"$CFG->framename\" href=\"index.php\">$stradministration</a> -> Database performance");
"<a$target href=\"index.php\">$stradministration</a> -> Database performance");
exit;
}