[Phpfreechat-svn] SF.net SVN: phpfreechat:[1243] trunk/demo
Status: Beta
Brought to you by:
kerphi
|
From: <ke...@us...> - 2008-07-29 14:10:24
|
Revision: 1243
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1243&view=rev
Author: kerphi
Date: 2008-07-29 14:10:33 +0000 (Tue, 29 Jul 2008)
Log Message:
-----------
Cleanup the demo31 with unused code
Modified Paths:
--------------
trunk/demo/demo31_show_who_is_online-chat.php
trunk/demo/demo31_show_who_is_online-whoisonline.php
Removed Paths:
-------------
trunk/demo/demo31_show_who_is_online-config.php
Modified: trunk/demo/demo31_show_who_is_online-chat.php
===================================================================
--- trunk/demo/demo31_show_who_is_online-chat.php 2008-07-26 09:41:26 UTC (rev 1242)
+++ trunk/demo/demo31_show_who_is_online-chat.php 2008-07-29 14:10:33 UTC (rev 1243)
@@ -2,6 +2,7 @@
require_once dirname(__FILE__)."/../src/phpfreechat.class.php";
+$params = array();
// calculate a unique id for this chat,
// this id must be used by pfcInfo to get chat infos
$params["serverid"] = md5("Whois online demo");
@@ -28,13 +29,6 @@
// print the current file
echo "<h2>The source code</h2>";
- $filename = dirname(__FILE__)."/demo31_show_who_is_online-config.php";
- echo "<p><code>".$filename."</code></p>";
- echo "<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">";
- $content = file_get_contents($filename);
- highlight_string($content);
- echo "</pre>";
-
$filename = __FILE__;
echo "<p><code>".$filename."</code></p>";
echo "<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">";
Deleted: trunk/demo/demo31_show_who_is_online-config.php
===================================================================
--- trunk/demo/demo31_show_who_is_online-config.php 2008-07-26 09:41:26 UTC (rev 1242)
+++ trunk/demo/demo31_show_who_is_online-config.php 2008-07-29 14:10:33 UTC (rev 1243)
@@ -1,8 +0,0 @@
-<?php
-
-require_once dirname(__FILE__)."/../src/phpfreechat.class.php";
-$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
-$params["title"] = "Whois online demo channel";
-$pfc_config =& pfcGlobalConfig::Instance( $params );
-
-?>
Modified: trunk/demo/demo31_show_who_is_online-whoisonline.php
===================================================================
--- trunk/demo/demo31_show_who_is_online-whoisonline.php 2008-07-26 09:41:26 UTC (rev 1242)
+++ trunk/demo/demo31_show_who_is_online-whoisonline.php 2008-07-29 14:10:33 UTC (rev 1243)
@@ -32,13 +32,6 @@
// print the current file
echo "<h2>The source code</h2>";
- $filename = dirname(__FILE__)."/demo31_show_who_is_online-config.php";
- echo "<p><code>".$filename."</code></p>";
- echo "<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">";
- $content = file_get_contents($filename);
- highlight_string($content);
- echo "</pre>";
-
$filename = __FILE__;
echo "<p><code>".$filename."</code></p>";
echo "<pre style=\"margin: 0 50px 0 50px; padding: 10px; background-color: #DDD;\">";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|