provide ability for admin to change account password

This commit is contained in:
redmatrix
2016-09-30 15:42:14 -07:00
parent 56b12f6555
commit ad309f1036
3 changed files with 80 additions and 2 deletions

View File

@@ -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>

View File

@@ -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>