- Removing some trailing whitespace I forgot to clean up.
parent
a3b25924bd
commit
c2866848d1
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue