[Phpfreechat-svn] SF.net SVN: phpfreechat: [943] trunk
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-02-06 21:59:26
|
Revision: 943 http://svn.sourceforge.net/phpfreechat/?rev=943&view=rev Author: kerphi Date: 2007-02-06 13:59:17 -0800 (Tue, 06 Feb 2007) Log Message: ----------- adjust the "ping" label near the logo Modified Paths: -------------- trunk/data/public/js/pfcclient.js trunk/themes/default/chat.html.tpl.php trunk/themes/default/style.css Modified: trunk/data/public/js/pfcclient.js =================================================================== --- trunk/data/public/js/pfcclient.js 2007-01-31 17:37:29 UTC (rev 942) +++ trunk/data/public/js/pfcclient.js 2007-02-06 21:59:17 UTC (rev 943) @@ -42,7 +42,7 @@ this.timeout = null; this.refresh_delay = pfc_refresh_delay; this.max_refresh_delay = pfc_max_refresh_delay; - this.last_refresh_time = 0; + this.last_refresh_time = new Date().getTime(); /* unique client id for each windows used to identify a open window * this id is passed every time the JS communicate with server * (2 clients can use the same session: then only the nickname is shared) */ Modified: trunk/themes/default/chat.html.tpl.php =================================================================== --- trunk/themes/default/chat.html.tpl.php 2007-01-31 17:37:29 UTC (rev 942) +++ trunk/themes/default/chat.html.tpl.php 2007-02-06 21:59:17 UTC (rev 943) @@ -35,9 +35,7 @@ </tbody> </table> - <div id="pfc_cmd_container"> - <span id="pfc_ping"></span> - + <div id="pfc_cmd_container"> <?php if ($display_pfc_logo) { ?> <a href="http://www.phpfreechat.net" id="pfc_logo"<?php if($openlinknewwindow) echo ' onclick="window.open(this.href,\'_blank\');return false;"'; ?>> @@ -46,6 +44,7 @@ title="<?php echo _pfc("PHP FREE CHAT [powered by phpFreeChat-%s]", $version); ?>" /> </a> <?php } ?> + <span id="pfc_ping" title="<?php echo _pfc("Ping"); ?>"></span> <div class="pfc_btn"> <img src="<?php echo $c->getFileUrlFromTheme('images/logout.gif'); ?>" Modified: trunk/themes/default/style.css =================================================================== --- trunk/themes/default/style.css 2007-01-31 17:37:29 UTC (rev 942) +++ trunk/themes/default/style.css 2007-02-06 21:59:17 UTC (rev 943) @@ -264,6 +264,11 @@ margin: 0; padding: 0; float: right; } +#pfc_ping { + margin: 0 5px 0 0; padding: 0; + float:right; + font-size: 80%; +} a#pfc_logo img { margin: 0; padding: 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |