[Phpslash-commit] CVS: phpslash-ft/public_html comment.php3,1.11,1.12
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-05-13 18:43:26
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory usw-pr-cvs1:/tmp/cvs-serv14865/phpslash-ft/public_html Modified Files: comment.php3 Log Message: bugfix [ 554671 ] Problem with Re:'s Index: comment.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/comment.php3,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** comment.php3 6 Mar 2002 04:29:54 -0000 1.11 --- comment.php3 13 May 2002 18:43:23 -0000 1.12 *************** *** 90,93 **** --- 90,95 ---- if ($parent_ary[subject] == "") { $ary[subject] = pslgetText("No Subject Given"); + } elseif( preg_match ("/Re\:/i",$parent_ary['subject'])) { + $ary[subject] = $parent_ary[subject]; } else { $ary[subject] = pslgetText("Re: ") . $parent_ary[subject]; *************** *** 133,137 **** echo "<BR>Click <A HREF=\"" . $return_link . "\">here</A> to go back<BR>\n"; if ($parent_id) { ! echo "<A HREF=\"" . $_PSL[rooturl] . "/comment.php3?submit=show&comment_id=$parent_id\">View Parent Comment</A>\n"; } --- 135,139 ---- echo "<BR>Click <A HREF=\"" . $return_link . "\">here</A> to go back<BR>\n"; if ($parent_id) { ! echo "<A HREF=\"" . $_PSL[rooturl] . "/comment.php3?submit=show&story_id=$story_id&comment_id=$parent_id&mode=flat\">View Parent Comment</A>\n"; } |