/[drupal]/contributions/modules/shoutbox/shoutbox.pages.inc
ViewVC logotype

Contents of /contributions/modules/shoutbox/shoutbox.pages.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Wed Apr 9 06:14:17 2008 UTC (19 months, 2 weeks ago) by disterics
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +28 -0 lines
File MIME type: text/x-php
Fixed various bugs introduced by porting to 6.x
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 }

  ViewVC Help
Powered by ViewVC 1.1.2