aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Special/modactions.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Views/Special/modactions.php')
-rw-r--r--h-source/Application/Views/Special/modactions.php8
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>