X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=user_add.php;h=a38ef4f89f5ad55a8380c8275c8e03e67cfd78df;hb=e2b992aea6edc4a734ddb751103101e2450f3b20;hp=6b5befe908d34633df59af042d54683c936231e1;hpb=a4d1c5627c3958245ea7e2e573267e34f5872471;p=timetracker.git diff --git a/user_add.php b/user_add.php index 6b5befe9..a38ef4f8 100644 --- a/user_add.php +++ b/user_add.php @@ -77,8 +77,8 @@ $form = new Form('userForm'); $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'name','style'=>'width: 300px;','value'=>$cl_name)); $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'login','style'=>'width: 300px;','value'=>$cl_login)); if (!$auth->isPasswordExternal()) { - $form->addInput(array('type'=>'text','maxlength'=>'30','name'=>'pas1','aspassword'=>true,'value'=>$cl_password1)); - $form->addInput(array('type'=>'text','maxlength'=>'30','name'=>'pas2','aspassword'=>true,'value'=>$cl_password2)); + $form->addInput(array('type'=>'password','maxlength'=>'30','name'=>'pas1','value'=>$cl_password1)); + $form->addInput(array('type'=>'password','maxlength'=>'30','name'=>'pas2','value'=>$cl_password2)); } $form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'email','value'=>$cl_email)); @@ -113,7 +113,7 @@ class RateCellRenderer extends DefaultCellRenderer { foreach ($assigned_projects as $p) { if ($p['id'] == $table->getValueAtName($row,'id')) $field->setValue($p['rate']); } - $this->setValue($field->toStringControl()); + $this->setValue($field->getHtml()); return $this->toString(); } }