[Phpfreechat-svn] SF.net SVN: phpfreechat: [533] trunk/themes/default/templates
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-05-30 09:19:47
|
Revision: 533 Author: kerphi Date: 2006-05-30 02:19:40 -0700 (Tue, 30 May 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=533&view=rev Log Message: ----------- Insert the nickname text when clicking on the nick : in the list and in the chat zone. (thanks to Hap for his patch) Modified Paths: -------------- trunk/themes/default/templates/pfcclient.js.tpl.php trunk/themes/default/templates/style.css.tpl.php Modified: trunk/themes/default/templates/pfcclient.js.tpl.php =================================================================== --- trunk/themes/default/templates/pfcclient.js.tpl.php 2006-05-28 18:55:40 UTC (rev 532) +++ trunk/themes/default/templates/pfcclient.js.tpl.php 2006-05-30 09:19:40 UTC (rev 533) @@ -645,6 +645,7 @@ line += '‹'; line += '<span '; if (nickcolor != '') line += 'style="color: ' + nickcolor + '" '; + line += 'onclick="pfc.insert_text(\'' + sender + ', \',\'\')" '; line += 'class="<?php echo $prefix; ?>nickmarker <?php echo $prefix; ?>nick_'+ hex_md5(_to_utf8(sender)) +'">'; line += sender; line += '</span>'; Modified: trunk/themes/default/templates/style.css.tpl.php =================================================================== --- trunk/themes/default/templates/style.css.tpl.php 2006-05-28 18:55:40 UTC (rev 532) +++ trunk/themes/default/templates/style.css.tpl.php 2006-05-30 09:19:40 UTC (rev 533) @@ -252,5 +252,6 @@ .<?php echo $prefix; ?>nickmarker { white-space: pre; + cursor: crosshair; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |