summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-19 23:05:05 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-19 23:05:05 +0000
commitc9871b781460776c1a17baea3f91c91d6fd01b26 (patch)
tree8853c8fb6f68723258cf33496f542ce1e7d48d05 /modules/system/system.module
parent87cdd8918148a5997e012edf81a07e5dda5b5dc2 (diff)
downloadbrdo-c9871b781460776c1a17baea3f91c91d6fd01b26.tar.gz
brdo-c9871b781460776c1a17baea3f91c91d6fd01b26.tar.bz2
- 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.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module10
1 files changed, 9 insertions, 1 deletions
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 .= "<h3>General settings</h3>\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 = "<small>". implode(" :: ", $links) ."</small><hr />";
$form = system_view_options();
}
$form .= form_submit("Save configuration");
$form .= form_submit("Reset to defaults");
- return form($form);
+ return $output . form($form);
}
/**