diff options
Diffstat (limited to 'h-source/Application/Views/top_left.php')
-rw-r--r-- | h-source/Application/Views/top_left.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/h-source/Application/Views/top_left.php b/h-source/Application/Views/top_left.php index 42e621f..148a863 100644 --- a/h-source/Application/Views/top_left.php +++ b/h-source/Application/Views/top_left.php @@ -31,11 +31,16 @@ <!--delete the page--> <?php if ($isadmin) { ?> <div class="moderator_box_deleted clear_right"> - <?php if ($isDeleted) { ?> + <?php if ($isDeleted and $isApproved) { ?> <?php echo gtext('This device page has been hidden'); ?> <a id="<?php echo $id_hard;?>" class="deviceshow_device block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_ok.png"><?php echo gtext('restore the device page'); ?></a> + <?php } else if ($isDeleted and !$isApproved) { ?> + <?php echo gtext("This device page has not been approved yet");?> + + <a id="<?php echo $id_hard;?>" class="deviceapprove_device_approved block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_ok.png"><?php echo gtext('approve the device page'); ?></a> + <?php } else { ?> <a id="<?php echo $id_hard;?>" class="devicehide_device block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_cancel.png"><?php echo gtext('hide the device page'); ?></a> |