Commit b0288a46 authored by Dries's avatar Dries

- Fixed small glitch in check_preview().

- Updated CHANGELOG.
parent 886f653e
...@@ -10,8 +10,9 @@ drupal x.xx, xx/xx/xxxx (CVS, unstable) ...@@ -10,8 +10,9 @@ drupal x.xx, xx/xx/xxxx (CVS, unstable)
- rewrote section code and renamed it to structure.module: - rewrote section code and renamed it to structure.module:
* supports both "categories" and "topics" (cfr. Scoop, SlashCode). Topics can be nested to create a multi-level hierarchy. * supports both "categories" and "topics" (cfr. Scoop, SlashCode). Topics can be nested to create a multi-level hierarchy.
* added "auto-post new submissions" feature versus "moderate new submissions". * added "auto-post new submissions" feature versus "moderate new submissions".
- added settings.module: - added conf.module:
* moved most of the configuration options from hostname.conf to the new administration section. * moved most of the configuration options from hostname.conf to the new administration section.
* added support for custom "filters"
- added moderate.module: - added moderate.module:
* allows to assign users editorial/moderator rights to certain nodes or topics. * allows to assign users editorial/moderator rights to certain nodes or topics.
- added page.module: - added page.module:
...@@ -24,7 +25,7 @@ drupal x.xx, xx/xx/xxxx (CVS, unstable) ...@@ -24,7 +25,7 @@ drupal x.xx, xx/xx/xxxx (CVS, unstable)
* allows to display and mail CVS log messages as daily digests. * allows to display and mail CVS log messages as daily digests.
- added book.module: - added book.module:
* allows collaborative handbook writing: primary used for drupal documentation. * allows collaborative handbook writing: primary used for drupal documentation.
- removed cron.module and integrated it into settings.module. - removed cron.module and integrated it into conf.module.
- various updates: - various updates:
* introduced links/drupal tags: [[link]] * introduced links/drupal tags: [[link]]
* added preview functionality when submitting new content (such as a story) from the administration pages. * added preview functionality when submitting new content (such as a story) from the administration pages.
......
...@@ -73,7 +73,7 @@ function check_name($name) { ...@@ -73,7 +73,7 @@ function check_name($name) {
} }
function check_preview($text) { function check_preview($text) {
return check_output(check_input($text), 1); return check_output(check_input($text));
} }
function check_query($text) { function check_query($text) {
...@@ -87,7 +87,7 @@ function check_input($text) { ...@@ -87,7 +87,7 @@ function check_input($text) {
function check_output($text, $nl2br = 0) { function check_output($text, $nl2br = 0) {
global $na; global $na;
return ($text) ? (($nl2br) ? nl2br(stripslashes($text)) : stripslashes($text)) : $na; return ($text) ? ($nl2br ? nl2br(stripslashes($text)) : stripslashes($text)) : $na;
} }
function format_plural($count, $singular, $plural) { function format_plural($count, $singular, $plural) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment