| 1 |
<?php
|
| 2 |
// $Id: shoutbox.pages.inc,v 1.1.2.1 2008/04/09 06:06:44 disterics Exp $
|
| 3 |
|
| 4 |
/**
|
| 5 |
* @file
|
| 6 |
* Page callbacks for the shoutbox module.
|
| 7 |
*/
|
| 8 |
|
| 9 |
/**
|
| 10 |
* Shout Deletion callbacks
|
| 11 |
*/
|
| 12 |
|
| 13 |
|
| 14 |
/**
|
| 15 |
* Function to handle deleting of shouts.
|
| 16 |
*
|
| 17 |
* @param shout_id
|
| 18 |
* The shout id to be deleted.
|
| 19 |
* @return
|
| 20 |
* HTML asking the user to confirm.
|
| 21 |
*/
|
| 22 |
function theme_shoutbox_delete_form($shout) {
|
| 23 |
//_shoutbox_print_r($shout);
|
| 24 |
$output = '';
|
| 25 |
$output .= theme('shoutbox_post', $shout);
|
| 26 |
$output .= drupal_get_form('shoutbox_delete_form', $shout);
|
| 27 |
return $output;
|
| 28 |
}
|