aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r--h-source/Application/Views/History/viewall.php8
-rw-r--r--h-source/Application/Views/Meet/meet.php25
2 files changed, 28 insertions, 5 deletions
diff --git a/h-source/Application/Views/History/viewall.php b/h-source/Application/Views/History/viewall.php
index 948a63d..9dc27c6 100644
--- a/h-source/Application/Views/History/viewall.php
+++ b/h-source/Application/Views/History/viewall.php
@@ -26,15 +26,15 @@
foreach ($res as $row) {
$mess_count++;
?>
-<div class="details_of_actions_inner">
- <div class="talk_message_item_date">this message has been <?php echo $md_action[$row['history']['action']];?> by <?php echo getLinkToUser($u->getUser($row['history']['created_by']));?> at <?php echo smartDate($row['history']['creation_date']);?> with the following motivation:
+<div class="<?php echo $box_class;?>">
+ <div class="talk_message_item_date">this <?php echo $object;?> has been <?php echo $md_action[$row['history']['action']];?> by <?php echo getLinkToUser($u->getUser($row['history']['created_by']));?> at <?php echo smartDate($row['history']['creation_date']);?> with the following motivation:
</div>
- <div class="deleted_message_show"><?php echo$row['history']['message'];?></div>
+ <div class="deleted_message_show"><?php echo $row['history']['message'];?></div>
</div>
<?php } ?>
<?php if ($mess_count === 0) { ?>
- <div class="details_of_actions_inner">
+ <div class="<?php echo $box_class;?>">
there are no details..
</div>
<?php } ?> \ No newline at end of file
diff --git a/h-source/Application/Views/Meet/meet.php b/h-source/Application/Views/Meet/meet.php
index 127fe86..82b3d90 100644
--- a/h-source/Application/Views/Meet/meet.php
+++ b/h-source/Application/Views/Meet/meet.php
@@ -25,7 +25,30 @@
<div class="position_tree_box">
<a href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a> &raquo; meet <b><?php echo $meet_username;?></b>
</div>
-
+
+ <?php if ($ismoderator) { ?>
+ <div class="moderator_box">
+ <?php if ($isBlocked) { ?>
+ This user has been blocked
+
+ <a id="<?php echo $meet_id_user;?>" class="unblock_user block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/H2O/im-user.png">unblock the user</a>
+
+ <?php } else { ?>
+
+ <a id="<?php echo $meet_id_user;?>" class="block_user block_general" href="<?php echo $this->baseUrl."/home/index/$lang";?>"><img src="<?php echo $this->baseUrl;?>/Public/Img/H2O/im-ban-user.png">block the user</a>
+
+ <?php } ?>
+
+ <!--view details-->
+ <div class="show_hidden_box_ext">
+ <div class="md_type">user</div>
+ <a id="<?php echo $meet_id_user;?>" 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="meet_contrib_link">
<u>Public profile of <?php echo $meet_username;?></u>. See all <a href="<?php echo $this->baseUrl."/meet/contributions/$lang/$meet_username";?>"><b><?php echo $meet_username;?></b> contributions</a>
</div>