Update of /cvsroot/phpmychat/phpMyChat-0.15/chat
In directory usw-pr-cvs1:/tmp/cvs-serv5585
Modified Files:
users.php3
Log Message:
Fix some typos and add an HTML comment for default and public other rooms
Index: users.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users.php3,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** users.php3 2001/04/04 09:46:23 1.4
--- users.php3 2001/04/04 11:11:07 1.5
***************
*** 6,10 ****
// | Copyright (c) 2000-2001 The phpHeaven-team |
// +--------------------------------------------------------------------------+
! // | This script defines the 'users' with DHTML enabled browsers. |
// +--------------------------------------------------------------------------+
// | From the phpMyChat project: |
--- 6,10 ----
// | Copyright (c) 2000-2001 The phpHeaven-team |
// +--------------------------------------------------------------------------+
! // | This script defines the 'users' frame for DHTML enabled browsers. |
// +--------------------------------------------------------------------------+
// | From the phpMyChat project: |
***************
*** 16,20 ****
// $Id$
//
! // The "standard" users frame.
//
--- 16,20 ----
// $Id$
//
! // The 'standard' users frame.
//
***************
*** 291,295 ****
if ($i == 1)
$firstOtherRoom = 'Parent' . $id;
! $usersList[] = '<!-- The others rooms -->';
$usersList[] = '<div id="Parent' . $id . '" class="parent" style="margin-top: 5px; cursor: hand">';
$usersList[] = "\t" . '<a href="#" onclick="window.parent.pmcExpandRoom(\'' . $id . '\'); return false">'
--- 291,295 ----
if ($i == 1)
$firstOtherRoom = 'Parent' . $id;
! $usersList[] = '<!-- The others rooms currently in use -->';
$usersList[] = '<div id="Parent' . $id . '" class="parent" style="margin-top: 5px; cursor: hand">';
$usersList[] = "\t" . '<a href="#" onclick="window.parent.pmcExpandRoom(\'' . $id . '\'); return false">'
***************
*** 352,360 ****
. $pmcQueryArgSeparator . 'exitMessage=1'
. $pmcQueryArgSeparator . 'newTargetRoom=1%NEWROOM%';
for ($k = 0; $k < count($defaultChatRooms); $k++)
{
! $tmpRoom = stripslashes($defaultChatRooms[$k]);
! $id = md5($tmpRoom);
// Display this room name when it hadn't been displayed yet
--- 352,362 ----
. $pmcQueryArgSeparator . 'exitMessage=1'
. $pmcQueryArgSeparator . 'newTargetRoom=1%NEWROOM%';
+ $usersList[] = '<!-- The others default and public rooms -->';
+ reset($defaultChatRooms);
for ($k = 0; $k < count($defaultChatRooms); $k++)
{
! $tmpRoom = stripslashes($defaultChatRooms[$k]);
! $id = md5($tmpRoom);
// Display this room name when it hadn't been displayed yet
|