aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-30 15:42:14 -0700
committerredmatrix <mike@macgirvin.com>2016-09-30 15:42:14 -0700
commitad309f1036d9d85899c3d3199070d92dd96b1710 (patch)
tree426022b6c88814c72d4c9939a60f43b08e819e7c /view/tpl
parent56b12f655546dc122e734654e1d5e5fc6dd06c43 (diff)
downloadvolse-hubzilla-ad309f1036d9d85899c3d3199070d92dd96b1710.tar.gz
volse-hubzilla-ad309f1036d9d85899c3d3199070d92dd96b1710.tar.bz2
volse-hubzilla-ad309f1036d9d85899c3d3199070d92dd96b1710.zip
provide ability for admin to change account password
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/admin_account_edit.tpl14
-rwxr-xr-xview/tpl/admin_accounts.tpl4
2 files changed, 16 insertions, 2 deletions
diff --git a/view/tpl/admin_account_edit.tpl b/view/tpl/admin_account_edit.tpl
new file mode 100644
index 000000000..5e8cb5f47
--- /dev/null
+++ b/view/tpl/admin_account_edit.tpl
@@ -0,0 +1,14 @@
+<h2>{{$title}}</h2>
+
+<h3>{{$account.account_email}}</h3>
+
+
+<form action="admin/account_edit/{{$account.account_id}}" method="post" >
+<input type="hidden" name="aid" value="{{$account.account_id}}" />
+
+{{include file="field_password.tpl" field=$pass1}}
+{{include file="field_password.tpl" field=$pass2}}
+
+<input type="submit" name="submit" value="{{$submit}}" />
+
+</form>
diff --git a/view/tpl/admin_accounts.tpl b/view/tpl/admin_accounts.tpl
index 53f5f1aba..c2a50e3ff 100755
--- a/view/tpl/admin_accounts.tpl
+++ b/view/tpl/admin_accounts.tpl
@@ -62,9 +62,9 @@
<tr>
<td class="account_id">{{$u.account_id}}</td>
<td class="email">{{if $u.blocked}}
- <i>{{$u.account_email}}</i>
+ <a href="admin/account_edit/{{$u.account_id}}"><i>{{$u.account_email}}</i></a>
{{else}}
- <strong>{{$u.account_email}}</strong>
+ <a href="admin/account_edit/{{$u.account_id}}"><strong>{{$u.account_email}}</strong></a>
{{/if}}</td>
<td class="channels">{{$u.channels}}</td>
<td class="register_date">{{$u.account_created}}</td>