CVS update: phpweb
| From: | jimw | Date: | Wed, 21 Jul 1999 20:21:22 +0000 |
| Subject: | CVS update: phpweb | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-141@lists.php.net to get a copy of this message | ||
Date: Wednesday July 21, 1999 @ 16:21
Author: jimw
Update of /repository/phpweb
In directory php:/local/Web/sites/phpweb
Modified Files:
bugs.php3
Log Message:
Changes to put PHP4 prefix on PHP4 bug updates.
Index: phpweb/bugs.php3
diff -u phpweb/bugs.php3:1.115 phpweb/bugs.php3:1.116
--- phpweb/bugs.php3:1.115 Mon Jun 28 01:55:24 1999
+++ phpweb/bugs.php3 Wed Jul 21 16:21:22 1999
@@ -378,8 +378,10 @@
$esdesc = stripslashes($esdesc);
/* mail bug originator */
- Mail($eemail, "Bug #$id Updated: $esdesc", $text, "From: Bug Database
<$destination>");
- Mail($destination, "Bug #$id Updated: $esdesc", $text, "From: Bug Database
<$destination>");
+ if ($ephp_version[0] == '4') {
+ $prefix = 'PHP4';
+ }
+ Mail("$eemail, $destination", "$prefix Bug #$id Updated: $esdesc",
$text, "From: Bug Database <$destination>");
}
}
@@ -416,8 +418,11 @@
$text .= "\nFull Bug description available at: http://bugs.php.net/?id=$id\n";
$text = stripslashes($text);
$esdesc = stripslashes($esdesc);
- Mail($eemail, "Bug #$id Updated: $esdesc", $text, "From: Bug Database
<$destination>");
- Mail($destination, "Bug #$id Updated: $esdesc", $text, "From: Bug Database
<$destination>");
+ /* mail bug originator */
+ if ($ephp_version[0] == '4') {
+ $prefix = 'PHP4';
+ }
+ Mail("$eemail, $destination", "$prefix Bug #$id Updated: $esdesc",
$text, "From: Bug Database <$destination>");
mysql_freeresult($result);
}
}
@@ -462,6 +467,7 @@
if($edit==2) {
echo "<tr><th align=right>PHP Version:</th><td><input type=text
size=20 name=ephp_version
value=\"".$row[5]."\"></td></tr>\n";
} else {
+ echo "<input type=hidden name=ephp_version
value=\"".$row[5]."\">\n";
echo "<tr><th align=right>PHP
Version:</th><td>".$row[5]."</td></tr>\n";
}
echo "<tr><th align=right>Assigned
To:</th><td>".$row[12]."</td></tr>\n";