True,
'nonavbar' => True,
'currentapp' => 'admin'
);
if (!$app_name)
{
Header("Location: " . $phpgw->link('/admin/applications.php'));
}
include('../header.inc.php');
$p = CreateObject('phpgwapi.Template',PHPGW_APP_TPL);
$p->set_file(array('body' => 'delete_common.tpl'));
if ($confirm)
{
$phpgw->db->query("delete from phpgw_applications where app_name='$app_name'",__LINE__,__FILE__);
Header("Location: " . $phpgw->link('/admin/applications.php'));
$phpgw->common->phpgw_exit();
}
$phpgw->common->phpgw_header();
echo parse_navbar();
$p->set_var('messages',lang('Are you sure you want to delete this application ?'));
$p->set_var('no','' . lang('No') . '');
$p->set_var('yes','' . lang('Yes') . '');
$p->pparse('out','body');
$phpgw->common->phpgw_footer();
?>