You are here

function theme_nopremium_message in Node Option Premium 7

Same name and namespace in other branches
  1. 6 nopremium.module \theme_nopremium_message()

Theme nopremium message.

1 theme call to theme_nopremium_message()
nopremium_node_view in ./nopremium.module
Implementation of hook_node_view().

File

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

Code

function theme_nopremium_message($variables) {
  return '<div class="nopremium-message">' . check_markup(t(nopremium_get_message($variables['node']->type))) . '</div>';
}