provide ability for admin to change account password
This commit is contained in:
14
view/tpl/admin_account_edit.tpl
Normal file
14
view/tpl/admin_account_edit.tpl
Normal 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>
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user