3 * FusionForge Project Management Facility
5 * Copyright 2002 GForge, LLC
6 * Copyright (C) 2011 Alain Peyrat - Alcatel-Lucent
7 * Copyright 2012,2015 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.
33 $ath->header(array ('title'=>_('Delete artifact').': '. $ah->getStringID() . ' ' . $ah->getSummary(),
34 'atid'=>$ath->getID(),
37 // $atid, $aid and $group_id are set in tracker.php
41 <table class="centered">
45 <legend><?php echo _('Confirm Delete'); ?></legend>
47 echo $HTML->openForm(array('action' => '/tracker/?aid='.$aid.'&group_id='.$group_id, 'method' => 'post'));
49 <input type="hidden" name="form_key" value="<?php echo form_generate_key(); ?>" />
50 <input type="hidden" name="func" value="postdeleteartifact" />
51 <input type="hidden" name="atid" value="<?php echo $atid; ?>" />
53 <?php echo _('Are you sure you want to delete this artifact?'); ?>
55 <p class="align-center">
56 <input id="confirm_delete" type="checkbox" value="1" name="confirm_delete" />
57 <label for="confirm_delete">
58 <?php echo _('I am Sure'); ?>
61 <p class="align-center"><input type="submit" value="<?php echo _('Delete'); ?>" name="submit" />
64 echo $HTML->closeForm();
77 // c-file-style: "bsd"