diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-05-20 13:51:40 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-05-20 13:51:40 +0000 |
commit | 20397ad3d9dad39670ed92923d2513bd89c7b0bb (patch) | |
tree | 1e16b41f8312007e0f0805c6db7c94813f5c05fb /modules/box.module | |
parent | 3fbd49d786e57ebde5736793a5050cda8796205d (diff) | |
download | brdo-20397ad3d9dad39670ed92923d2513bd89c7b0bb.tar.gz brdo-20397ad3d9dad39670ed92923d2513bd89c7b0bb.tar.bz2 |
CHANGES
- Redid settings.module and even renamed it to conf.module.
* Settings are now grouped in basic categories like "system
settings", "module settings" and "filters".
* Added new settings to make Drupal easier to configure and
to make some aspects like the watchdog scale better.
- Renamed includes/settings.php to includes/conf.php.
- Added filter support to conf.module and introduced filter hooks so
modules can implement and export new filters. Example filters are
an HTML filter (implemented), a profanity filter, an url converter,
ASCII smileys to images filter and so on ...
- Reworked the check_* functions: user contributed content/input is
only verified and filtered once in its lifespan.
NOTES
- Altough this is a large commit, no database changes are required.
Diffstat (limited to 'modules/box.module')
-rw-r--r-- | modules/box.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/box.module b/modules/box.module index 5edc748ac..5ae9aa538 100644 --- a/modules/box.module +++ b/modules/box.module @@ -104,7 +104,7 @@ function box_admin_edit($id) { $output .= "<P>\n"; $output .= " <B>Subject:</B><BR>\n"; - $output .= " <INPUT TYPE=\"text\" NAME=\"subject\" VALUE=\"". check_textfield($block->subject) ."\">\n"; + $output .= " <INPUT TYPE=\"text\" NAME=\"subject\" VALUE=\"". check_form($block->subject) ."\">\n"; $output .= "</P>\n"; $output .= "<P>\n"; $output .= " <B>Content:</B><BR>\n"; @@ -120,11 +120,11 @@ function box_admin_edit($id) { $output .= "</P>\n"; $output .= "<P>\n"; $output .= " <B>Description:</B><BR>\n"; - $output .= " <INPUT TYPE=\"text\" NAME=\"info\" VALUE=\"". check_textfield($block->info) ."\">\n"; + $output .= " <INPUT TYPE=\"text\" NAME=\"info\" VALUE=\"". check_form($block->info) ."\">\n"; $output .= "</P>\n"; $output .= "<P>\n"; $output .= " <B>Link:</B><BR>\n"; - $output .= " <INPUT TYPE=\"text\" NAME=\"link\" VALUE=\"". check_textfield($block->link) ."\">\n"; + $output .= " <INPUT TYPE=\"text\" NAME=\"link\" VALUE=\"". check_form($block->link) ."\">\n"; $output .= "</P>\n"; $output .= "<P>\n"; $output .= " <INPUT TYPE=\"hidden\" NAME=\"id\" VALUE=\"$id\">\n"; |