]> wagnertech.de Git - timetracker.git/blobdiff - admin_team_add.php
Some more renaming in progress.
[timetracker.git] / admin_team_add.php
index 6a8b05d574f565dbc1315fa4e71182979c1a1373..7904d9f213c71ad02fdc9d4164a08db2cd2c659b 100644 (file)
@@ -107,7 +107,7 @@ if ($request->isPost()) {
   $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
@@ -116,5 +116,5 @@ $smarty->assign('auth_external', $auth->isPasswordExternal());
 $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');