diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2010-11-01 20:42:44 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2010-11-01 20:42:44 +0000 |
commit | 049e37619a1ea7de4eed2695139645d6d6b9f397 (patch) | |
tree | aac510dfdcc9e771cd3448cc0f45e7a6fdfc0665 /h-source/Application/Views/Meet | |
parent | b006de42300a5671544e6fd3ea20ae7ce96da933 (diff) |
moderators can now block/unblock users - part 1
Diffstat (limited to 'h-source/Application/Views/Meet')
-rw-r--r-- | h-source/Application/Views/Meet/meet.php | 25 |
1 files changed, 24 insertions, 1 deletions
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> » 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> |