aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-05-28 16:04:30 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-05-28 16:04:30 +0000
commit3bc07dabc797c7acdeafed68cf63c77c48077005 (patch)
tree32e53b26e9dfc3083ca2792d0927412b4b18aa7e /h-source/Application
parent129934f892850a90f98f8f5a0e7746cfe57bb958 (diff)
administrators can now view the actions of a single user in a compact format - part 2
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>