[Openfirst-cvscommit] messenger inbox.php,1.15,1.16 messenger.php,1.14,1.15 newmsg.php,1.18,1.19 vie
Brought to you by:
xtimg
From: Astronouth7303 <ast...@us...> - 2005-03-14 00:53:45
|
Update of /cvsroot/openfirst/messenger In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20460/messenger Modified Files: inbox.php messenger.php newmsg.php viewmsg.php Log Message: -Corrected usage of $home -Added $server Index: viewmsg.php =================================================================== RCS file: /cvsroot/openfirst/messenger/viewmsg.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** viewmsg.php 14 Feb 2004 15:24:04 -0000 1.15 --- viewmsg.php 14 Mar 2005 00:53:32 -0000 1.16 *************** *** 67,72 **** <tr> <td> </td> ! <td><a href='inbox.php?DELETE=<?php echo $msg->ID; ?>'><img src='<?php echo $home.$basepath; ?>/members/icons/actions/button_cancel.png' border="0"></a> ! <a href="newmsg.php?RECIP=<?php echo $msg->Sender; ?>&SUBJECT=Re:%20<?php echo $msg->Subject; ?>"><img src='<?php echo $home.$basepath; ?>/members/icons/actions/mail_replay.png' border="0" alt="Reply"></a></td> </tr> </table> --- 67,72 ---- <tr> <td> </td> ! <td><a href='inbox.php?DELETE=<?php echo $msg->ID; ?>'><img src='<?php echo $basepath; ?>/members/icons/actions/button_cancel.png' border="0"></a> ! <a href="newmsg.php?RECIP=<?php echo $msg->Sender; ?>&SUBJECT=Re:%20<?php echo $msg->Subject; ?>"><img src='<?php echo $basepath; ?>/members/icons/actions/mail_replay.png' border="0" alt="Reply"></a></td> </tr> </table> Index: newmsg.php =================================================================== RCS file: /cvsroot/openfirst/messenger/newmsg.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** newmsg.php 28 Feb 2004 02:28:19 -0000 1.18 --- newmsg.php 14 Mar 2005 00:53:32 -0000 1.19 *************** *** 46,50 **** multipartmail($recipient->email, "New message has arrived!" , $message = "Hello ".$recipient->firstname.", you have received a new message from ".$user->user. ! ". You may pickup your message by visiting: $home/$basepath/messenger/inbox.php. Thank you and have a nice day!"); } else { --- 46,50 ---- multipartmail($recipient->email, "New message has arrived!" , $message = "Hello ".$recipient->firstname.", you have received a new message from ".$user->user. ! ". You may pickup your message by visiting: $basepath/messenger/inbox.php. Thank you and have a nice day!"); } else { *************** *** 58,62 **** $message = "Hello ".$recipient->firstname.",<br><br>You have received a new message from ".$user->user." on the <b>$title</b> ! Messenger System. You may pickup your message by visiting: $home/$basepath/messenger/inbox.php.<br><br>Thank you and have a nice day!"; mail($recipient->email,"New message has arrived!",$message,$headers); --- 58,62 ---- $message = "Hello ".$recipient->firstname.",<br><br>You have received a new message from ".$user->user." on the <b>$title</b> ! Messenger System. You may pickup your message by visiting: $basepath/messenger/inbox.php.<br><br>Thank you and have a nice day!"; mail($recipient->email,"New message has arrived!",$message,$headers); *************** *** 64,68 **** if(function_exists("send_message")) { ! send_message($recipient->user, "You have a new message waiting in your messenger inbox. $home/$basepath/messenger/inbox.php", "all"); } --- 64,68 ---- if(function_exists("send_message")) { ! send_message($recipient->user, "You have a new message waiting in your messenger inbox. $basepath/messenger/inbox.php", "all"); } Index: messenger.php =================================================================== RCS file: /cvsroot/openfirst/messenger/messenger.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** messenger.php 14 Feb 2004 15:24:04 -0000 1.14 --- messenger.php 14 Mar 2005 00:53:32 -0000 1.15 *************** *** 89,93 **** <tr> <td height="25" style="background-color: #ffffff; color: #000000;" ! ><img src="<?php echo $home.$basepath; ?>/members/icons/actions/mail_new.png" alt="New Message"> <br> <center>You have <b><?php echo $messages; ?></b> new Messages(s) in your visitor --- 89,93 ---- <tr> <td height="25" style="background-color: #ffffff; color: #000000;" ! ><img src="<?php echo $basepath; ?>/members/icons/actions/mail_new.png" alt="New Message"> <br> <center>You have <b><?php echo $messages; ?></b> new Messages(s) in your visitor Index: inbox.php =================================================================== RCS file: /cvsroot/openfirst/messenger/inbox.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** inbox.php 14 Feb 2004 15:24:04 -0000 1.15 --- inbox.php 14 Mar 2005 00:53:32 -0000 1.16 *************** *** 60,64 **** while($messages = ofirst_dbfetch_object($query)) { ?> <tr> ! <td><img src="<?php echo $home.$basepath; ?>/members/icons/actions/mail_new.png" alt="Message"></td> <td><a href='viewmsg.php?ID=<?php echo $messages->ID; ?>'> <?php --- 60,64 ---- while($messages = ofirst_dbfetch_object($query)) { ?> <tr> ! <td><img src="<?php echo $basepath; ?>/members/icons/actions/mail_new.png" alt="Message"></td> <td><a href='viewmsg.php?ID=<?php echo $messages->ID; ?>'> <?php |