$registrator->register();
$registrator->setCreatedBy($user->id); // Override created_by to admin account.
if ($err->no()) {
- header('Location: admin_teams.php');
+ header('Location: admin_groups.php');
exit();
}
} // isPost
$smarty->assign('forms', array($form->getName()=>$form->toArray()));
$smarty->assign('onload', 'onLoad="document.teamForm.team.focus()"');
$smarty->assign('content_page_name', 'admin_team_add.tpl');
-$smarty->assign('title', $i18n->get('title.create_team'));
+$smarty->assign('title', $i18n->get('title.create_group'));
$smarty->display('index.tpl');