X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=admin_options.php;h=226a8a5e70659ae1d47621c0be11f90e3ab92fc1;hb=725af06a89e5a7014dfdc9081222f313a58a6bb6;hp=14cb3f54c54b60018873077eed44e76ddc13ac4b;hpb=7ca15b5853146dd809f2ad3f5b2e1d9dab4f8dd4;p=timetracker.git diff --git a/admin_options.php b/admin_options.php index 14cb3f54..226a8a5e 100644 --- a/admin_options.php +++ b/admin_options.php @@ -58,7 +58,7 @@ if (!$auth->isPasswordExternal()) { $form->addInput(array('type'=>'password','maxlength'=>'30','name'=>'password2','value'=>$cl_password2)); } $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'email','value'=>$cl_email)); -$form->addInput(array('type'=>'submit','name'=>'btn_submit','value'=>$i18n->getKey('button.submit'))); +$form->addInput(array('type'=>'submit','name'=>'btn_submit','value'=>$i18n->get('button.submit'))); if ($request->isPost()) { // Create fields array for ttAdmin instance. @@ -73,13 +73,13 @@ if ($request->isPost()) { $admin = new ttAdmin($err); $result = $admin->updateSelf($fields); if ($result) { - header('Location: admin_teams.php'); + header('Location: admin_groups.php'); exit(); } } // isPost $smarty->assign('auth_external', $auth->isPasswordExternal()); $smarty->assign('forms', array($form->getName()=>$form->toArray())); -$smarty->assign('title', $i18n->getKey('title.options')); +$smarty->assign('title', $i18n->get('title.options')); $smarty->assign('content_page_name', 'admin_options.tpl'); $smarty->display('index.tpl');