section links now preserve focused view, see http://moodle.org/mod/forum/discuss.php?d=7648#37555

This commit is contained in:
gustav_delius
2004-05-29 08:40:41 +00:00
parent 41e2f90f77
commit 61cc70ae45
1356 changed files with 60588 additions and 106373 deletions
+3 -3
View File
@@ -102,7 +102,7 @@
if ($primaryadmin->id == $admin->id){
print_spacer(10, 9, false);
} else {
echo "<a href=\"admin.php?remove=$admin->id\"
echo "<a href=\"{$_SERVER['PHP_SELF']}?remove=$admin->id\"
title=\"$strremoveadmin\"><img src=\"../pix/t/right.gif\"
border=0></A>";
}
@@ -136,14 +136,14 @@
}
foreach ($users as $user) {
echo "<p align=left><a href=\"admin.php?add=$user->id\"".
echo "<p align=left><a href=\"{$_SERVER['PHP_SELF']}?add=$user->id\"".
"title=\"$straddadmin\"><img src=\"../pix/t/left.gif\"".
"border=0></a>&nbsp;&nbsp;".fullname($user).", $user->email";
}
}
if ($search or $usercount > MAX_USERS_PER_PAGE) {
echo "<form action=admin.php method=post>";
echo "<form action={$_SERVER['PHP_SELF']} method=post>";
echo "<input type=text name=search size=20>";
echo "<input type=submit value=\"$searchstring\">";
echo "</form>";