[Phpfreechat-svn] SF.net SVN: phpfreechat: [448] branches/0.x/src
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-04-18 08:37:23
|
Revision: 448 Author: kerphi Date: 2006-04-18 01:37:11 -0700 (Tue, 18 Apr 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=448&view=rev Log Message: ----------- Bug fix: the oldmsg style was not set correctly to old message elements (limit is set with max_msg) Modified Paths: -------------- branches/0.x/demo/demo5_customized_style_data/mytheme/templates/style.css.tpl.php branches/0.x/src/pfccommand_getnewmsg.class.php Modified: branches/0.x/demo/demo5_customized_style_data/mytheme/templates/style.css.tpl.php =================================================================== --- branches/0.x/demo/demo5_customized_style_data/mytheme/templates/style.css.tpl.php 2006-04-17 19:45:09 UTC (rev 447) +++ branches/0.x/demo/demo5_customized_style_data/mytheme/templates/style.css.tpl.php 2006-04-18 08:37:11 UTC (rev 448) @@ -7,6 +7,9 @@ color: black; margin: auto; } +div#<?php echo $prefix; ?>chat { + background-color: #FFF; +} div#<?php echo $prefix; ?>content { border: none; @@ -52,3 +55,12 @@ border: 1px solid #000; background-color: #CCC; } + + +/* commands */ +.<?php echo $prefix; ?>cmd_notice { + color: red; +} +.<?php echo $prefix; ?>cmd_msg { + color: #555; +} \ No newline at end of file Modified: branches/0.x/src/pfccommand_getnewmsg.class.php =================================================================== --- branches/0.x/src/pfccommand_getnewmsg.class.php 2006-04-17 19:45:09 UTC (rev 447) +++ branches/0.x/src/pfccommand_getnewmsg.class.php 2006-04-18 08:37:11 UTC (rev 448) @@ -48,7 +48,7 @@ $m_cmd = "cmd_me"; } - $js .= "Array(".$m_id.",'".addslashes($m_date)."','".addslashes($m_heure)."','".addslashes($m_nick)."','".addslashes($m_words)."','".addslashes($m_cmd)."',".(date("d/m/Y") == $m_date ? 1 : 0).",".($from_id == 0? 1 : 0)."),"; + $js .= "Array(".$m_id.",'".addslashes($m_date)."','".addslashes($m_heure)."','".addslashes($m_nick)."','".addslashes($m_words)."','".addslashes($m_cmd)."',".(date("d/m/Y") == $m_date ? 1 : 0).",".($from_id <= 0? 1 : 0)."),"; $msg_sent = true; } if ($js != "") @@ -69,4 +69,4 @@ } } -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |