From c9871b781460776c1a17baea3f91c91d6fd01b26 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sun, 19 May 2002 23:05:05 +0000 Subject: - updating all nodes to use taxonomy terms. - updated node modules not to cause errors when taxonomy module is disabled. - added %date variable to user mail configuration. - added hyperlinks to admin.php?mod=system (site configuration) for easy access. - usual coding style and xhtml fixes. --- modules/system/system.module | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'modules/system/system.module') diff --git a/modules/system/system.module b/modules/system/system.module index 477100f70..3e1c35ab1 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -37,6 +37,7 @@ function system_link($type) { function system_view_options() { global $conf, $cmodes, $corder; + // general settings: $output .= "

General settings

\n"; $output .= form_textfield("Name", "site_name", variable_get("site_name", "drupal"), 55, 55, "The name of this website."); @@ -123,13 +124,20 @@ function system_view($type) { $form = system_view_filters(); break; default: + foreach (module_list() as $name) { + if (module_hook($name, "conf_options")) { + $links[] = la($name, array("mod" => "system"), $name); + } + } + + $output = "". implode(" :: ", $links) ."
"; $form = system_view_options(); } $form .= form_submit("Save configuration"); $form .= form_submit("Reset to defaults"); - return form($form); + return $output . form($form); } /** -- cgit v1.2.3