diff options
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r-- | h-source/Application/Views/top_left.php | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/h-source/Application/Views/top_left.php b/h-source/Application/Views/top_left.php index 07f3ad3..e547f08 100644 --- a/h-source/Application/Views/top_left.php +++ b/h-source/Application/Views/top_left.php @@ -27,7 +27,33 @@ </div> <?php if (strcmp($this->action,'view') === 0) { ?> - + + <!--delete the page--> + <?php if ($isadmin) { ?> + <div class="moderator_box_deleted clear_right"> + <?php if ($isDeleted) { ?> + <?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 { ?> + + <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> + + <?php } ?> + + <!--view details--> + <div class="show_hidden_box_ext"> + <div class="md_type">device</div> + <a id="<?php echo $id_hard;?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a> + <div class="details_of_hidden_message"> + <div class="moderation_details_box"></div> + </div> + </div> + + </div> + <?php } ?> + <div class="notebook_view_title"> Specifications of the <?php echo singular($this->controller);?> <b><?php echo $ne_name;?></b> </div> @@ -54,12 +80,11 @@ </div> <?php } ?> </div> - + <div class="talk_numb_ext"> <a href="<?php echo $this->baseUrl."/".$this->controller."/talk/$lang/$id_hard/$token".$this->viewStatus;?>">talk messages: <?php echo $talk_number;?></a> </div> - <?php } else if (strcmp($this->action,'catalogue') === 0) { ?> |