theme_chatroom_chat_kicked_user

Definition

theme_chatroom_chat_kicked_user($chat)
contributions/modules/chatroom/chatroom.module, line 1110

Description

Get HTML for kick message.

Related topics

Namesort iconDescription
Themeable functionsFunctions that display HTML, and which can be customized by themes.

Code

function theme_chatroom_chat_kicked_user($chat) {
  $msg = $chat->kicked_out_message ? $chat->kicked_out_message : t('You have been kicked out of %chat for misbehaving.', array('%chat' => $chat->chatname));
  return '<div id="chatroom-kicked-msg">'. $msg .'</div>';
}