mirror of
https://github.com/friendica/friendica
synced 2025-09-05 22:05:26 +02:00
allow admins to add a new user from the admin panel (eventually fixing oldbug #383)
This commit is contained in:
parent
98105afffb
commit
0972189372
4 changed files with 118 additions and 1 deletions
|
@ -100,4 +100,22 @@
|
|||
NO USERS?!?
|
||||
{{/if}}
|
||||
</form>
|
||||
<h3>{{$h_newuser}}</h3>
|
||||
<form action="{{$baseurl}}/admin/users" method="post">
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||
<table id='users'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{include file="field_input.tpl" field=$newusername}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{include file="field_input.tpl" field=$newusernickname}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{include file="field_input.tpl" field=$newuseremail}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="submit"><input type="submit" name="add_new_user_submit" value="{{$submit}}" /></div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue