diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-04-01 10:52:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-04-01 10:52:01 +0000 |
commit | d216096ede8bad94254a32435f828c915d632fb2 (patch) | |
tree | 824487e806469e3fdca8171c55ea181d329e3705 /modules/book.module | |
parent | ce5a005d9e9fd47dfb27aec89ed00aaa95c3ce3a (diff) | |
download | brdo-d216096ede8bad94254a32435f828c915d632fb2.tar.gz brdo-d216096ede8bad94254a32435f828c915d632fb2.tar.bz2 |
- simplified some of the node stuff:
stories can no longer be scheduled -> this functionality will be made
generic for all nodes
Diffstat (limited to 'modules/book.module')
-rw-r--r-- | modules/book.module | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/modules/book.module b/modules/book.module index 6a094870a..04b0eb280 100644 --- a/modules/book.module +++ b/modules/book.module @@ -87,7 +87,7 @@ function book_toc($parent = 0, $offset = "", $toc = array()) { } function book_form($edit = array()) { - global $allowed_html, $PHP_SELF, $REQUEST_URI, $status, $theme, $user; + global $allowed_html, $PHP_SELF, $REQUEST_URI, $user; $output .= "<FORM ACTION=\"$REQUEST_URI\" METHOD=\"post\">\n"; @@ -124,16 +124,10 @@ function book_form($edit = array()) { } if (user_access($user, "book")) { - $status = array_intersect($status, array(0, 2, 3)); - $output .= "<B>". t("Weight") .":</B><BR>\n"; for ($count = 0; $count < 25; $count++) $options3 .= "<OPTION VALUE=\"$count\"". ($edit[weight] == $count ? " SELECTED" : "") .">$count</OPTION>"; $output .= "<SELECT NAME=\"edit[weight]\">$options3</SELECT><BR>\n"; $output .= "<SMALL><I>". t("The heavier nodes will sink and the lighter nodes will be positioned nearer the top.") ."</I></SMALL><P>\n"; - - $output .= "<B>". t("Status") .":</B><BR>\n"; - foreach ($status as $value=>$key) $options4 .= "<OPTION VALUE=\"$key\"". ($edit[status] == $key ? " SELECTED" : "") .">$value</OPTION>"; - $output .= "<SELECT NAME=\"edit[status]\">$options4</SELECT><P>\n"; } if (!$edit) { |