diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-01-01 15:37:45 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-01-01 15:37:45 +0000 |
commit | 2c4ef5004fae735cf3f6fe2a9b5335786fd91722 (patch) | |
tree | 47cc708562364df3dd1017596d9002c1a76ab58f /h-source/Application/Views/Issues/view.php | |
parent | 98cde2db446345b80636fe933702d8fc72179965 (diff) |
moderators can open/close issues - part 2
Diffstat (limited to 'h-source/Application/Views/Issues/view.php')
-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> |