From 234b40b25321e6ddde6815f8fff6dc33fd3317bc Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 7 Nov 2001 18:14:46 +0000 Subject: - node system: + Added the "delete node"-link: apparently it got lost during the last commit. Odd. + Changed "Edit node" to "Edit " on the 'edit node'-page of the admin section. (There a 4 "Node"s that still need to be removed though.) + Updated the initial submission page (the old submit.php) to include some descriptions. --- modules/blog.module | 3 ++- modules/blog/blog.module | 3 ++- modules/book.module | 3 ++- modules/book/book.module | 3 ++- modules/forum.module | 3 ++- modules/forum/forum.module | 3 ++- modules/node.module | 22 +++++++++++++++------- modules/node/node.module | 22 +++++++++++++++------- modules/page.module | 3 ++- modules/page/page.module | 3 ++- modules/poll.module | 3 +++ modules/poll/poll.module | 3 +++ modules/story.module | 3 ++- modules/story/story.module | 3 ++- 14 files changed, 56 insertions(+), 24 deletions(-) (limited to 'modules') diff --git a/modules/blog.module b/modules/blog.module index d4bded863..39be32ae0 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -12,7 +12,8 @@ function blog_conf_options() { function blog_node($field) { global $user; - $info = array("name" => "personal blog"); + $info["name"] = t("personal blog"); + $info["description"] = t("A blog is your personal diary or journal. It is made up of individual entries that are time stamped and are typically arranged by the day, as normal a diary. Blogs often contain links to things you've seen, or on which you agree/disagree. Since a Blog is your personal, you and only you have full control on what you publish. The most insteresting blogs, or those blogs that fits the site's topic might get promoted to the front page."); return $info[$field]; } diff --git a/modules/blog/blog.module b/modules/blog/blog.module index d4bded863..39be32ae0 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -12,7 +12,8 @@ function blog_conf_options() { function blog_node($field) { global $user; - $info = array("name" => "personal blog"); + $info["name"] = t("personal blog"); + $info["description"] = t("A blog is your personal diary or journal. It is made up of individual entries that are time stamped and are typically arranged by the day, as normal a diary. Blogs often contain links to things you've seen, or on which you agree/disagree. Since a Blog is your personal, you and only you have full control on what you publish. The most insteresting blogs, or those blogs that fits the site's topic might get promoted to the front page."); return $info[$field]; } diff --git a/modules/book.module b/modules/book.module index 129857251..8cc5692e1 100644 --- a/modules/book.module +++ b/modules/book.module @@ -4,7 +4,8 @@ function book_node($field) { global $user; - $info = array("name" => "book page"); + $info["name"] = t("book page"); + $info["description"] = t("A book is a collaborative effort on a certain subject. Users collaborate writing the pages of the book, positioning the pages in the right order, and reviewing or modifying pages previously written. You can add a new book page or you can modify existing pages."); return $info[$field]; } diff --git a/modules/book/book.module b/modules/book/book.module index 129857251..8cc5692e1 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -4,7 +4,8 @@ function book_node($field) { global $user; - $info = array("name" => "book page"); + $info["name"] = t("book page"); + $info["description"] = t("A book is a collaborative effort on a certain subject. Users collaborate writing the pages of the book, positioning the pages in the right order, and reviewing or modifying pages previously written. You can add a new book page or you can modify existing pages."); return $info[$field]; } diff --git a/modules/forum.module b/modules/forum.module index e826fb95e..354b5ad37 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -2,7 +2,8 @@ // $Id$ function forum_node($field) { - $info = array("name" => "discussion forum"); + $info["name"] = t("discussion forum"); + $info["description"] = t("A forum is a threaded discussion, enabling users to communicate about a particular topic."); return $info[$field]; } diff --git a/modules/forum/forum.module b/modules/forum/forum.module index e826fb95e..354b5ad37 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -2,7 +2,8 @@ // $Id$ function forum_node($field) { - $info = array("name" => "discussion forum"); + $info["name"] = t("discussion forum"); + $info["description"] = t("A forum is a threaded discussion, enabling users to communicate about a particular topic."); return $info[$field]; } diff --git a/modules/node.module b/modules/node.module index 2c1b6d3b1..aa9fdb942 100644 --- a/modules/node.module +++ b/modules/node.module @@ -67,7 +67,7 @@ function node_conf_options() { function node_conf_filters() { $output .= form_select(t("Enable HTML tags"), "filter_html", variable_get("filter_html", 0), array("Disabled", "Enabled"), t("Allow HTML and PHP tags in user-contributed content.")); - $output .= form_textfield(t("Allowed HTML tags"), "allowed_html", variable_get("allowed_html", "