X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=admin_team_edit.php;h=6f44ee9a7d99ae60bcf82089a3da09b1226ad4fb;hb=cd5e077ecb497431decde4835138b877d63b261c;hp=84057b0e240cd8ecbcd1a547d3b9f3305fa788ae;hpb=9e82b53fc5d8cb1e54b5fde774fa68a916f28b4c;p=timetracker.git diff --git a/admin_team_edit.php b/admin_team_edit.php index 84057b0e..6f44ee9a 100644 --- a/admin_team_edit.php +++ b/admin_team_edit.php @@ -64,8 +64,8 @@ $form->addInput(array('type'=>'text','maxlength'=>'80','name'=>'team_name','valu $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'manager_name','value'=>$cl_manager_name)); $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'manager_login','value'=>$cl_manager_login)); if (!$auth->isPasswordExternal()) { - $form->addInput(array('type'=>'text','maxlength'=>'30','name'=>'password1','aspassword'=>true,'value'=>$cl_password1)); - $form->addInput(array('type'=>'text','maxlength'=>'30','name'=>'password2','aspassword'=>true,'value'=>$cl_password2)); + $form->addInput(array('type'=>'password','maxlength'=>'30','name'=>'password1','value'=>$cl_password1)); + $form->addInput(array('type'=>'password','maxlength'=>'30','name'=>'password2','value'=>$cl_password2)); } $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'manager_email','value'=>$cl_manager_email)); $form->addInput(array('type'=>'hidden','name'=>'id','value'=>$team_id)); @@ -112,7 +112,7 @@ if ($request->isPost()) { header('Location: admin_teams.php'); exit(); } -} // POST +} // isPost $smarty->assign('auth_external', $auth->isPasswordExternal()); $smarty->assign('forms', array($form->getName()=>$form->toArray()));