You are here

function theme_shoutbox_unpublish_form in Shoutbox 6

Function to handle moderation of shouts.

Parameters

shout_id: The shout id to be unpublished.

Return value

HTML asking the user to confirm.

File

./shoutbox.pages.inc, line 55
Page callbacks for the shoutbox module.

Code

function theme_shoutbox_unpublish_form($shout) {
  _shoutbox_sanitize_shout($shout);
  $output = '';
  $output .= theme('shoutbox_post', $shout);
  $output .= drupal_get_form('shoutbox_unpublish_form', $shout);
  return $output;
}