Thread: [Phpfreechat-svn] SF.net SVN: phpfreechat: [962] trunk/themes/default
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-02-16 20:43:05
|
Revision: 962 http://svn.sourceforge.net/phpfreechat/?rev=962&view=rev Author: kerphi Date: 2007-02-16 12:43:01 -0800 (Fri, 16 Feb 2007) Log Message: ----------- rename to be ok with refactoring Added Paths: ----------- trunk/themes/default/customize.js.php Removed Paths: ------------- trunk/themes/default/customize.js Deleted: trunk/themes/default/customize.js =================================================================== --- trunk/themes/default/customize.js 2007-02-16 20:41:51 UTC (rev 961) +++ trunk/themes/default/customize.js 2007-02-16 20:43:01 UTC (rev 962) @@ -1,6 +0,0 @@ -/** - * Put here the pfcClient, pfcGui, pfcResources customizations - * ex: you can override the pfcClient::updateNickList methode - * in order to display links on the nicknames (see demo34 for a concrete example) - */ - Copied: trunk/themes/default/customize.js.php (from rev 960, trunk/themes/default/customize.js) =================================================================== --- trunk/themes/default/customize.js.php (rev 0) +++ trunk/themes/default/customize.js.php 2007-02-16 20:43:01 UTC (rev 962) @@ -0,0 +1,6 @@ +/** + * Put here the pfcClient, pfcGui, pfcResources customizations + * ex: you can override the pfcClient::updateNickList methode + * in order to display links on the nicknames (see demo34 for a concrete example) + */ + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gpi...@us...> - 2007-08-28 00:36:25
|
Revision: 1152 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1152&view=rev Author: gpinzone Date: 2007-08-27 17:36:27 -0700 (Mon, 27 Aug 2007) Log Message: ----------- Added fix for PNG transparency on IE 5.5 and IE 6.0 to default theme. Does not affect any other browsers. Modified Paths: -------------- trunk/themes/default/style.css.php Added Paths: ----------- trunk/themes/default/iepngfix.htc trunk/themes/default/images/blank.gif Added: trunk/themes/default/iepngfix.htc =================================================================== --- trunk/themes/default/iepngfix.htc (rev 0) +++ trunk/themes/default/iepngfix.htc 2007-08-28 00:36:27 UTC (rev 1152) @@ -0,0 +1,71 @@ +<public:component> +<public:attach event="onpropertychange" onevent="doFix()" /> + +<script type="text/javascript"> + +// IE5.5+ PNG Alpha Fix v1.0RC4 +// (c) 2004-2005 Angus Turnbull http://www.twinhelix.com + +// This is licensed under the CC-GNU LGPL, version 2.1 or later. +// For details, see: http://creativecommons.org/licenses/LGPL/2.1/ + +// This must be a path to a blank image. That's all the configuration you need. +if (typeof blankImg == 'undefined') +{ + var blankImg = document.URL; + blankImg = blankImg.substring(0,blankImg.lastIndexOf("/")+1) + "images/blank.gif"; + //blankImg = blankImg + "/../images/blank.gif"; +} + +var f = 'DXImageTransform.Microsoft.AlphaImageLoader'; + +function filt(s, m) +{ + if (filters[f]) + { + filters[f].enabled = s ? true : false; + if (s) with (filters[f]) { src = s; sizingMethod = m } + } + else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")'; +} + +function doFix() +{ + // Assume IE7 is OK. + if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent) || + (event && !/(background|src)/.test(event.propertyName))) return; + + var bgImg = currentStyle.backgroundImage || style.backgroundImage; + + if (tagName == 'IMG') + { + if ((/\.png$/i).test(src)) + { + if (currentStyle.width == 'auto' && currentStyle.height == 'auto') + style.width = offsetWidth + 'px'; + filt(src, 'scale'); + src = blankImg; + } + else if (src.indexOf(blankImg) < 0) filt(); + } + else if (bgImg && bgImg != 'none') + { + if (bgImg.match(/^url[("']+(.*\.png)[)"']+$/i)) + { + var s = RegExp.$1; + if (currentStyle.width == 'auto' && currentStyle.height == 'auto') + style.width = offsetWidth + 'px'; + style.backgroundImage = 'none'; + filt(s, 'crop'); + // IE link fix. + for (var n = 0; n < childNodes.length; n++) + if (childNodes[n].style) childNodes[n].style.position = 'relative'; + } + else filt(); + } +} + +doFix(); + +</script> +</public:component> \ No newline at end of file Added: trunk/themes/default/images/blank.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/default/images/blank.gif ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Modified: trunk/themes/default/style.css.php =================================================================== --- trunk/themes/default/style.css.php 2007-08-27 19:55:29 UTC (rev 1151) +++ trunk/themes/default/style.css.php 2007-08-28 00:36:27 UTC (rev 1152) @@ -1,3 +1,7 @@ +img, div { + behavior: url("<?php echo $c->getFileUrlFromTheme('iepngfix.htc'); ?>"); +} + /* will break display (margins, paddings) on IE6 div#pfc_container * { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gpi...@us...> - 2007-08-31 14:36:01
|
Revision: 1172 http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1172&view=rev Author: gpinzone Date: 2007-08-31 07:26:20 -0700 (Fri, 31 Aug 2007) Log Message: ----------- Changed style to only use pointer when nick is not frozen. Modified Paths: -------------- trunk/themes/default/chat.html.tpl.php trunk/themes/default/style.css.php Modified: trunk/themes/default/chat.html.tpl.php =================================================================== --- trunk/themes/default/chat.html.tpl.php 2007-08-31 14:06:55 UTC (rev 1171) +++ trunk/themes/default/chat.html.tpl.php 2007-08-31 14:26:20 UTC (rev 1172) @@ -17,7 +17,8 @@ <p id="pfc_handle" <?php if (! $frozen_nick) { echo ' title="' . _pfc("Enter your nickname here") . '"' - . ' onclick="pfc.askNick(\'\')"'; + . ' onclick="pfc.askNick(\'\')"' + . ' style="cursor: pointer"'; } ?> ><?php echo $u->nick; ?></p> Modified: trunk/themes/default/style.css.php =================================================================== --- trunk/themes/default/style.css.php 2007-08-31 14:06:55 UTC (rev 1171) +++ trunk/themes/default/style.css.php 2007-08-31 14:26:20 UTC (rev 1172) @@ -249,7 +249,6 @@ p#pfc_handle { margin: 0; padding: 0; display: inline; - cursor: pointer; margin-right: 5px; color: black; font-weight: bold; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |