You are here

function theme_site_map_box in Site map 6

Same name and namespace in other branches
  1. 6.2 site_map.theme.inc \theme_site_map_box()
  2. 7 includes/site_map.theme.inc \theme_site_map_box()

Return a themed sitemap box.

Parameters

string $title: The subject of the box.

string $content: The content of the box.

string $class: Optional extra class for the box.

Return value

string A string containing the box output.

8 theme calls to theme_site_map_box()
_site_map_audio in ./site_map.module
Returns audio content if audio module is enabled.
_site_map_blogs in ./site_map.module
Render the latest blog authors.
_site_map_books in ./site_map.module
Render books.
_site_map_faq in ./site_map.module
Returns FAQ if faq module is enabled.
_site_map_front_page in ./site_map.module
Returns front page details.

... See full list

File

./site_map.module, line 169
Original author: Nic Ivy Now maintained by by Fredrik Jonsson fredrik at combonet dot se

Code

function theme_site_map_box($title, $content, $class = '') {
  return '<div class="sitemap-box ' . $class . '"><h2 class="title">' . $title . '</h2><div class="content">' . $content . '</div></div>';
}