True, 'nonavbar' => True ); } $phpgw_info['flags']['currentapp'] = 'admin'; include('../header.inc.php'); if (!$server_id) { Header('Location: ' . $phpgw->link('/admin/servers.php')); } if ($confirm) { $is->delete($server_id); Header('Location: ' . $phpgw->link('/admin/servers.php',"start=$start&query=$query&sort=$sort&order=$order&filter=$filter")); } else { $hidden_vars = '\n" . '\n" . '\n" . '\n" . '\n" . '' . "\n"; $phpgw->template->set_file(array('server_delete' => 'delete_common.tpl')); $phpgw->template->set_var('messages',lang('Are you sure you want to delete this server?')); $nolinkf = $phpgw->link('/admin/servers.php',"server_id=$server_id&start=$start&query=$query&sort=$sort&order=$order&filter=$filter"); $nolink = "" . lang('No') .""; $phpgw->template->set_var('no',$nolink); $yeslinkf = $phpgw->link('/admin/deleteserver.php',"server_id=$server_id&confirm=True"); $yeslinkf = '
'; $yeslink = '' . lang('Yes') .''; $yeslink = $yeslinkf; $phpgw->template->set_var('yes',$yeslink); $phpgw->template->pparse('out','server_delete'); } $phpgw->common->phpgw_footer(); ?>