You are here

function theme_shoutbox_post_forbidden in Shoutbox 7.2

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

Theme function for displaying the access denied message.

Return value

String containing HTML formatted access denied message.

1 theme call to theme_shoutbox_post_forbidden()
shoutbox_add_form in ./shoutbox.module
Generates form for adding shouts.

File

./shoutbox.theme.inc, line 154
Theme callbacks for the shoutbox module.

Code

function theme_shoutbox_post_forbidden() {
  return '<div class="shoutbox-msg">' . t('You\'re not permitted to post ' . DEFAULTSHOUTPLURAL . '.') . '</div>';
}