You are here

function theme_scs_node_output in Simplenews Content Selection 6

Same name and namespace in other branches
  1. 6.2 scs.theme.inc \theme_scs_node_output()
  2. 7 scs.theme.inc \theme_scs_node_output()
1 theme call to theme_scs_node_output()
_scs_create_newsletter in ./scs.module

File

./scs.theme.inc, line 40

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;
}