From a5e611f5ffc045a59fee9e1b03f8ac79ef794d00 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 27 Feb 2013 12:34:17 -0800 Subject: "Edit password" ACL, #21178, part 1 --- httemplate/elements/change_password.html | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 httemplate/elements/change_password.html (limited to 'httemplate/elements/change_password.html') diff --git a/httemplate/elements/change_password.html b/httemplate/elements/change_password.html new file mode 100644 index 000000000..625ba1fb5 --- /dev/null +++ b/httemplate/elements/change_password.html @@ -0,0 +1,41 @@ + +(<% mt('change') %>) +
+
+ + + <& /elements/random_pass.html, $pre.'password', 'randomize' &> + + +% if ( $error ) { +
<% $error |h %> +% } +
+
+ +<%init> +my %opt = @_; +my $svc_acct = $opt{'svc_acct'}; +my $curr_value = $opt{'curr_value'} || ''; +my $pre = 'changepw'.$svc_acct->svcnum.'_'; +my $error = $cgi->param($pre.'error'); + -- cgit v1.2.1