True, 'nonavbar' => True, 'currentapp' => 'admin' ); if (! $app_name) { Header("Location: " . $phpgw->link('/admin/applications.php')); } include('../header.inc.php'); $phpgw->template->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(); $phpgw->template->set_var('messages',lang('Are you sure you want to delete this application ?')); $phpgw->template->set_var('no','' . lang('No') . ''); $phpgw->template->set_var('yes','' . lang('Yes') . ''); $phpgw->template->pparse('out','body'); $phpgw->common->phpgw_footer(); ?>