diff options
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/admin_account_edit.tpl | 14 | ||||
-rwxr-xr-x | view/tpl/admin_accounts.tpl | 4 |
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> |