X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=profile_edit.php;h=d5670101346389813317d6ba074afdf776cc4ef8;hb=d26c95718cac0a2994ab4e9633b59f420a0816b4;hp=ebee59d555a70c2b33167f895dbda4d0cb027d4b;hpb=098a79f0819ebb89b7d48df4a6b154af4560f68e;p=timetracker.git diff --git a/profile_edit.php b/profile_edit.php index ebee59d5..d5670101 100644 --- a/profile_edit.php +++ b/profile_edit.php @@ -107,7 +107,7 @@ 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'=>'text','maxlength'=>'100','name'=>'email','value'=>$cl_email)); +$form->addInput(array('type'=>'text','maxlength'=>'100','name'=>'email','value'=>$cl_email,'enable'=>$can_change_login)); if ($user->canManageTeam()) { $form->addInput(array('type'=>'text','maxlength'=>'200','name'=>'team_name','value'=>$cl_team)); $form->addInput(array('type'=>'textarea','name'=>'address','maxlength'=>'255','style'=>'width: 350px;','cols'=>'55','rows'=>'4','value'=>$cl_address)); @@ -268,4 +268,3 @@ $smarty->assign('onload', 'onLoad="handlePluginCheckboxes()"'); $smarty->assign('title', $i18n->getKey('title.profile')); $smarty->assign('content_page_name', 'profile_edit.tpl'); $smarty->display('index.tpl'); -?> \ No newline at end of file