inital commit
This commit is contained in:
24
plugins/default/chat/friends/friend-item.php
Normal file
24
plugins/default/chat/friends/friend-item.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* Open Source Social Network
|
||||
*
|
||||
* @package (Informatikon.com).ossn
|
||||
* @author OSSN Core Team <info@opensource-socialnetwork.org>
|
||||
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
|
||||
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
|
||||
* @link http://www.opensource-socialnetwork.org/licence
|
||||
*/
|
||||
$friend = $params['entity'];
|
||||
if ($friend->isOnline(10)) {
|
||||
$status = 'ossn-chat-icon-online';
|
||||
} else {
|
||||
$status = '';
|
||||
}
|
||||
?>
|
||||
<div class="friends-list-item" id="friend-list-item-<?php echo $friend->guid; ?>"
|
||||
onClick="Ossn.ChatnewTab(<?php echo $friend->guid; ?>);">
|
||||
<div class="friends-item-inner">
|
||||
<div class="icon"><img class="<?php echo $status; ?> ustatus" src="<?php echo $params['icon']; ?>"/></div>
|
||||
<div class="name"><?php echo $friend->fullname; ?></div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user