- Removing some trailing whitespace I forgot to clean up.

4.2.x
Kjartan Mannes 2003-03-09 10:19:16 +00:00
parent a3b25924bd
commit c2866848d1
6 changed files with 6 additions and 6 deletions

View File

@ -136,7 +136,7 @@ function book_delete(&$node) {
}
function book_validate(&$node) {
if ($node->format && user_access("create php content")) {
if ($node->format && user_access("create php content")) {
// Do not filter PHP code, do not auto-extract a teaser
$node->teaser = $node->body;
}

View File

@ -136,7 +136,7 @@ function book_delete(&$node) {
}
function book_validate(&$node) {
if ($node->format && user_access("create php content")) {
if ($node->format && user_access("create php content")) {
// Do not filter PHP code, do not auto-extract a teaser
$node->teaser = $node->body;
}

View File

@ -173,7 +173,7 @@ function forum_validate(&$node) {
$node->teaser = filter($node->teaser);
$node->icon = $node->icon ? $node->icon : "";
$node->shadow = $node->shadow ? $node->shadow : 0;
$node->tid = $node->tid ? $node->tid : 0;
$node->tid = $node->tid ? $node->tid : 0;
// We use the validate hook to remember the old taxonomy terms:
if ($node->tid) {
$node->taxonomy = array_keys(taxonomy_node_get_terms($node->nid));

View File

@ -173,7 +173,7 @@ function forum_validate(&$node) {
$node->teaser = filter($node->teaser);
$node->icon = $node->icon ? $node->icon : "";
$node->shadow = $node->shadow ? $node->shadow : 0;
$node->tid = $node->tid ? $node->tid : 0;
$node->tid = $node->tid ? $node->tid : 0;
// We use the validate hook to remember the old taxonomy terms:
if ($node->tid) {
$node->taxonomy = array_keys(taxonomy_node_get_terms($node->nid));

View File

@ -138,7 +138,7 @@ function page_form(&$node, &$help, &$error) {
}
function page_validate(&$node) {
if ($node->format && user_access("create php content")) {
if ($node->format && user_access("create php content")) {
// Do not filter PHP code, do not auto-extract a teaser
$node->teaser = $node->body;
}

View File

@ -138,7 +138,7 @@ function page_form(&$node, &$help, &$error) {
}
function page_validate(&$node) {
if ($node->format && user_access("create php content")) {
if ($node->format && user_access("create php content")) {
// Do not filter PHP code, do not auto-extract a teaser
$node->teaser = $node->body;
}