diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2017-06-20 09:04:14 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2017-06-22 16:29:49 -0400 |
| commit | 6016bc83d369186275044bd8539f66a3cb03c4cb (patch) | |
| tree | 5ca8dfce37fe72b3701950605c0b894cc7f1d850 /httemplate/elements/contact.html | |
| parent | cebbf273c639066cb3fd4997b58efe1fdb7322e4 (diff) | |
RT# 75817 - Added the ability to set contacts password on the backend
Conflicts:
httemplate/elements/validate_password.html
httemplate/misc/xmlhttp-validate_password.html
Diffstat (limited to 'httemplate/elements/contact.html')
| -rw-r--r-- | httemplate/elements/contact.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index ec4916dfa..779905234 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -72,6 +72,22 @@ <FONT SIZE="-1"><% $label{$field} %></FONT> </TD> % } +% my $pwd_change_label = 'change password'; +% $pwd_change_label = 'setup password' unless $contact->_password; +% if ($curr_value) { + <TD> + <span STYLE="white-space: nowrap"> + <& /elements/change_password.html, + 'contact_num' => $curr_value, + 'custnum' => $opt{'custnum'}, + 'curr_value' => '', + 'label' => $pwd_change_label, + &> + </span> + <br> + <FONT SIZE="-1">Password</FONT> + </TD> +% } </TR> </TABLE> |
