summaryrefslogtreecommitdiff
path: root/modules/settings.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-05-15 18:38:57 +0000
committerDries Buytaert <dries@buytaert.net>2001-05-15 18:38:57 +0000
commit14ddbc473c3ccfc03773bd684cd41255cc951507 (patch)
tree3310c06c4323dfc5690d6e78236158b7bac2f428 /modules/settings.module
parent1da587a9d9df433952981da62dda4f2b216799c7 (diff)
downloadbrdo-14ddbc473c3ccfc03773bd684cd41255cc951507.tar.gz
brdo-14ddbc473c3ccfc03773bd684cd41255cc951507.tar.bz2
- Created 2 new functions:
+ path_uri(): returns the fully-qualified URI of your drupal site. + path_img(): returns the image directory or http://image-server.com/ in case you prefer to load-balance bandwidth usage. Replaced all occurences of the variable "site_url" with path_uri() and removed "site_url" from "setting.module". - Drastically simplified the node_save() API, which should make the node-forms more secure. Updated "story.module", "book.module", "forum.module", "page.module" and "node.module" to reflect this change. This is needs more testing so hit it, beat it, tease it. - Fixed an occasional glitch in the configuration file loading logic. - Made "queue.module" display an informative notice when an anonymous user tries accessing the moderation queue. - Updated the hard-coded information in drupal.module a bit.
Diffstat (limited to 'modules/settings.module')
-rw-r--r--modules/settings.module1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/settings.module b/modules/settings.module
index 015d457a8..2edda844a 100644
--- a/modules/settings.module
+++ b/modules/settings.module
@@ -6,7 +6,6 @@ function settings_conf() {
// general settings:
$output .= form_textfield(t("Name"), "site_name", variable_get(site_name, "drupal"), 30, 55, t("The name of this website."));
$output .= form_textfield(t("Slogan"), "site_slogan", variable_get(site_slogan, ""), 30, 55, t("The slogan of this website"));
- $output .= form_textfield(t("URL"), "site_url", variable_get(site_url, "http://drupal/"), 30, 55, t("The fully qualified URL of this website: starts with \"http://\" and ends with a trailing slash!"));
$output .= form_textfield(t("E-mail address"), "site_mail", variable_get(site_mail, "root@localhost"), 30, 55, t("A valid e-mail address for this website, used by the auto-mailer to create new user accounts."));
$output .= form_textarea(t("Footer message"), "site_footer", variable_get(site_footer, ""), 55, 3, t("This text will be displayed at the bottom of each page. Useful for adding a copyright notice to your pages."));
$output .= form_textfield(t("Anonymous user"), "anonymous", variable_get(anonymous, "Anonymous"), 30, 55, t("The name used to indicate anonymous users."));