diff options
Diffstat (limited to 'h-source/Application/Views/right.php')
-rw-r--r-- | h-source/Application/Views/right.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/h-source/Application/Views/right.php b/h-source/Application/Views/right.php index 8c415cd..60b5f31 100644 --- a/h-source/Application/Views/right.php +++ b/h-source/Application/Views/right.php @@ -92,9 +92,15 @@ <?php if ( strcmp($this->controller,'wiki') === 0 ) { ?> <div class="wiki_control_box"> + <div class="last_modifications_title"> + <?php echo gtext('special pages');?> + </div> <ul> <li><a href="<?php echo $this->baseUrl."/wiki/pages/$lang";?>"><?php echo gtext('list of pages'); ?></a></li> - <li><a href="<?php echo $this->baseUrl."/wiki/deleted/$lang";?>"><?php echo gtext('list of deleted pages'); ?></a></li> + <?php if ($isadmin) { ?> + <li><a href="<?php echo $this->baseUrl."/wiki/deleted/$lang";?>"><?php echo gtext('list of deleted pages'); ?></a></li> + <li><a href="<?php echo $this->baseUrl."/wiki/blocked/$lang";?>"><?php echo gtext('list of blocked pages'); ?></a></li> + <?php } ?> <li><a href="<?php echo $this->baseUrl."/wiki/modifications/$lang";?>"><?php echo gtext('last modifications'); ?></a></li> </ul> </div> @@ -107,7 +113,7 @@ </div> <ul> <?php foreach ($lastModif as $row) { ?> - <li><a class="last_modifications_model" href="<?php echo Go::toHardwarePage($row['history']['id']);?>"><?php echo $hw->getTheModelName($row['history']['id']);?></a> <?php echo gtext('by');?> <?php echo getLinkToUser($u->getUser($row['history']['created_by']))?></li> + <li><a class="last_modifications_model" href="<?php echo Go::toHardwarePage($row['history']['id']);?>"><?php echo $hw->getTheModelName($row['history']['id']);?></a> <?php echo gtext('by');?> <?php echo $u->getLinkToUserFromId($row['history']['created_by'])?></li> <?php } ?> </ul> <div class="last_modifications_all"> |