diff options
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r-- | h-source/Application/Views/Issues/view.php | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/h-source/Application/Views/Issues/view.php b/h-source/Application/Views/Issues/view.php index 5789837..d5e536e 100644 --- a/h-source/Application/Views/Issues/view.php +++ b/h-source/Application/Views/Issues/view.php @@ -36,34 +36,35 @@ <a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> » <a href="<?php echo $this->baseUrl."/issues/viewall/$lang".$this->viewStatus;?>">issues</a> » <?php echo $id_issue;?> </div> - <div class="issues_external_box"> - <?php foreach ($table as $row) { ?> + <?php foreach ($table as $row) { ?> - <?php if ($ismoderator) { ?> - <!--open/close an issue--> - <div class="moderator_box"> - <?php if (strcmp($row['issues']['status'],'opened') == 0) { ?> - This issue is opened - - <a id="<?php echo $row['issues']['id_issue'];;?>" class="close_issue block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/H2O/im-user.png">close the issue</a> - - <?php } else { ?> - This issue is closed - - <a id="<?php echo $row['issues']['id_issue'];;?>" class="open_issue block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/H2O/im-ban-user.png">open the issue again</a> - - <?php } ?> + <?php if ($ismoderator) { ?> + <!--open/close an issue--> + <div class="moderator_box"> + <?php if (strcmp($row['issues']['status'],'opened') == 0) { ?> + This issue is opened - <!--view details--> - <div class="show_hidden_box_ext"> - <div class="md_type">issue</div> - <a id="<?php echo $row['issues']['id_issue'];?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a> - <div class="moderation_details_box"></div> - </div> + <a id="<?php echo $row['issues']['id_issue'];;?>" class="close_issue block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/folder_blue.png">close the issue</a> + + <?php } else { ?> + This issue is closed + + <a id="<?php echo $row['issues']['id_issue'];;?>" class="open_issue block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Glaze/folder_blue_open.png">open the issue again</a> - </div> <?php } ?> + <!--view details--> + <div class="show_hidden_box_ext"> + <div class="md_type">issue</div> + <a id="<?php echo $row['issues']['id_issue'];?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a> + <div class="moderation_details_box"></div> + </div> + + </div> + <?php } ?> + + <div class="issues_external_box"> + <div class="issues_view_title"> <?php echo $row['issues']['title'];?> </div> |