diff options
author | Christopher Burger <burgerc@freeside.biz> | 2017-06-20 09:04:14 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2017-06-20 09:04:14 -0400 |
commit | 2eefefbe2f93bd6f306c7f73443028dbfd70782e (patch) | |
tree | 01888b94bac72a8d7ec8c85ea439a6d0a1749e59 /httemplate/elements/contact.html | |
parent | 0cf46c59eb42596a1823f70e8facf2f457c0e43b (diff) |
RT# 75817 - Added the ability to set contacts password on the backend
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 b0a7caca1..8936569ce 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -85,6 +85,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> |