You are here

function theme_nopremium_body in Node Option Premium 6

Theme nopremium body.

This function is used only when the nopremium message is not managed as a content extra field.

1 theme call to theme_nopremium_body()
nopremium_alter_node in ./nopremium.module
Alter a node replacing full body by nopremium body.

File

./nopremium.module, line 236
Written by Henri MEDOT <henri.medot[AT]absyx[DOT]fr> http://www.absyx.fr

Code

function theme_nopremium_body($node) {
  $output = $node->teaser;
  $output .= '<div class="nopremium-message">' . $node->nopremium_message . '</div>';
  return $output;
}