You are here

function theme_shoutbox_page in Shoutbox 5

Same name and namespace in other branches
  1. 6.2 shoutbox.theme.inc \theme_shoutbox_page()
  2. 6 shoutbox.module \theme_shoutbox_page()
  3. 7.2 shoutbox.theme.inc \theme_shoutbox_page()
  4. 7 shoutbox.theme.inc \theme_shoutbox_page()

Theme function for displaying the shoutbox page.

Parameters

$content: The page content.

$title: The page title, defaults to 'Shoutbox'.

Return value

String containing HTML formatted page.

1 theme call to theme_shoutbox_page()
_shoutbox_block_view in ./shoutbox.module
Returns the themed HTML to be displayed in the block.

File

./shoutbox.module, line 365
shoutbox module displays a block for users to create short messages for thw whole site. Uses AHAH to update the database and display content.

Code

function theme_shoutbox_page($content, $title = 'Shoutbox') {
  $output .= $content;
  $output = "<div id=\"shoutbox-body\">\n" . $output . "</div>\n";
  return $output;
}