[Phpfreechat-svn] SF.net SVN: phpfreechat: [696] trunk/src/phpfreechat.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-08-23 08:05:17
|
Revision: 696 Author: kerphi Date: 2006-08-23 01:05:09 -0700 (Wed, 23 Aug 2006) ViewCVS: http://svn.sourceforge.net/phpfreechat/?rev=696&view=rev Log Message: ----------- Bug fix: the height parameter was broken Modified Paths: -------------- trunk/src/phpfreechat.class.php Modified: trunk/src/phpfreechat.class.php =================================================================== --- trunk/src/phpfreechat.class.php 2006-08-22 14:34:33 UTC (rev 695) +++ trunk/src/phpfreechat.class.php 2006-08-23 08:05:09 UTC (rev 696) @@ -150,6 +150,14 @@ $output .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"".$c->getFileUrlByProxy("style.css")."\" />\n"; } + // since php can't be embeded into the css themes files, special styles parameter must be setup here + if ($c->height != "") + { + $output .= "<style type=\"text/css\">"; + $output .= "div#pfc_channels_content { height: ".$c->height."; }"; + $output .= "</style>\n"; + } + if($return) return $output; else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |