summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-06-17 20:35:48 +0000
committerDries Buytaert <dries@buytaert.net>2001-06-17 20:35:48 +0000
commit3d73a48edcf62bed0033fcea1aebcedb23e7c197 (patch)
tree88257dc7dcfb497e8223db6cf77b0daab05911c0 /modules/node/node.module
parent03c06a86ebb9521f0a81343e1648a87c5ea9247f (diff)
downloadbrdo-3d73a48edcf62bed0033fcea1aebcedb23e7c197.tar.gz
brdo-3d73a48edcf62bed0033fcea1aebcedb23e7c197.tar.bz2
- Merged "system settings" and "module settings" into one page. IMHO
it wasn't a good idea to split them up in first place, and it turned out to be quite hard to decide where to put some variables. Also moved some variables around and even renamed a few variables while doing so. - Added a page_header() and page_footer() to all top-level .php pages.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 5a68ec7dd..3415a9fc2 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -26,6 +26,11 @@ function node_help() {
}
}
+function node_conf_options() {
+ $output .= form_select(t("Default number of nodes to display"), "default_nodes_main", variable_get("default_nodes_main", 10), array(1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9, 10 => 10, 15 => 15, 20 => 20, 25 => 25, 30 => 30), t("The default maximum number of nodes to display on the main page."));
+ return $output;
+}
+
function node_conf_filters() {
$output .= form_select(t("Enable HTML tags"), "filter_html", variable_get("filter_html", 0), array("Disabled", "Enabled"), t("Strip HTML and PHP tags."));
$output .= form_textfield(t("Allowed HTML tags"), "allowed_html", variable_get("allowed_html", "<A><B><BLOCKQUOTE><DD><DL><DT><I><LI><OL><U><UL>"), 64, 128, t("If enabled, optionally specify tags which should not be stripped. 'STYLE' attributes, 'ON' attributes and unclosed tags are always stripped."));