2014-02-19 19:53:29 +04:00
|
|
|
<div id="user-controls">
|
|
|
|
<form id="newuser" autocomplete="off">
|
2014-03-06 11:57:29 +04:00
|
|
|
<input id="newusername" type="text" placeholder="<?php p($l->t('Login Name'))?>" />
|
|
|
|
<input
|
2014-02-19 19:53:29 +04:00
|
|
|
type="password" id="newuserpassword"
|
2014-03-06 11:57:29 +04:00
|
|
|
placeholder="<?php p($l->t('Password'))?>"
|
|
|
|
/>
|
|
|
|
<select
|
|
|
|
class="groupsselect" id="newusergroups" data-placeholder="groups"
|
2014-02-19 19:53:29 +04:00
|
|
|
title="<?php p($l->t('Groups'))?>" multiple="multiple">
|
|
|
|
<?php foreach($_["adminGroup"] as $adminGroup): ?>
|
2014-03-06 11:57:29 +04:00
|
|
|
<option value="<?php p($adminGroup['name']);?>"><?php p($adminGroup['name']); ?></option>
|
2014-02-19 19:53:29 +04:00
|
|
|
<?php endforeach; ?>
|
|
|
|
<?php foreach($_["groups"] as $group): ?>
|
2014-03-06 11:57:29 +04:00
|
|
|
<option value="<?php p($group['name']);?>"><?php p($group['name']);?></option>
|
2014-02-19 19:53:29 +04:00
|
|
|
<?php endforeach;?>
|
|
|
|
</select>
|
|
|
|
<input type="submit" class="button" value="<?php p($l->t('Create'))?>" />
|
|
|
|
</form>
|
|
|
|
<?php if((bool)$_['recoveryAdminEnabled']): ?>
|
|
|
|
<div class="recoveryPassword">
|
|
|
|
<input id="recoveryPassword"
|
|
|
|
type="password"
|
|
|
|
placeholder="<?php p($l->t('Admin Recovery Password'))?>"
|
|
|
|
title="<?php p($l->t('Enter the recovery password in order to recover the users files during password change'))?>"
|
|
|
|
alt="<?php p($l->t('Enter the recovery password in order to recover the users files during password change'))?>"/>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
<form autocomplete="off" id="usersearchform">
|
|
|
|
<input type="text" class="input" placeholder="<?php p($l->t( 'Search by Username' )); ?>" />
|
|
|
|
</form>
|
|
|
|
</div>
|