Skip to content
Snippets Groups Projects
Commit b0288a46 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Fixed small glitch in check_preview().

- Updated CHANGELOG.
parent 886f653e
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -10,8 +10,9 @@ drupal x.xx, xx/xx/xxxx (CVS, unstable)
- 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.
* 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.
* added support for custom "filters"
- added moderate.module:
* allows to assign users editorial/moderator rights to certain nodes or topics.
- added page.module:
......@@ -24,7 +25,7 @@ drupal x.xx, xx/xx/xxxx (CVS, unstable)
* allows to display and mail CVS log messages as daily digests.
- added book.module:
* 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:
* introduced links/drupal tags: [[link]]
* added preview functionality when submitting new content (such as a story) from the administration pages.
......
......@@ -73,7 +73,7 @@ function check_name($name) {
}
function check_preview($text) {
return check_output(check_input($text), 1);
return check_output(check_input($text));
}
function check_query($text) {
......@@ -87,7 +87,7 @@ function check_input($text) {
function check_output($text, $nl2br = 0) {
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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment