X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/e616d14ff2173bd13155592c0bdba23636376ffe..81ca36ba9b5294ecb417d9b82196752211c652b7:/admin_team_edit.php diff --git a/admin_team_edit.php b/admin_team_edit.php index 63f8fe7a..a737050a 100644 --- a/admin_team_edit.php +++ b/admin_team_edit.php @@ -69,8 +69,8 @@ if (!$auth->isPasswordExternal()) { } $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'manager_email','value'=>$cl_manager_email)); $form->addInput(array('type'=>'hidden','name'=>'id','value'=>$team_id)); -$form->addInput(array('type'=>'submit','name'=>'btn_save','value'=>$i18n->getKey('button.save'))); -$form->addInput(array('type'=>'submit','name'=>'btn_cancel','value'=>$i18n->getKey('button.cancel'))); +$form->addInput(array('type'=>'submit','name'=>'btn_save','value'=>$i18n->get('button.save'))); +$form->addInput(array('type'=>'submit','name'=>'btn_cancel','value'=>$i18n->get('button.cancel'))); if ($request->isPost()) { if ($request->getParameter('btn_save')) { @@ -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->getKey('title.edit_team')); +$smarty->assign('title', $i18n->get('title.edit_team')); $smarty->assign('content_page_name', 'admin_team_edit.tpl'); $smarty->display('index.tpl');