mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Take care of the DISPLAY_CLOCK setting
This commit is contained in:
parent
0bf4293977
commit
e3638bd2b1
@ -22,6 +22,7 @@ public function execute() {
|
|||||||
'roomID' => $room->roomID,
|
'roomID' => $room->roomID,
|
||||||
'time' => TIME_NOW,
|
'time' => TIME_NOW,
|
||||||
'type' => \wcf\data\chat\message\ChatMessage::TYPE_INFORMATION,
|
'type' => \wcf\data\chat\message\ChatMessage::TYPE_INFORMATION,
|
||||||
|
// TODO: Language item
|
||||||
'message' => 'Tims Chat was updated. Please refresh the page.'
|
'message' => 'Tims Chat was updated. Please refresh the page.'
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
|
@ -1 +1 @@
|
|||||||
{literal}<dl style="margin: 0;"><dt style="width: 145px; margin: 0;"><time style="float: left;">{@$formattedTime}</time> {@$formattedUsername}</dt> <dd style="padding: 0; margin-left: 150px;">{@$formattedMessage}</dd></dl>{/literal}
|
{literal}<dl style="margin: 0;"><dt style="width: 145px; margin: 0;">{if CHAT_DISPLAY_CLOCK}<time style="float: left;">{@$formattedTime}</time> {/if}{@$formattedUsername}</dt> <dd style="padding: 0; margin-left: 150px;">{@$formattedMessage}</dd></dl>{/literal}
|
||||||
|
Loading…
Reference in New Issue
Block a user