aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application')
-rw-r--r--h-source/Application/Controllers/SpecialController.php3
-rw-r--r--h-source/Application/Views/Desktop/Special/modactions.php8
2 files changed, 10 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/SpecialController.php b/h-source/Application/Controllers/SpecialController.php
index a118211..4acbb5e 100644
--- a/h-source/Application/Controllers/SpecialController.php
+++ b/h-source/Application/Controllers/SpecialController.php
@@ -97,6 +97,9 @@ class SpecialController extends BaseController
$data['pageList'] = $this->h['Pages']->render($page-5,11);
+ //the value of the filter
+ $data['filterValue'] = strcmp($this->viewArgs['username'],'undef') === 0 ? null : $this->viewArgs['username'];
+
$this->append($data);
$this->load($viewFile);
$this->right();
diff --git a/h-source/Application/Views/Desktop/Special/modactions.php b/h-source/Application/Views/Desktop/Special/modactions.php
index 43c7a44..3e58c62 100644
--- a/h-source/Application/Views/Desktop/Special/modactions.php
+++ b/h-source/Application/Views/Desktop/Special/modactions.php
@@ -44,7 +44,13 @@
</tr>
<tr>
<td>&nbsp</td>
- <td>&nbsp</td>
+ <td>
+ <form class="user_action_filter" action="<?php echo $this->currPage."/1/undef";?>">
+ <input class="user_action_filter_text" type="text" name="username" value="<?php echo $filterValue;?>" />
+ <a title='clear the filter' href='<?php echo $this->currPage."/1/undef";?>'><img src='<?php echo Url::getRoot();?>/Public/Img/Icons/elementary_2_5/clear_filter.png' /></a>
+ <input class="user_action_filter_submit" type='image' title='filter' src='<?php echo $this->baseUrl?>/Public/Img/Icons/elementary_2_5/find.png' value='trova'>
+ </form>
+ </td>
<td>&nbsp</td>
<td>&nbsp</td>
<td>&nbsp</td>