diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-06-09 08:29:49 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-06-09 08:29:49 +0000 |
commit | 366118ce45d1353a88a2fb29b60093ab2f258d41 (patch) | |
tree | 7cddb55d7d0b1bcf379376fd5a5db39d8ebae1e2 /modules/system/system.module | |
parent | 359ff9539e87b50ebfa1d9cde34b31c0d369385b (diff) | |
download | brdo-366118ce45d1353a88a2fb29b60093ab2f258d41.tar.gz brdo-366118ce45d1353a88a2fb29b60093ab2f258d41.tar.bz2 |
- Made a small cosmetic change to the modules admin page.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 2d284e814..a7913a251 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -176,14 +176,15 @@ function system_modules() { $required = array("user", "system", "watchdog"); $output .= "<table border=\"1\" cellpadding=\"2\" cellspacing=\"2\">\n"; - $output .= "<tr><th>module</th><th>description</th><th>enabled</th><th colspan=\"2\">operations</th></tr>\n"; + $output .= "<tr><th>module</th><th>description</th><th>status</th><th colspan=\"2\">operations</th></tr>\n"; foreach ($modules as $name => $module) { $output .= "<tr>"; $output .= "<td>$name</td>"; $output .= "<td>". check_output(module_invoke($name, "system", "description")) ."</td>"; - $output .= "<td align=\"center\">". (in_array($name, $required) ? "Enabled" : form_checkbox("", "status][$name", 1, $module["status"])) ."</td>"; + $output .= "<td align=\"center\">". (in_array($name, $required) ? "required" : form_checkbox("", "status][$name", 1, $module["status"])) ."</td>"; $output .= "<td>". (module_hook($name, "page") ? lm(t("view"), array("mod" => $name)) : " ") ."</td>"; $output .= "<td>". (module_hook($name, "admin") ? la(t("admin"), array("mod" => $name)) : " ") ."</td>"; + // $output .= "<td>". (module_hook($name, "help") ? la(t("help"), array("mod" => $name, "op" => "help")) : " ") ."</td>"; $output .= "</tr>\n"; if (!in_array($name, $required)) { db_query("INSERT INTO system SET name = '$name', type = 'module', filename = '$module[filename]', status = '$module[status]'"); |