[Openfirst-cvscommit] messanger inbox.php,1.5,1.6
Brought to you by:
xtimg
From: <dav...@us...> - 2003-06-04 18:34:23
|
Update of /cvsroot/openfirst/messanger In directory sc8-pr-cvs1:/tmp/cvs-serv32757 Modified Files: inbox.php Log Message: Edited bug reported by Jon Gambrell on CD. The inbox would not allow the link when the subject was blank. Whenever the subject is empty it now previews < No Subject > Index: inbox.php =================================================================== RCS file: /cvsroot/openfirst/messanger/inbox.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** inbox.php 5 May 2003 00:20:55 -0000 1.5 --- inbox.php 4 Jun 2003 18:34:20 -0000 1.6 *************** *** 60,64 **** <tr> <td><img src="msg.png" alt="Message"></td> ! <td><a href='viewmsg.php?ID=<?php echo $messages->ID; ?>'><?php echo $messages->Subject; ?></a></td> <td><?php echo date("F j, Y, g:i a",$messages->Date); ?></td> <td>Visitor #<?php echo $senderinfo->ID; ?></td> --- 60,74 ---- <tr> <td><img src="msg.png" alt="Message"></td> ! <td><a href='viewmsg.php?ID=<?php echo $messages->ID; ?>'> ! <?php ! ! if (empty($messages->Subject)){ ! echo "< No Subject >"; ! }else{ ! echo $messages->Subject; ! } ! ! ?> ! </a></td> <td><?php echo date("F j, Y, g:i a",$messages->Date); ?></td> <td>Visitor #<?php echo $senderinfo->ID; ?></td> |