You are here

function theme_recipe_notes in Recipe 7

Returns HTML for displaying the recipe notes.

1 string reference to 'theme_recipe_notes'
recipe_theme in ./recipe.module
Implements hook_theme().
1 theme call to theme_recipe_notes()
recipe_view in ./recipe.module
Implements hook_view().

File

./recipe.module, line 938
Contains functions for Recipe node CRUD and display.

Code

function theme_recipe_notes($variables) {
  $node = $variables['node'];
  $output = '<div class="recipe-notes recipe-section">';
  $output .= '<h2 class="title">' . t('Notes') . '</h2>';
  $output .= '<div class="section">' . $node->recipe_notes . '</div>';
  $output .= '</div>';
  return $output;
}