From: Lo?c C. <lo...@us...> - 2001-04-04 16:23:17
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs In directory usw-pr-cvs1:/tmp/cvs-serv5471/lib/index_libs Modified Files: do_enter_js_work.lib.php3 main_index.lib.php3 misc.lib.js start_page.lib.js Log Message: js fixes for users popus Index: do_enter_js_work.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/do_enter_js_work.lib.php3,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** do_enter_js_work.lib.php3 2001/04/03 20:10:15 1.1 --- do_enter_js_work.lib.php3 2001/04/04 16:23:13 1.2 *************** *** 39,44 **** var jsIgnoredPopupWin = null; - var jsUsersPopupWin = null; - var jsInputForm = null; var jsUrlQueryForHelp = '<?php echo('lang=' . $dbSessionVars['lang'] . $pmcQueryArgSeparator . 'jsVersion=' . $jsVersion); ?>'; --- 39,42 ---- Index: main_index.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/main_index.lib.php3,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** main_index.lib.php3 2001/04/04 11:09:31 1.4 --- main_index.lib.php3 2001/04/04 16:23:13 1.5 *************** *** 441,445 **** var jsTutorialWin = null; - var jsUsersPopupWin = null; var jsRegPopupWin = null; --- 441,444 ---- *************** *** 549,553 **** { $chattingCnt = $dbLink->numRows(); ! $usersPopupLink = ' <a href="' . _CHAT_PATH . 'users_popup_low.' . C_EXTENSION . '?' . dbSessionSID('GET') .'" class="chatLink" onclick="pmcUsersPopup(\'' . uniqid('') . '\'); return false" target="_blank">'; $usersPopupLink .= $chattingCnt . ' '; $usersPopupLink .= ($chattingCnt > 1) ? L_USERS : L_USER; --- 548,552 ---- { $chattingCnt = $dbLink->numRows(); ! $usersPopupLink = ' <a href="' . _CHAT_PATH . 'users_popup_low.' . C_EXTENSION . '?' . dbSessionSID('GET') .'" class="chatLink" onclick="pmcUsersPopup(\'' . md5(C_CHAT_URL) . '\'); return false" target="_blank">'; $usersPopupLink .= $chattingCnt . ' '; $usersPopupLink .= ($chattingCnt > 1) ? L_USERS : L_USER; Index: misc.lib.js =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/misc.lib.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** misc.lib.js 2001/04/03 20:14:52 1.1 --- misc.lib.js 2001/04/04 16:23:13 1.2 *************** *** 225,238 **** + '?' + jsDbSessionSID; - // Launches the users popup only if it doesn't already exists - if (!jsUsersPopupWin) - { - if (jsIsJs11) - window.focus(); - jsUsersPopupWin = window.open(usersUrl, 'users_popup_' + dummy, 'width=180,height=300,resizable=yes,scrollbars=yes'); - } - if (jsIsJs11) ! jsUsersPopupWin.focus(); } // end of the 'pmcUsersPopup()' function --- 225,233 ---- + '?' + jsDbSessionSID; if (jsIsJs11) ! window.focus(); ! var usersPopup = window.open(usersUrl, 'users_popup_' + dummy, 'width=180,height=300,resizable=yes,scrollbars=yes'); ! if (jsIsJs11) ! usersPopup.focus(); } // end of the 'pmcUsersPopup()' function Index: start_page.lib.js =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/start_page.lib.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** start_page.lib.js 2001/04/03 20:17:40 1.1 --- start_page.lib.js 2001/04/04 16:23:13 1.2 *************** *** 81,94 **** + '?' + jsDbSessionSID; - // Launches the users popup only if it doesn't already exists - if (!jsUsersPopupWin) - { - if (jsIsJs11) - window.focus(); - jsUsersPopupWin = window.open(usersUrl, 'users_popup_' + dummy, 'width=180,height=300,resizable=yes,scrollbars=yes'); - } - if (jsIsJs11) ! jsUsersPopupWin.focus(); } // end of the 'pmcUsersPopup()' function --- 81,89 ---- + '?' + jsDbSessionSID; if (jsIsJs11) ! window.focus(); ! var usersPopup = window.open(usersUrl, 'users_popup_' + dummy, 'width=180,height=300,resizable=yes,scrollbars=yes'); ! if (jsIsJs11) ! usersPopup.focus(); } // end of the 'pmcUsersPopup()' function |