3 * FusionForge Project Management Facility
5 * Copyright 2002 GForge, LLC
6 * Copyright (C) 2011 Alain Peyrat - Alcatel-Lucent
7 * Copyright 2012, Franck Villaume - TrivialDev
8 * http://fusionforge.org/
10 * This file is part of FusionForge. FusionForge is free software;
11 * you can redistribute it and/or modify it under the terms of the
12 * GNU General Public License as published by the Free Software
13 * Foundation; either version 2 of the Licence, or (at your option)
16 * FusionForge is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License along
22 * with FusionForge; if not, write to the Free Software Foundation, Inc.,
23 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
32 $ath->header(array ('title'=>_('Delete artifact').': [#'. $ah->getID(). '] ' . $ah->getSummary(), 'atid'=>$ath->getID()));
34 // $atid, $aid and $group_id are set in tracker.php
42 <legend><?php echo _('Confirm Deletion'); ?></legend>
43 <form action="<?php echo getStringFromServer('PHP_SELF')."?aid=$aid&group_id=$group_id"; ?>" method="post">
44 <input type="hidden" name="form_key" value="<?php echo form_generate_key(); ?>" />
45 <input type="hidden" name="func" value="postdeleteartifact" />
46 <input type="hidden" name="atid" value="<?php echo $atid; ?>" />
48 <table align="center">
51 <td class="veryimportant"><?php echo _('Are you sure you want to delete this artifact?'); ?></td>
53 <tr class="align-center">
54 <td class="align-center"><input type="checkbox" value="1" name="confirm_delete" /> <?php echo _('Yes, I want to delete this artifact'); ?></td>
57 <td style="text-align:center"><input type="submit" value="<?php echo _('Delete'); ?>" name="submit" /></td>
69 $ath->footer(array());
73 // c-file-style: "bsd"