X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=user_add.php;h=3c91905666e66f82ea380c2ed2132b37fea1fff9;hb=16b12b986b03d54187662046e4a0a3c7a8c2393e;hp=82e55cf104c3417f88df7bb1e21f61ac94a94b0a;hpb=61efd9d023ae34c1290ef2e1ae25829c509caaee;p=timetracker.git diff --git a/user_add.php b/user_add.php index 82e55cf1..3c919056 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)); @@ -97,7 +97,7 @@ $projects = ttTeamHelper::getActiveProjects($user->team_id); // Define classes for the projects table. class NameCellRenderer extends DefaultCellRenderer { function render(&$table, $value, $row, $column, $selected = false) { - $this->setOptions(array('width'=>200,'valign'=>'top')); + $this->setOptions(array('width'=>200)); $this->setValue(''); return $this->toString(); }