function theme_scs_node_output in Simplenews Content Selection 6.2
Same name and namespace in other branches
- 6 scs.theme.inc \theme_scs_node_output()
- 7 scs.theme.inc \theme_scs_node_output()
Each selected node goes true this function to create a nice body
2 theme calls to theme_scs_node_output()
- theme_scs_newsletter_output in ./
scs.theme.inc - Theme a complete newsletter.
- theme_scs_newsletter_output in ./
scs.theme.inc - Theme a complete newsletter.
File
- ./
scs.theme.inc, line 66 - Select Drupal content to create a newsletter
Code
function theme_scs_node_output($node) {
$output = '';
$output = '<div id="node_' . $node->nid . '">';
$output .= '<h1>' . $node->title . '</h1>';
$output .= '<p>' . node_teaser($node->body) . '</p>';
$output .= '<p>' . l(t('Read more'), 'node/' . $node->nid) . '</p>';
$output .= '</div>';
return $output;
}