You are here

function theme_recipe_index in Recipe 5

Controls the output of the rendered index list.

Return value

string the output for the index list.

1 theme call to theme_recipe_index()
recipe_index in ./recipe.module
Constructs the recipe index page, using theme functions.

File

./recipe.module, line 1492
recipe.module - share recipes for drupal 5.x

Code

function theme_recipe_index(&$name, &$index_list) {
  if ($index_list != "") {
    return "<div class=\"item-list\">\n{$index_list}\n</div>\n";
  }
  return "";
}