From: Lo?c C. <lo...@us...> - 2001-11-29 22:10:38
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat In directory usw-pr-cvs1:/tmp/cvs-serv7578/chat Modified Files: users_popup_low.php3 users_low.php3 users.php3 Log Message: Added some "<nobr>" for IE Index: users_popup_low.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users_popup_low.php3,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** users_popup_low.php3 2001/11/26 20:22:15 1.17 --- users_popup_low.php3 2001/11/29 22:10:35 1.18 *************** *** 236,242 **** $usersList[] = '<p>'; $usersList[] = "\t" ! . '<b>' . htmlspecialchars($aRoomName) . '</b>' . '<span class="small"><bdo dir="' . $textDirection . '"></bdo> ' ! . '(%NUM ROWS%)</span><br />'; $retRow = $pointerPos + 2; $pointerPos += 2; --- 236,242 ---- $usersList[] = '<p>'; $usersList[] = "\t" ! . '<nobr><b>' . htmlspecialchars($aRoomName) . '</b>' . '<span class="small"><bdo dir="' . $textDirection . '"></bdo> ' ! . '(%NUM ROWS%)</span></nobr><br />'; $retRow = $pointerPos + 2; $pointerPos += 2; *************** *** 244,248 **** // The users' list in the handdled room ! $usersList[] = "\t" . '- ' . pmcFormatUsername($anUser, $latin1, $status) . '<br />'; $pointerPos++; $usersCnt++; --- 244,248 ---- // The users' list in the handdled room ! $usersList[] = "\t" . '<nobr>- ' . pmcFormatUsername($anUser, $latin1, $status) . '</nobr><br />'; $pointerPos++; $usersCnt++; Index: users_low.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users_low.php3,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -r1.22 -r1.23 *** users_low.php3 2001/06/16 10:18:54 1.22 --- users_low.php3 2001/11/29 22:10:35 1.23 *************** *** 257,265 **** $usersList[] = '<!-- The current room -->'; $usersList[] = '<p>'; ! $usersList[] = '<b>' . htmlspecialchars($aRoomName) . '</b>' . '<span class="small">' . '<bdo dir="' . $textDirection . '"></bdo>' . ' (%NUM ROWS%)' ! . '</span><br />'; $retRow = 2; $pointerPos += 2; --- 257,265 ---- $usersList[] = '<!-- The current room -->'; $usersList[] = '<p>'; ! $usersList[] = '<nobr><b>' . htmlspecialchars($aRoomName) . '</b>' . '<span class="small">' . '<bdo dir="' . $textDirection . '"></bdo>' . ' (%NUM ROWS%)' ! . '</span></nobr><br />'; $retRow = 2; $pointerPos += 2; *************** *** 294,300 **** $usersList[] = '<p>'; $usersList[] = "\t" ! . '<a href="' . str_replace('%NEW ROOM%', urlencode($aRoomName), $joinUrl) . '" target="_parent"' . $jsClickLink . '>' . htmlspecialchars($aRoomName) . '</a>' . '<span class="small"><bdo dir="' . $textDirection . '"></bdo> ' ! . '(%NUM ROWS%)</span><br />'; $retRow = $pointerPos + 2; $pointerPos += 2; --- 294,300 ---- $usersList[] = '<p>'; $usersList[] = "\t" ! . '<nobr><a href="' . str_replace('%NEW ROOM%', urlencode($aRoomName), $joinUrl) . '" target="_parent"' . $jsClickLink . '>' . htmlspecialchars($aRoomName) . '</a>' . '<span class="small"><bdo dir="' . $textDirection . '"></bdo> ' ! . '(%NUM ROWS%)</span></nobr><br />'; $retRow = $pointerPos + 2; $pointerPos += 2; *************** *** 334,338 **** $jsArgs = '\'WHOIS\', \'' . pmcSlashSingleQuotes(pmcSpecialChars($anUser, $latin1)) . '\''; } ! $tmpStr = '<a href="' . $htmlLink . '" target="' . $htmlTarget . '" onclick="window.parent.pmcRunCmd(' . $jsArgs . '); return false;" class="user">' . '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '" />' . '</a> '; --- 334,338 ---- $jsArgs = '\'WHOIS\', \'' . pmcSlashSingleQuotes(pmcSpecialChars($anUser, $latin1)) . '\''; } ! $tmpStr = '<nobr><a href="' . $htmlLink . '" target="' . $htmlTarget . '" onclick="window.parent.pmcRunCmd(' . $jsArgs . '); return false;" class="user">' . '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '" />' . '</a> '; *************** *** 340,348 **** 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($anUser, $latin1)) . '\', false)" class="user">' . pmcFormatUsername($anUser, $latin1, $status, $away) ! . '</a><br />'; $usersList[] = "\t" . $tmpStr; $usersCnt++; --- 340,348 ---- else { ! $tmpStr = '<nobr><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($anUser, $latin1)) . '\', false)" class="user">' . pmcFormatUsername($anUser, $latin1, $status, $away) ! . '</a></nobr><br />'; $usersList[] = "\t" . $tmpStr; $usersCnt++; *************** *** 390,396 **** $usersList[] = '<p>'; $usersList[] = "\t" ! . '<a href="' . str_replace('%NEW ROOM%', urlencode($tmpRoom), $joinUrl) . '" target="_parent"' . $jsClickLink . '>' . htmlspecialchars($tmpRoom) . '</a>' . '<span class="small"><bdo dir="' . $textDirection . '"></bdo>' ! . ' (0)</span>'; $usersList[] = '</p>'; $usersList[] = ''; --- 390,396 ---- $usersList[] = '<p>'; $usersList[] = "\t" ! . '<nobr><a href="' . str_replace('%NEW ROOM%', urlencode($tmpRoom), $joinUrl) . '" target="_parent"' . $jsClickLink . '>' . htmlspecialchars($tmpRoom) . '</a>' . '<span class="small"><bdo dir="' . $textDirection . '"></bdo>' ! . ' (0)</span></nobr>'; $usersList[] = '</p>'; $usersList[] = ''; Index: users.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/users.php3,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -r1.27 -r1.28 *** users.php3 2001/06/10 14:56:06 1.27 --- users.php3 2001/11/29 22:10:35 1.28 *************** *** 256,264 **** { $usersList[] = '<!-- The current room -->'; ! $usersList[] = '<b>' . htmlspecialchars($aRoomName) . '</b>' . '<span class="small">' . '<bdo dir="' . $textDirection . '"></bdo>' . ' (%NUM ROWS%)' ! . '</span><br />'; $usersList[] = '<div style="margin-bottom: 10px">'; $retRow = 1; --- 256,264 ---- { $usersList[] = '<!-- The current room -->'; ! $usersList[] = '<nobr><b>' . htmlspecialchars($aRoomName) . '</b>' . '<span class="small">' . '<bdo dir="' . $textDirection . '"></bdo>' . ' (%NUM ROWS%)' ! . '</span></nobr><br />'; $usersList[] = '<div style="margin-bottom: 10px">'; $retRow = 1; *************** *** 294,303 **** $usersList[] = '<div id="Parent' . $id . '" class="parent" style="margin-top: 10px; cursor: hand">'; ! $usersList[] = "\t" . '<a href="#" onclick="window.parent.pmcExpandRoom(\'' . $id . '\'); return false">' . '<img name="imEx" id="imEx' . $id . '" src="images/closed.gif" width="9" height="9" border="0" alt="' . L_EXPCOL . '" /></a>' . ' ' . '<a href="' . str_replace('%NEW ROOM%', urlencode($aRoomName), $joinUrl) . '" target="_parent"' . $jsClickLink . '>' . htmlspecialchars($aRoomName) . '</a>' . '<span class="small"><bdo dir="' . $textDirection . '"></bdo> ' ! . '(%NUM ROWS%)</span>'; $usersList[] = '</div>'; $usersList[] = '<div id="Child' . $id .'" class="child" style="margin-left: 12px">'; --- 294,303 ---- $usersList[] = '<div id="Parent' . $id . '" class="parent" style="margin-top: 10px; cursor: hand">'; ! $usersList[] = "\t" . '<nobr><a href="#" onclick="window.parent.pmcExpandRoom(\'' . $id . '\'); return false">' . '<img name="imEx" id="imEx' . $id . '" src="images/closed.gif" width="9" height="9" border="0" alt="' . L_EXPCOL . '" /></a>' . ' ' . '<a href="' . str_replace('%NEW ROOM%', urlencode($aRoomName), $joinUrl) . '" target="_parent"' . $jsClickLink . '>' . htmlspecialchars($aRoomName) . '</a>' . '<span class="small"><bdo dir="' . $textDirection . '"></bdo> ' ! . '(%NUM ROWS%)</span></nobr>'; $usersList[] = '</div>'; $usersList[] = '<div id="Child' . $id .'" class="child" style="margin-left: 12px">'; *************** *** 336,340 **** $jsArgs = '\'WHOIS\', \'' . pmcSlashSingleQuotes(pmcSpecialChars($anUser, $latin1)) . '\''; } ! $tmpStr = '<a href="' . $htmlLink . '" target="' . $htmlTarget . '" onclick="window.parent.pmcRunCmd(' . $jsArgs . '); return false;" class="user">' . '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '" />' . '</a> '; --- 336,340 ---- $jsArgs = '\'WHOIS\', \'' . pmcSlashSingleQuotes(pmcSpecialChars($anUser, $latin1)) . '\''; } ! $tmpStr = '<nobr><a href="' . $htmlLink . '" target="' . $htmlTarget . '" onclick="window.parent.pmcRunCmd(' . $jsArgs . '); return false;" class="user">' . '<img src="images/gender_' . $gender . '.gif" width="14" height="14" border="0" alt="' . L_PROFILE . '" />' . '</a> '; *************** *** 342,350 **** 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($anUser, $latin1)) . '\', false)" class="user">' . pmcFormatUsername($anUser, $latin1, $status, $away) ! . '</a><br />'; $usersList[] = "\t" . $tmpStr; $usersCnt++; --- 342,350 ---- else { ! $tmpStr = '<nobr><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($anUser, $latin1)) . '\', false)" class="user">' . pmcFormatUsername($anUser, $latin1, $status, $away) ! . '</a></nobr><br />'; $usersList[] = "\t" . $tmpStr; $usersCnt++; *************** *** 396,402 **** $usersList[] = '<div id="Parent' . $id . '" class="parent" style="margin-top: 10px; cursor: hand">'; $usersList[] = "\t" ! . '<a href="' . str_replace('%NEW ROOM%', urlencode($tmpRoom), $joinUrl) . '" target="_parent"' . $jsClickLink . '>' . htmlspecialchars($tmpRoom) . '</a>' . '<span class="small"><bdo dir="' . $textDirection . '"></bdo>' ! . ' (0)</span>'; $usersList[] = '</div>'; $usersList[] = ''; --- 396,402 ---- $usersList[] = '<div id="Parent' . $id . '" class="parent" style="margin-top: 10px; cursor: hand">'; $usersList[] = "\t" ! . '<nobr><a href="' . str_replace('%NEW ROOM%', urlencode($tmpRoom), $joinUrl) . '" target="_parent"' . $jsClickLink . '>' . htmlspecialchars($tmpRoom) . '</a>' . '<span class="small"><bdo dir="' . $textDirection . '"></bdo>' ! . ' (0)</span></nobr>'; $usersList[] = '</div>'; $usersList[] = ''; |