You are here

function shoutbox_theme in Shoutbox 6

Same name and namespace in other branches
  1. 6.2 shoutbox.module \shoutbox_theme()
  2. 7.2 shoutbox.module \shoutbox_theme()
  3. 7 shoutbox.module \shoutbox_theme()

Implementation of hook_theme().

File

./shoutbox.module, line 222
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 shoutbox_theme() {
  return array(
    'shoutbox_links' => array(),
    'shoutbox_post_forbidden' => array(),
    'shoutbox_post' => array(
      'arguments' => array(
        'shout' => NULL,
        'links' => array(),
      ),
    ),
    'shoutbox_page' => array(
      'arguments' => array(
        'content' => NULL,
        'title' => 'Shoutbox',
      ),
    ),
    'shoutbox_delete_form' => array(
      'arguments' => array(
        'shout' => NULL,
      ),
      'file' => 'shoutbox.pages.inc',
    ),
    'shoutbox_publish_form' => array(
      'arguments' => array(
        'shout' => NULL,
      ),
      'file' => 'shoutbox.pages.inc',
    ),
    'shoutbox_unpublish_form' => array(
      'arguments' => array(
        'shout' => NULL,
      ),
      'file' => 'shoutbox.pages.inc',
    ),
  );
}