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