diff options
Diffstat (limited to 'h-source/Application/Views')
| -rw-r--r-- | h-source/Application/Views/My/panel.php | 1 | ||||
| -rw-r--r-- | h-source/Application/Views/Special/modactions.php | 8 | 
2 files changed, 7 insertions, 2 deletions
diff --git a/h-source/Application/Views/My/panel.php b/h-source/Application/Views/My/panel.php index 0116134..67fbe1d 100644 --- a/h-source/Application/Views/My/panel.php +++ b/h-source/Application/Views/My/panel.php @@ -48,6 +48,7 @@  			<div class="moderator_box_title"><?php echo gtext("Special pages for moderators");?></div>  			<ul>  				<li><a href="<?php echo Url::getRoot('special/modactions/'.$lang);?>"><?php echo gtext("Actions carried out by moderators");?></a></li> +				<li><a href="<?php echo Url::getRoot('special/usersactions/'.$lang);?>"><?php echo gtext("Actions carried out by users");?></a></li>  			</ul>  		</div>  		<?php } ?> 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>  | 
