From a7d52d7449840e5f54aefe4a834af3ca06a5e06d Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 18 Aug 2003 03:47:49 +0000 Subject: [PATCH] Some tidy-ups --- admin/admin.php | 7 +++++-- admin/creators.php | 5 +++++ admin/users.php | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/admin/admin.php b/admin/admin.php index 91d7a56f27..7f27e8ea74 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -60,7 +60,6 @@ "$stradministration -> $strusers -> $strassignadmins", ""); /// Add an admin if one is specified - if (!empty($_GET['add'])) { if (! add_admin($add)) { error("Could not add that admin!"); @@ -68,13 +67,17 @@ } /// Remove an admin if one is specified. - if (!empty($_GET['remove'])) { if (! remove_admin($remove)) { error("Could not remove that admin!"); } } +/// Print a help notice about this page + if (empty($add) and empty($remove) and empty($search)) { + print_simple_box("
".get_string("adminhelpassignadmins")."
", "center", "50%"); + } + /// Get all existing admins $admins = get_admins(); diff --git a/admin/creators.php b/admin/creators.php index 5c0055c3ae..d1f63071b4 100755 --- a/admin/creators.php +++ b/admin/creators.php @@ -75,6 +75,11 @@ } } +/// Print a help notice about this page + if (empty($add) and empty($remove) and empty($search)) { + print_simple_box("
".get_string("adminhelpassigncreators")."
", "center", "50%"); + } + /// Get all existing creators $creators = get_creators(); diff --git a/admin/users.php b/admin/users.php index f27b1dc675..1f7b7a72d1 100644 --- a/admin/users.php +++ b/admin/users.php @@ -15,7 +15,7 @@ $stradministration = get_string("administration"); $strusers = get_string("users"); - print_header("$site->shortname: $stradministration", "$site->fullname", + print_header("$site->shortname: $stradministration: $strusers", "$site->fullname", "$stradministration -> $strusers"); print_heading($strusers); -- 2.39.5