[Phpfreechat-svn] SF.net SVN: phpfreechat:[1251] trunk/data/public/js/pfcclient.js
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2008-09-12 09:37:35
|
Revision: 1251 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1251&view=rev Author: kerphi Date: 2008-09-12 09:37:45 +0000 (Fri, 12 Sep 2008) Log Message: ----------- The notice and the me command have to be differentiated client side. Modified Paths: -------------- trunk/data/public/js/pfcclient.js Modified: trunk/data/public/js/pfcclient.js =================================================================== --- trunk/data/public/js/pfcclient.js 2008-09-11 12:47:11 UTC (rev 1250) +++ trunk/data/public/js/pfcclient.js 2008-09-12 09:37:45 UTC (rev 1251) @@ -966,7 +966,9 @@ line += '›'; line += '</span> '; } - if (cmd == 'notice' || cmd == 'me') + if (cmd == 'notice') + line += '<span class="pfc_words">* ' + this.parseMessage(param) +'</span> '; + else if (cmd == 'me') line += '<span class="pfc_words">* '+ sender.escapeHTML() + ' ' + this.parseMessage(param) +'</span> '; else line += '<span class="pfc_words">'+ this.parseMessage(param) +'</span> '; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |