From 6a71425ebc3f3024645394935ce1dd1d866bb648 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 16 Apr 2001 19:31:31 +0000 Subject: - improved interface a bit --- modules/book.module | 9 ++++++--- modules/book/book.module | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'modules') diff --git a/modules/book.module b/modules/book.module index 1f483b94c..8d6130798 100644 --- a/modules/book.module +++ b/modules/book.module @@ -100,6 +100,12 @@ function book_form($edit = array()) { $output .= "\n"; $output .= format_username(($edit[userid] ? $edit[userid] : $user->userid)) ."

\n"; + $output .= "". t("Subject") .":
\n"; + $output .= "

\n"; + + $output .= "". t("Category") .":
\n"; + $output .= category_form_select("book", $edit) ."

"; + if ($edit[pid]) { $node = node_get_object("nid", $edit[pid]); $output .= "". t("Parent") .":
\n"; @@ -115,9 +121,6 @@ function book_form($edit = array()) { $output .= "". t("The parent subject or category the page belongs in.") ."

\n"; } - $output .= "". t("Subject") .":
\n"; - $output .= "

\n"; - $output .= "". t("Content") .":
\n"; $output .= "
\n"; $output .= "". t("Allowed HTML tags") .": ". htmlspecialchars($allowed_html) .".

\n"; diff --git a/modules/book/book.module b/modules/book/book.module index 1f483b94c..8d6130798 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -100,6 +100,12 @@ function book_form($edit = array()) { $output .= "\n"; $output .= format_username(($edit[userid] ? $edit[userid] : $user->userid)) ."

\n"; + $output .= "". t("Subject") .":
\n"; + $output .= "

\n"; + + $output .= "". t("Category") .":
\n"; + $output .= category_form_select("book", $edit) ."

"; + if ($edit[pid]) { $node = node_get_object("nid", $edit[pid]); $output .= "". t("Parent") .":
\n"; @@ -115,9 +121,6 @@ function book_form($edit = array()) { $output .= "". t("The parent subject or category the page belongs in.") ."

\n"; } - $output .= "". t("Subject") .":
\n"; - $output .= "

\n"; - $output .= "". t("Content") .":
\n"; $output .= "
\n"; $output .= "". t("Allowed HTML tags") .": ". htmlspecialchars($allowed_html) .".

\n"; -- cgit v1.2.3