mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Wrap the time into <time>
This commit is contained in:
parent
8f2fc01231
commit
ac5ef926e3
@ -262,7 +262,7 @@
|
|||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
TimWolla.WCF.Chat.titleTemplate = new WCF.Template('{ldelim}$title} - {'wcf.chat.title'|language|encodeJS} - {PAGE_TITLE|language|encodeJS}');
|
TimWolla.WCF.Chat.titleTemplate = new WCF.Template('{ldelim}$title} - {'wcf.chat.title'|language|encodeJS} - {PAGE_TITLE|language|encodeJS}');
|
||||||
{capture assign='chatMessageTemplate'}{include file='chatMessage'}{/capture}
|
{capture assign='chatMessageTemplate'}{include file='chatMessage'}{/capture}
|
||||||
TimWolla.WCF.Chat.messageTemplate = new WCF.Template('{$chatMessageTemplate|encodeJS}');
|
TimWolla.WCF.Chat.messageTemplate = new WCF.Template('{@$chatMessageTemplate|encodeJS}');
|
||||||
TimWolla.WCF.Chat.init({$room->roomID}, 1);
|
TimWolla.WCF.Chat.init({$room->roomID}, 1);
|
||||||
TimWolla.WCF.Chat.handleMessages([
|
TimWolla.WCF.Chat.handleMessages([
|
||||||
{implode from=$newestMessages item='message'}
|
{implode from=$newestMessages item='message'}
|
||||||
|
@ -1 +1 @@
|
|||||||
{literal}{@$formattedTime} {@$formattedUsername}{@$formattedMessage}{/literal}
|
{literal}<time>{@$formattedTime}</time> {@$formattedUsername}{@$formattedMessage}{/literal}
|
||||||
|
Loading…
Reference in New Issue
Block a user