You are here

function theme_scs_node_titles in Simplenews Content Selection 6.2

Same name and namespace in other branches
  1. 7 scs.theme.inc \theme_scs_node_titles()

Theme function to add the titles of the selected nodes at top of the newsletter

1 theme call to theme_scs_node_titles()
theme_scs_newsletter_output in ./scs.theme.inc
Theme a complete newsletter.

File

./scs.theme.inc, line 130
Select Drupal content to create a newsletter

Code

function theme_scs_node_titles($titles) {
  if (variable_get('scs_format', 'plain') == 'plain') {
    return implode("\n", $titles);
  }
  else {
    return '<div id="toc">' . theme('item_list', $titles) . '</div>';
  }
}