<?php if($act->userLiked!=COMMUNITY_LIKE) { ?>
{JFBCLike href=<?php echo CRoute::_('index.php?option=com_community&view=profile&userid='.$act->actor.'&act='.$act->id); ?>}
<!-- <a id="like_id<?php echo $act->id?>" href="#like" onclick="jax.call('community','system,ajaxStreamAddLike', '<?php echo $act->id; ?>');return false;"><?php echo JText::_('COM_COMMUNITY_LIKE');?></a> -->
<?php } else { ?>
<!-- <a id="like_id<?php echo $act->id?>" href="#unlike" onclick="jax.call('community','system,ajaxStreamUnlike', '<?php echo $act->id; ?>');return false;"><?php echo JText::_('COM_COMMUNITY_UNLIKE');?></a> -->
<?php } ?>
<?php if($allowLike) { ?>
<?php if($act->userLiked!=COMMUNITY_LIKE) { ?>
• <a id="like_id<?php echo $act->id?>" href="#like" onclick="jax.call('community','system,ajaxStreamAddLike', '<?php echo $act->id; ?>');return false;"><?php echo JText::_('COM_COMMUNITY_LIKE');?></a>
<?php } else { ?>
• <a id="like_id<?php echo $act->id?>" href="#unlike" onclick="jax.call('community','system,ajaxStreamUnlike', '<?php echo $act->id; ?>');return false;"><?php echo JText::_('COM_COMMUNITY_UNLIKE');?></a>
<?php } ?>
<?php } ?>
{JFBCLike href=<?php echo CRoute::_('index.php?option=com_community&view=profile&userid='.$act->actor.'&act='.$act->id); ?>}
<?php if($allowLike) { ?>
#community-wrap #cProfileWrapper .cFeed-item, #community-wrap #cFrontpageWrapper .cFeed-item, .cFeed-item
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.