From: Lo?c C. <lo...@us...> - 2001-04-04 09:46:28
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat In directory usw-pr-cvs1:/tmp/cvs-serv23685/chat Modified Files: users.php3 Log Message: The generated frame is XHTML 1 validated Index: users.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users.php3,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** users.php3 2001/04/04 09:04:09 1.3 --- users.php3 2001/04/04 09:46:23 1.4 *************** *** 141,145 **** $usersCnt = 0; ! $usersList[] = '<b>' . htmlspecialchars($dbSessionVars['targetRoom']) . '<b>' . '<span class="small">' . '<bdo dir="' . $textDirection . '"></bdo>' --- 141,146 ---- $usersCnt = 0; ! $usersList[] = '<!-- The current room -->'; ! $usersList[] = '<b>' . htmlspecialchars($dbSessionVars['targetRoom']) . '</b>' . '<span class="small">' . '<bdo dir="' . $textDirection . '"></bdo>' *************** *** 199,203 **** $usersList[] = ''; $usersList[] = ''; ! $usersList[0] = str_replace('%NUMROWS%', $usersCnt, $usersList[0]); --- 200,204 ---- $usersList[] = ''; $usersList[] = ''; ! $usersList[1] = str_replace('%NUMROWS%', $usersCnt, $usersList[1]); *************** *** 290,293 **** --- 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">' *************** *** 318,325 **** if ($status != 'u' && $status != 'k' && $status != 'd' && $status != 'b') $tmpStr = '<a href="#" onclick="window.parent.pmcRunCmd(\'WHOIS\', \''. pmcSlashSingleQuotes(pmcSpecialChars($otherUser, $latin1)) . '\'); return false" class="user">' ! . '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '">' . '</a> '; else ! $tmpStr = '<img src="images/gender_none.gif" width="14" height="14" border="0" alt="' . L_NO_PROFILE . '"> '; $tmpStr .= '<a href="javascript:window.parent.pmcUserClick(\'' . pmcSlashSingleQuotes(pmcSpecialChars($otherUser, $latin1)) . '\', false)" class="user">' . pmcFormatUsername($otherUser, $latin1, $status) --- 320,327 ---- if ($status != 'u' && $status != 'k' && $status != 'd' && $status != 'b') $tmpStr = '<a href="#" onclick="window.parent.pmcRunCmd(\'WHOIS\', \''. pmcSlashSingleQuotes(pmcSpecialChars($otherUser, $latin1)) . '\'); return false" class="user">' ! . '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '" />' . '</a> '; else ! $tmpStr = '<img src="images/gender_none.gif" width="14" height="14" border="0" alt="' . L_NO_PROFILE . '" /> '; $tmpStr .= '<a href="javascript:window.parent.pmcUserClick(\'' . pmcSlashSingleQuotes(pmcSpecialChars($otherUser, $latin1)) . '\', false)" class="user">' . pmcFormatUsername($otherUser, $latin1, $status) *************** *** 417,422 **** </head> ! <body class="frame" onunload="pmcGetY();"> ! <p> <?php reset($usersList); --- 419,424 ---- </head> ! <body class="frame" onunload="pmcGetY()"> ! <?php reset($usersList); *************** *** 426,430 **** } ?> - </p> <script type="text/javascript" language="javascript1.2"> --- 428,431 ---- |