add username filter for user listing (issue #316)
This commit is contained in:
parent
28e8a53d55
commit
82dc5fc1a4
5 changed files with 38 additions and 32 deletions
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
<form method="get">
|
||||
<fieldset class="filter">
|
||||
<legend><?=_('Filters')?></legend>
|
||||
<p><small>Sortierung:</small></p>
|
||||
<select name="sortorder" onchange="this.form.submit();">
|
||||
<option value="username" <?php if($sortorder == 'username') : ?>selected="selected"<?php endif ?>><?=_('Username')?></option>
|
||||
|
|
@ -16,7 +17,10 @@
|
|||
<option value="created" <?php if($sortorder == 'created') : ?>selected="selected"<?php endif ?>><?=_('Date of registration')?></option>
|
||||
</select>
|
||||
<noscript><input type="submit" value="<?=_('Sort list')?>" /></noscript>
|
||||
<label for="username"><?=_('Username')?></label>:
|
||||
<input id="username" type="text" name="username" placeholder="<?=_('Username')?>" value="" />
|
||||
</fieldset>
|
||||
<input type="submit" value="<?=_('Apply filters')?>" />
|
||||
</form>
|
||||
<ol id="userlist" class="cglist">
|
||||
<?php foreach($users as &$user) : ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue