cvs: phpweb / bugs.php
| From: | Jim Winstead | Date: | Sat, 07 Jul 2001 18:54:02 +0000 |
| Subject: | cvs: phpweb / bugs.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-5290@lists.php.net to get a copy of this message | ||
jimw Sat Jul 7 14:54:02 2001 EDT
Modified files:
/phpweb bugs.php
Log:
only display one edit field for assign to
Index: phpweb/bugs.php
diff -u phpweb/bugs.php:1.127 phpweb/bugs.php:1.128
--- phpweb/bugs.php:1.127 Sat Jul 7 12:39:14 2001
+++ phpweb/bugs.php Sat Jul 7 14:53:59 2001
@@ -591,14 +591,10 @@
<td><?php echo $original[php_version]?></td>
<?php }?>
</tr>
-<?php if ($original[assign] || $edit == 1) {?>
+<?php if ($original[assign] && !$edit) {?>
<tr>
<th align="right">Assigned To:</th>
- <?php if ($edit == 1) {?>
- <td><input type="text" name="assign" size="10"
maxlength="16" value="<?php echo $assign ? htmlspecialchars(stripslashes($assign))
: htmlspecialchars($original[assign])?>" /></td>
- <?php } else { ?>
- <td><?php echo $original[assign]?></td>
- <?php }?>
+ <td><?php echo $original[assign]?></td>
</tr>
<?php }?>
<tr>