$admin = new ttAdmin();
$result = $admin->markGroupDeleted($group_id);
if ($result) {
- header('Location: admin_teams.php');
+ header('Location: admin_groups.php');
exit();
} else
$err->add($i18n->get('error.db'));
}
if ($request->getParameter('btn_cancel')) {
- header('Location: admin_teams.php');
+ header('Location: admin_groups.php');
exit();
}
} // isPost
$smarty->assign('team_to_delete', $team_name);
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
-$smarty->assign('title', $i18n->get('title.delete_team'));
+$smarty->assign('title', $i18n->get('title.delete_group'));
$smarty->assign('content_page_name', 'admin_team_delete.tpl');
$smarty->display('index.tpl');