story_form
- Versions
- 4.6 – 4.7
story_form(&$node)
Implementation of hook_form().
Code
modules/story.module, line 68
<?php
function story_form(&$node) {
$output = '';
if (function_exists('taxonomy_node_form')) {
$output .= implode('', taxonomy_node_form('story', $node));
}
$output .= form_textarea(t('Body'), 'body', $node->body, 60, 20, '', NULL, TRUE);
$output .= filter_form('format', $node->format);
return $output;
}
?>Login or register to post comments 