From: Lo?c C. <lo...@us...> - 2001-04-19 20:23:40
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands In directory usw-pr-cvs1:/tmp/cvs-serv11770/chat/lib/commands Modified Files: invite.cmd.php3 Log Message: The invite link displayed can be run with pure HTML Index: invite.cmd.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/commands/invite.cmd.php3,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** invite.cmd.php3 2001/04/19 08:57:15 1.5 --- invite.cmd.php3 2001/04/19 20:23:36 1.6 *************** *** 15,19 **** // | http://www.phpheaven.net/projects/phpMyChat/ | // | | ! // | Authors: the phpHeaven-team <php...@ya...> | // +--------------------------------------------------------------------------+ // --- 15,19 ---- // | http://www.phpheaven.net/projects/phpMyChat/ | // | | ! // | Authors: the phpHeaven-team <te...@ph...> | // +--------------------------------------------------------------------------+ // *************** *** 48,55 **** // Prepares the messages $reqRegist = ($dbSessionVars['roomType'] == 0 && !C_REQUIRE_REGISTER) ? ' . \\\' \\\' . L_INVITE_REG' : ''; ! $theMessage = 'sprintf(L_INVITE, \\\'' . $nickForNotifications . '\\\', \\\'JOIN\\\', \\\'' . $currentRoomType . ' #' . $roomForJs . '\\\', \\\'' . $roomForNotifications . '\\\')' . $reqRegist; --- 48,56 ---- // Prepares the messages + $roomUrl = '$dbSessionVars[\\\'from\\\'] . \\\'?\\\' . dbSessionSID(\\\'GET\\\') . \\\'' . $pmcQueryArgSeparator . 'exitMessage=1' . $pmcQueryArgSeparator . 'newTargetRoom=' . $currentRoomType . urlencode($dbSessionVars['currentRoom']); $reqRegist = ($dbSessionVars['roomType'] == 0 && !C_REQUIRE_REGISTER) ? ' . \\\' \\\' . L_INVITE_REG' : ''; ! $theMessage = 'sprintf(L_INVITE, \\\'' . $nickForNotifications . '\\\', ' . $roomUrl . '\\\', \\\'JOIN\\\', \\\'' . $currentRoomType . ' #' . $roomForJs . '\\\', \\\'' . $roomForNotifications . '\\\')' . $reqRegist; |