diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-04-21 14:19:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-04-21 14:19:20 +0000 |
commit | cccb132c81e82cc01ca7f014d185c1ecce864377 (patch) | |
tree | 2814a3444025cc756968c6e273b65c6475c9012e /modules/page.module | |
parent | 3f1979aa3cfa2d50789e88bd0a857dec6babb44b (diff) | |
download | brdo-cccb132c81e82cc01ca7f014d185c1ecce864377.tar.gz brdo-cccb132c81e82cc01ca7f014d185c1ecce864377.tar.bz2 |
- Addition: added a "promote" field to the node table, which
makes "promoting nodes" to the main page possible. Stories
and reviews could be promoted by default, but - on accasion
a good book entry could be manually promoted too. Thus all
existing content types can be shown on the main page, not
just stories.
Requires a SQL update, see 2.00-to-x.xx.sql!
- Addition: implemented "auto-post new submissions" feature
to disable or by-pass the moderation queue in addition to
"moderate new submissions".
TODO: admin moderation versus registered user moderation.
- Addition: added category and topic support to page.module.
Diffstat (limited to 'modules/page.module')
-rw-r--r-- | modules/page.module | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/page.module b/modules/page.module index 3886cf04b..9cf760933 100644 --- a/modules/page.module +++ b/modules/page.module @@ -36,9 +36,11 @@ function page_form($edit = array()) { $output .= "<FORM ACTION=\"admin.php?mod=page\" METHOD=\"post\">\n"; - $output .= "<B>Name:</B><BR>\n"; + $output .= "<B>Subject:</B><BR>\n"; $output .= "<INPUT NAME=\"edit[title]\" SIZE=\"55\" VALUE=\"". check_textfield($edit[title]) ."\"><P>\n"; + $output .= structure_form("page", $edit); + $output .= "<B>Body:</B><BR>\n"; $output .= "<TEXTAREA NAME=\"edit[body]\" COLS=\"55\" ROWS=\"10\" WRAP=\"virtual\">". check_textarea($edit[body]) ."</TEXTAREA><P>\n"; |