From: Lo?c C. <lo...@us...> - 2001-05-16 20:54:34
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs In directory usw-pr-cvs1:/tmp/cvs-serv4126/chat/lib/index_libs Modified Files: start_page.lib.js main_index.lib.php3 Log Message: Modifications related to the new password reminder feature Index: start_page.lib.js =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/start_page.lib.js,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** start_page.lib.js 2001/05/10 11:45:36 1.9 --- start_page.lib.js 2001/05/16 20:54:32 1.10 *************** *** 163,167 **** + '?' + jsDbSessionSID; var popWidth = (name != 'admin') ? 350 : 510; ! var popHeight = (name != 'profile_del') ? 470 : 190; var popParams = 'width=' + popWidth + ',height=' + popHeight --- 163,167 ---- + '?' + jsDbSessionSID; var popWidth = (name != 'admin') ? 350 : 510; ! var popHeight = (name != 'profile_del' && name != 'profile_remind') ? 470 : 190; var popParams = 'width=' + popWidth + ',height=' + popHeight Index: main_index.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/index_libs/main_index.lib.php3,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -r1.29 -r1.30 *** main_index.lib.php3 2001/05/04 16:26:28 1.29 --- main_index.lib.php3 2001/05/16 20:54:32 1.30 *************** *** 262,271 **** * Initializes misc. variables */ ! if (!isset($password)) $password = ''; ! if (dbSessionIsRegistered('pwdHash')) ! $pwdHash = $dbSessionVars['pwdHash']; ! if (!isset($pwdHash)) ! $pwdHash = ''; $isRegUser = false; $regUserPerms = 'user'; --- 262,273 ---- * Initializes misc. variables */ ! if (dbSessionIsRegistered('password')) ! { ! $password = $dbSessionVars['password']; ! } ! else if (!isset($password)) ! { $password = ''; ! } $isRegUser = false; $regUserPerms = 'user'; *************** *** 683,687 **** </tr> <tr class="chatCell"> ! <td class="chatCell"> </td> </tr> --- 685,689 ---- </tr> <tr class="chatCell"> ! <td height="5" class="chatCell"></td> </tr> *************** *** 691,704 **** </tr> <tr class="chatCell"> <td align="center" colspan="2" class="chatCell"> - <br /> - <a href="<?php echo(_CHAT_PATH); ?>profile_reg.<?php echo(C_EXTENSION); ?>?<?php echo(dbSessionSID('GET')); ?>" target="profile_reg_popup" class="chatReg" onclick="pmcRegPopups('profile_reg'); return false"><?php echo(L_REG_3); ?></a> - | <a href="<?php echo(_CHAT_PATH); ?>profile_edit.<?php echo(C_EXTENSION); ?>?<?php echo(dbSessionSID('GET')); ?>" target="profile_edit_popup" class="chatReg" onclick="pmcRegPopups('profile_edit'); return false"><?php echo(L_REG_4); ?></a> <?php ! if (C_SHOW_DEL_PROF) { echo("\n"); ?> ! | <a href="<?php echo(_CHAT_PATH); ?>profile_del.<?php echo(C_EXTENSION); ?>?<?php echo(dbSessionSID('GET')); ?>" target="profile_del_popup" class="chatReg" onclick="pmcRegPopups('profile_del'); return false"><?php echo(L_REG_5); ?></a> <?php } --- 693,706 ---- </tr> <tr class="chatCell"> + <td height="5" class="chatCell"></td> + </tr> + <tr class="chatCell"> <td align="center" colspan="2" class="chatCell"> <?php ! if (C_MAIL_FUNCTION) { echo("\n"); ?> ! <a href="<?php echo(_CHAT_PATH); ?>profile_remind.<?php echo(C_EXTENSION); ?>?<?php echo(dbSessionSID('GET')); ?>" target="profile_remind_popup" class="chatReg" onclick="pmcRegPopups('profile_remind'); return false"><?php echo(L_REG_48); ?></a> <?php } *************** *** 710,714 **** <?php } ! echo("\n"); ?> --- 712,728 ---- <?php } ! echo("\n"); ! ?> ! <br /><br /> ! <a href="<?php echo(_CHAT_PATH); ?>profile_reg.<?php echo(C_EXTENSION); ?>?<?php echo(dbSessionSID('GET')); ?>" target="profile_reg_popup" class="chatReg" onclick="pmcRegPopups('profile_reg'); return false"><?php echo(L_REG_3); ?></a> ! | <a href="<?php echo(_CHAT_PATH); ?>profile_edit.<?php echo(C_EXTENSION); ?>?<?php echo(dbSessionSID('GET')); ?>" target="profile_edit_popup" class="chatReg" onclick="pmcRegPopups('profile_edit'); return false"><?php echo(L_REG_4); ?></a> ! <?php ! if (C_SHOW_DEL_PROF) ! { ! echo("\n"); ! ?> ! | <a href="<?php echo(_CHAT_PATH); ?>profile_del.<?php echo(C_EXTENSION); ?>?<?php echo(dbSessionSID('GET')); ?>" target="profile_del_popup" class="chatReg" onclick="pmcRegPopups('profile_del'); return false"><?php echo(L_REG_5); ?></a> ! <?php ! } echo("\n"); ?> *************** *** 721,725 **** ?> <tr class="chatCell"> ! <td colspan="2" class="ChatCell"> </td> </tr> --- 735,739 ---- ?> <tr class="chatCell"> ! <td height="5" colspan="2" class="ChatCell"></td> </tr> *************** *** 855,859 **** // 'savedMessagesLimit' ones may have been set repectively by the 'profile' and // the 'save' commands ! $toUnregister = array('pwdHash', 'conservative', 'savedMessagesLimit'); dbSessionUnregister($toUnregister); dbSessionSave(); --- 869,873 ---- // 'savedMessagesLimit' ones may have been set repectively by the 'profile' and // the 'save' commands ! $toUnregister = array('password', 'conservative', 'savedMessagesLimit'); dbSessionUnregister($toUnregister); dbSessionSave(); |