aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
index f81d285c7..4a39070bd 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -941,6 +941,9 @@ logger('online: ' . $profile['online']);
$tpl = get_markup_template('profile_vcard.tpl');
+ require_once('include/widgets.php');
+ $z = widget_rating(array('target' => $profile['channel_hash']));
+
$o .= replace_macros($tpl, array(
'$profile' => $profile,
'$connect' => $connect,
@@ -952,6 +955,7 @@ logger('online: ' . $profile['online']);
'$homepage' => $homepage,
'$chanmenu' => $channel_menu,
'$diaspora' => $diaspora,
+ '$rating' => $z,
'$contact_block' => $contact_block,
));