aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/My/panel.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Views/My/panel.php')
-rw-r--r--h-source/Application/Views/My/panel.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/h-source/Application/Views/My/panel.php b/h-source/Application/Views/My/panel.php
index 30e4d24..babf409 100644
--- a/h-source/Application/Views/My/panel.php
+++ b/h-source/Application/Views/My/panel.php
@@ -26,19 +26,19 @@
<a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; <?php echo gtext("control panel");?>
</div>
- <?php if ($isBlocked) { ?>
+ <?php if ($userBlocked) { ?>
<div class="moderator_box">
Your account has been blocked by a moderator of the website. You can neither insert/modify devices nor submit new issues or messages until some other moderator un-block your account.
</div>
<?php } ?>
- <?php if ($ismoderator) { ?>
- <div class="moderator_panel_link">
- <?php echo gtext("watch all the");?> <a href="<?php echo Url::getRoot('moderators/actions/'.$lang);?>"><?php echo gtext("actions carried out by moderators");?></a>
- </div>
- <?php } ?>
-
<ul class='panelApplicationList'>
+ <?php if ($isadmin) { ?>
+ <li><a href="<?php echo Url::getRoot('last/adminactions/'.$lang);?>"><?php echo gtext("Watch all the actions carried out by administrators");?></a></li>
+ <?php } ?>
+ <?php if ($ismoderator) { ?>
+ <li><a href="<?php echo Url::getRoot('last/modactions/'.$lang);?>"><?php echo gtext("Watch all the actions carried out by moderators");?></a></li>
+ <?php } ?>
<li><a href="<?php echo Url::getRoot('meet/user/'.$lang.'/'.$username);?>"><?php echo gtext("Watch your public profile");?></a></li>
<li><a href="<?php echo Url::getRoot('my/profile/'.$lang.'/'.$token);?>"><?php echo gtext("Edit your profile");?></a></li>
<li><a href="<?php echo Url::getRoot('my/email/'.$lang.'/'.$token);?>"><?php echo gtext("Change your e-mail address");?></a></li>