X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=308b846bcea9e28bfd87049fa427174a1e73f775;hp=43e520155d3e6864199ae9e44d991327848cc86e;hb=f48ffc61601d08024aeff19ecd07d7420fc4e5b3;hpb=e517b3733dd3d19a7af586c9f4b8cf9982a8b3d2 diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index 43e520155..308b846bc 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -1,4 +1,6 @@ -% unless ( $opt{'js_only'} ) { +% if ( $opt{'js_only'} ) { +<% $js %> +% } else { @@ -40,6 +42,8 @@ % } % } elsif ( $field eq 'emailaddress' ) { % $value = join(', ', map $_->emailaddress, $contact->contact_email); +% } elsif ( $field eq 'password' ) { +% $value = $contact->get('_password') ? '********' : ''; % } elsif ( $field eq 'selfservice_access' % or $field eq 'comment' % or $field eq 'invoice_dest' @@ -56,28 +60,25 @@ ID = "<%$id%>_<%$field%>" STYLE = "width: 140px" > -