diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-10-14 22:06:22 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-10-14 22:06:22 +0000 |
commit | d6b6baa4bcc1f2f6077b785ed90b4eb24e414451 (patch) | |
tree | 3f249fe949583b58ed92835600bcccef2117b3d1 /h-source/Application/Views/Special/modactions.php | |
parent | 2ab9d78444374d55a45b63a1693f5194a7baae60 (diff) |
moderators can see all the actions carried out by users - part 2
Diffstat (limited to 'h-source/Application/Views/Special/modactions.php')
-rw-r--r-- | h-source/Application/Views/Special/modactions.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/h-source/Application/Views/Special/modactions.php b/h-source/Application/Views/Special/modactions.php index 36aee20..4539aee 100644 --- a/h-source/Application/Views/Special/modactions.php +++ b/h-source/Application/Views/Special/modactions.php @@ -38,7 +38,9 @@ <td class="simpleText">TYPE</td> <td class="simpleText">OBJECT ID</td> <td class="simpleText text_item_date">DATE</td> + <?php if (strcmp($this->action,'usersactions') !== 0) { ?> <td class="simpleText">NOTE</td> + <?php } ?> </tr> <?php foreach ($table as $row) { ?> <tr class="listRow"> @@ -46,12 +48,12 @@ <span class='textItem'><a href="<?php echo goToModeratedItem($row['history']);?>"><?php echo $row['history']['id_history'];?></a></span> </td> <td class="simpleText"> - <span class='textItem'><?php echo $u->getUser($row['history']['created_by']);?></span> + <span class='textItem'><?php echo $u->getLinkToUserFromId($row['history']['created_by']);?></span> </td> <td class="simpleText"> <span class='textItem'><?php echo HistoryController::$actionTable[$row['history']['action']];?></span> </td> - <td class="simpleText"> + <td class="type_column"> <span class='textItem'><?php echo HistoryController::$typeTable[$row['history']['type']];?></span> </td> <td class="simpleText"> @@ -60,9 +62,11 @@ <td class="simpleText text_item_date"> <span class='textItem'><?php echo smartDate($row['history']['creation_date']);?></span> </td> + <?php if (strcmp($this->action,'usersactions') !== 0) { ?> <td class="simpleText"> <span class='textItem'><?php echo $row['history']['message'];?></span> </td> + <?php } ?> </tr> <?php } ?> </table> |