summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/user_list/header.php3
-rw-r--r--app/Template/user_list/listing.php12
2 files changed, 14 insertions, 1 deletions
diff --git a/app/Template/user_list/header.php b/app/Template/user_list/header.php
index 9ff3f596..9dbcc2a7 100644
--- a/app/Template/user_list/header.php
+++ b/app/Template/user_list/header.php
@@ -1,3 +1,4 @@
+
<div class="table-list-header">
<div class="table-list-header-count">
<?php if ($paginator->getTotal() > 1): ?>
@@ -9,4 +10,4 @@
<div class="table-list-header-menu">
<?= $this->render('user_list/sort_menu', array('paginator' => $paginator)) ?>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/app/Template/user_list/listing.php b/app/Template/user_list/listing.php
index 899a20e7..3bd38495 100644
--- a/app/Template/user_list/listing.php
+++ b/app/Template/user_list/listing.php
@@ -17,6 +17,18 @@
<?php endif ?>
</div>
+
+<div class="filter-box margin-bottom">
+ <form method="get" action="<?= $this->url->dir() ?>" class="search">
+ <?= $this->form->hidden('controller', array('controller' => 'UserListController')) ?>
+ <?= $this->form->hidden('action', array('action' => 'search')) ?>
+
+ <div class="input-addon">
+ <?= $this->form->text('search', $values, array(), array('placeholder="'.t('Search').'"'), 'input-addon-field') ?>
+ </div>
+ </form>
+</div>
+
<?php if ($paginator->isEmpty()): ?>
<p class="alert"><?= t('No users found.') ?></p>
<?php elseif (! $paginator->isEmpty()): ?>