[Phpfreechat-svn] SF.net SVN: phpfreechat: [804] trunk
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2006-10-04 01:42:46
|
Revision: 804 http://svn.sourceforge.net/phpfreechat/?rev=804&view=rev Author: kerphi Date: 2006-09-30 15:19:38 -0700 (Sat, 30 Sep 2006) Log Message: ----------- add the msn theme demo Modified Paths: -------------- trunk/demo/index.php trunk/index.php Added Paths: ----------- trunk/demo/demo49_msn_smiley_theme.php Removed Paths: ------------- trunk/demo/demo11_famfamfam_smiley_theme.php Deleted: trunk/demo/demo11_famfamfam_smiley_theme.php =================================================================== --- trunk/demo/demo11_famfamfam_smiley_theme.php 2006-09-30 22:07:15 UTC (rev 803) +++ trunk/demo/demo11_famfamfam_smiley_theme.php 2006-09-30 22:19:38 UTC (rev 804) @@ -1,38 +0,0 @@ -<?php - -require_once dirname(__FILE__)."/../src/phpfreechat.class.php"; - -$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat -$params["title"] = "A chat with a customized smiley theme (famfamfam theme)"; -$params["nick"] = "guest"; // setup the intitial nickname -$params["theme"] = "famfamfam"; -$chat = new phpFreeChat( $params ); - -?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html> - <head> - <meta http-equiv="content-type" content="text/html; charset=utf-8" /> - <title>phpFreeChat demo</title> - - <?php $chat->printJavascript(); ?> - <?php $chat->printStyle(); ?> - - </head> - - <body> - <?php $chat->printChat(); ?> - -<?php - // print the current file - echo "<h2>The source code</h2>"; - $filename = __FILE__; - echo "<p><code>".$filename."</code></p>"; - echo "<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">"; - $content = file_get_contents($filename); - echo htmlentities($content); - echo "</pre>"; -?> - - </body> -</html> \ No newline at end of file Added: trunk/demo/demo49_msn_smiley_theme.php =================================================================== --- trunk/demo/demo49_msn_smiley_theme.php (rev 0) +++ trunk/demo/demo49_msn_smiley_theme.php 2006-09-30 22:19:38 UTC (rev 804) @@ -0,0 +1,38 @@ +<?php + +require_once dirname(__FILE__)."/../src/phpfreechat.class.php"; + +$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat +$params["title"] = "A chat with a customized smiley theme (famfamfam theme)"; +$params["nick"] = "guest".rand(1,1000); // setup the intitial nickname +$params["theme"] = "msn"; +$chat = new phpFreeChat( $params ); + +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> + <head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>phpFreeChat demo</title> + + <?php $chat->printJavascript(); ?> + <?php $chat->printStyle(); ?> + + </head> + + <body> + <?php $chat->printChat(); ?> + +<?php + // print the current file + echo "<h2>The source code</h2>"; + $filename = __FILE__; + echo "<p><code>".$filename."</code></p>"; + echo "<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">"; + $content = file_get_contents($filename); + echo htmlentities($content); + echo "</pre>"; +?> + + </body> +</html> \ No newline at end of file Modified: trunk/demo/index.php =================================================================== --- trunk/demo/index.php 2006-09-30 22:07:15 UTC (rev 803) +++ trunk/demo/index.php 2006-09-30 22:19:38 UTC (rev 804) @@ -80,13 +80,13 @@ <h2 id="demo-themes">Themes</h2> <ul> - <li><a href="demo11_famfamfam_smiley_theme.php">demo11 - A chat with a customized smiley theme (famfamfam theme)</a></li> <li><a href="demo12_phoenity_smiley_theme.php">demo12 - A chat with a customized smiley theme (phoenity theme)</a></li> <li><a href="demo17_cerutti_smiley_theme.php">demo17 - A chat with a customized smiley theme (cerutti theme)</a></li> <li><a href="demo18_phpbb2_smiley_theme.php">demo18 - A chat with a customized smiley theme (phpbb2 theme)</a></li> <li><a href="demo28_blune_theme.php">demo28 - use a customized theme (blune theme)</a></li> <li><a href="demo28_mini_blune_theme.php">demo28 - use a customized theme (blune theme) - mini</a></li> <li><a href="demo44_green_theme.php">demo44 - use a customized theme (green)</a></li> + <li><a href="demo49_msn_smiley_theme.php">demo49 - A chat with a customized smiley theme (msn theme)</a></li> </ul> <h2 id="demo-translations">Translations</h2> Modified: trunk/index.php =================================================================== --- trunk/index.php 2006-09-30 22:07:15 UTC (rev 803) +++ trunk/index.php 2006-09-30 22:19:38 UTC (rev 804) @@ -3,7 +3,7 @@ require_once dirname(__FILE__)."/src/phpfreechat.class.php"; $params = array(); $params["title"] = "Quick chat"; -$params["nick"] = "guest".rand(1,10); // setup the intitial nickname +$params["nick"] = "guest".rand(1,1000); // setup the intitial nickname $params["isadmin"] = true; // just for debug ;) $params["serverid"] = md5(__FILE__); // calculate a unique id for this chat $chat = new phpFreeChat( $params ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |