|
From: Ulf E. <ulf...@us...> - 2005-10-02 19:41:21
|
Update of /cvsroot/phpbt/phpbt/templates/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17927/templates/default Modified Files: bugdisplay.html Log Message: Allow admins and project admins to delete bugs Index: bugdisplay.html =================================================================== RCS file: /cvsroot/phpbt/phpbt/templates/default/bugdisplay.html,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- bugdisplay.html 22 Sep 2005 20:51:50 -0000 1.53 +++ bugdisplay.html 1 Oct 2005 15:19:56 -0000 1.54 @@ -268,4 +268,13 @@ <td><?php echo format_comments($comments[$i]['comment_text']); ?> <br><br></td> </tr> <?php } ?> + <?php if (isset($perm) && $perm->have_perm_proj($project_id)) { ?> + <tr class="noprint"> + <td> + <div align="right"> + <a href="bug.php?op=del&bugid=<?php echo $bug_id; ?>"><?php echo translate("Delete bug"); ?></a> + </div> + </td> + </tr> + <?php } ?> </table> |