--- modules/node/node.module.1.935+patch_i2+patch_typo Thu Jan 10 15:12:30 2008 +++ modules/node/node.module Thu Jan 10 15:11:37 2008 @@ -232,7 +232,7 @@ function node_teaser_js(&$form, &$form_s } /** - * Ensure value of "teaser_include" checkbox is consistent with other form data + * Ensure value of "teaser_include" checkbox is consistent with other form data. * * This handles two situations in which an unchecked checkbox is rejected: * @@ -248,19 +248,19 @@ function node_teaser_js(&$form, &$form_s */ function node_teaser_include_verify(&$form, &$form_state) { $message = ''; - + // $form['#post'] is set only when the form is built for preview/submit. if (isset($form['#post']['body']) && isset($form_state['values']['teaser_include']) && !$form_state['values']['teaser_include']) { // "teaser_include" checkbox is present and unchecked. if (strpos($form_state['values']['body'], '') === 0) { - // Teaser is empty string + // Teaser is empty string. $message = t('You specified that the summary should not be shown when this post is displayed in full view. This setting is ignored when the summary is empty.'); } elseif (strpos($form_state['values']['body'], '') === FALSE) { // Teaser delimiter is not present in the body. $message = t('You specified that the summary should not be shown when this post is displayed in full view. This setting has been ignored since you have not defined a summary for the post. (To define a summary, insert the delimiter "<!--break-->" (without the quotes) in the Body of the post to indicate the end of the summary and the start of the main content.)'); } - + if (!empty($message)) { drupal_set_message($message, 'warning'); // Pass new checkbox value on to preview/submit form processing. --- modules/node/node.pages.inc.1.23+patch_i2 Thu Jan 10 15:00:09 2008 +++ modules/node/node.pages.inc Thu Jan 10 15:08:07 2008 @@ -414,7 +414,7 @@ function node_preview($node) { */ function theme_node_preview($node) { $output = '