function shoutbox_js_view in Shoutbox 6
Same name and namespace in other branches
- 5 shoutbox.module \shoutbox_js_view()
- 6.2 shoutbox.module \shoutbox_js_view()
- 7.2 shoutbox.module \shoutbox_js_view()
- 7 shoutbox.module \shoutbox_js_view()
Javascript callback. Prints out shouts only.
1 string reference to 'shoutbox_js_view'
- shoutbox_menu in ./
shoutbox.module - Implementation of hook_menu().
File
- ./
shoutbox.module, line 195 - 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_js_view() {
$show_amount = variable_get('shoutbox_showamount', '20');
$shoutbox_posts_data = _shoutbox_display_posts($show_amount, FALSE);
$output = $shoutbox_posts_data['output'];
print $output;
}