diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-06-08 18:14:21 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-06-08 18:14:21 +0000 |
commit | 2f4d2fa530e8b42ffe01a4b58fd02c10a8f6174d (patch) | |
tree | 199855121ef215a1a6e794511bf396bfb51023fb /h-source/Application/Views | |
parent | 6c9c201e7e31e85cbe40065b8d11bdd7b60f713c (diff) |
changed the layout of the admin panel for administrators and moderators
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r-- | h-source/Application/Views/My/panel.php | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/h-source/Application/Views/My/panel.php b/h-source/Application/Views/My/panel.php index babf409..7ca706e 100644 --- a/h-source/Application/Views/My/panel.php +++ b/h-source/Application/Views/My/panel.php @@ -31,14 +31,26 @@ 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 ($isadmin) { ?> + <div id="admin_box"> + <div class="admin_box_title"><?php echo gtext("Special pages for administrators");?></div> + <ul> + <li><a href="<?php echo Url::getRoot('last/adminactions/'.$lang);?>"><?php echo gtext("Actions carried out by administrators");?></a></li> + </ul> + </div> + <?php } ?> + + <?php if ($ismoderator) { ?> + <div id="moderator_box"> + <div class="moderator_box_title"><?php echo gtext("Special pages for moderators");?></div> + <ul> + <li><a href="<?php echo Url::getRoot('last/modactions/'.$lang);?>"><?php echo gtext("Actions carried out by moderators");?></a></li> + </ul> + </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> |