{* $Id$ *} {title help="Shoutbox"}{tr}Shoutbox{/tr}{/title} {if $tiki_p_admin_shoutbox eq 'y'}
{icon name="list"} {tr}Banned Words{/tr} {* {button href="tiki-admin_shoutbox_words.php" class="btn btn-primary" _text="{tr}Banned Words{/tr}"} *}

{tr}Change shoutbox general settings{/tr}

{/if} {if $tiki_p_post_shoutbox eq 'y'}

{tr}Post or edit a message{/tr}

{if $msg}
{$msg}
{/if} {js_maxlength textarea=message maxlength=255}
{if $prefs.feature_socialnetworks eq 'y' && $user neq ''} {if $prefs.socialnetworks_twitter_consumer_key neq ''}
{/if} {if $prefs.socialnetworks_facebook_application_id neq ''}
{/if} {/if}
{if $prefs.feature_antibot eq 'y' && $user eq ''} {include file='antibot.tpl'} {/if}
{/if}

{tr}Messages{/tr}

{include file='find.tpl'} {section name=user loop=$channels}
{$channels[user].user}, {$channels[user].timestamp|tiki_long_date}, {$channels[user].timestamp|tiki_long_time} {if $tiki_p_admin_shoutbox eq 'y' || $channels[user].user == $user} {icon name='edit'} {icon name='remove'} {/if}
{$channels[user].message}
{/section} {pagination_links cant=$cant_pages step=$prefs.maxRecords offset=$offset}{/pagination_links}