diff options
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r-- | h-source/Application/Views/Issues/view.php | 43 | ||||
-rw-r--r-- | h-source/Application/Views/talk.php | 12 |
2 files changed, 28 insertions, 27 deletions
diff --git a/h-source/Application/Views/Issues/view.php b/h-source/Application/Views/Issues/view.php index 20d0403..ef5e39c 100644 --- a/h-source/Application/Views/Issues/view.php +++ b/h-source/Application/Views/Issues/view.php @@ -129,33 +129,32 @@ <?php } else { ?> - <div class="issues_message_item_hidden"> - <?php echo gtext("this message has been deleted");?> - <?php if ($ismoderator) { ?> - <a id="<?php echo $row['messages']['id_mes'];?>" class="show_message hide_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_ok.png">make visible</a> + <?php if ($ismoderator) { ?> + <div class="issues_message_item_hidden"> + <?php echo gtext("this message has been deleted");?> - <!--view details--> - <div class="show_hidden_box_ext"> - <div class="md_type">message</div> + <a id="<?php echo $row['messages']['id_mes'];?>" class="show_message hide_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_ok.png">make visible</a> - <a id="<?php echo $row['messages']['id_mes'];?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a> - - <div class="details_of_hidden_message"> - <div class="details_of_hidden_message_inner"> - <div class="talk_message_item_date"> - submitted by <?php echo getLinkToUser($u->getUser($row['messages']['created_by']));?>, <?php echo smartDate($row['messages']['creation_date']);?> - </div> - <div class="message_view_description_hidden"> - <?php echo decodeWikiText($row['messages']['message']);?> + <!--view details--> + <div class="show_hidden_box_ext"> + <div class="md_type">message</div> + + <a id="<?php echo $row['messages']['id_mes'];?>" class="hidden_message_view_details" href="<?php echo $this->baseUrl."/home/index/$lang";?>">view details</a> + + <div class="details_of_hidden_message"> + <div class="details_of_hidden_message_inner"> + <div class="talk_message_item_date"> + submitted by <?php echo getLinkToUser($u->getUser($row['messages']['created_by']));?>, <?php echo smartDate($row['messages']['creation_date']);?> + </div> + <div class="message_view_description_hidden"> + <?php echo decodeWikiText($row['messages']['message']);?> + </div> </div> + <div class="moderation_details_box"></div> </div> - <div class="moderation_details_box"></div> </div> - </div> - - <?php } ?> - </div> - + </div> + <?php } ?> <?php } ?> <?php } ?> diff --git a/h-source/Application/Views/talk.php b/h-source/Application/Views/talk.php index 6ae3bca..d0872f4 100644 --- a/h-source/Application/Views/talk.php +++ b/h-source/Application/Views/talk.php @@ -66,10 +66,11 @@ </div> <?php } else { ?> - - <div class="talk_message_item_hidden"> + + <?php if ($ismoderator) { ?> + <div class="talk_message_item_hidden"> this message has been deleted - <?php if ($ismoderator) { ?> + <a id="<?php echo $message['talk']['id_talk'];?>" class="show_talk hide_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/Crystal/button_ok.png">make visible</a> <!--view details--> @@ -91,9 +92,10 @@ </div> </div> - <?php } ?> + </div> - + <?php } ?> + <?php } ?> <?php } ?> |