Some more renaming in progress.
[timetracker.git] / admin_team_edit.php
index 05bfec8..0efca4f 100644 (file)
@@ -90,13 +90,13 @@ if ($request->isPost()) {
     $admin = new ttAdmin($err);
     $result = $admin->updateGroup($group_id, $fields);
     if ($result) {
-      header('Location: admin_teams.php');
+      header('Location: admin_groups.php');
       exit();
     }
   }
 
   if ($request->getParameter('btn_cancel')) {
-    header('Location: admin_teams.php');
+    header('Location: admin_groups.php');
     exit();
   }
 } // isPost
@@ -104,6 +104,6 @@ if ($request->isPost()) {
 $smarty->assign('auth_external', $auth->isPasswordExternal());
 $smarty->assign('forms', array($form->getName()=>$form->toArray()));
 $smarty->assign('onload', 'onLoad="document.teamForm.manager_name.focus()"');
-$smarty->assign('title', $i18n->get('title.edit_team'));
+$smarty->assign('title', $i18n->get('title.edit_group'));
 $smarty->assign('content_page_name', 'admin_team_edit.tpl');
 $smarty->display('index.tpl');