remote rating and addition of rate-me to channel profile sidebar

This commit is contained in:
friendica
2015-02-04 17:32:29 -08:00
parent 48a145a8ed
commit 561bab4ece
8 changed files with 228 additions and 15 deletions

View File

@@ -943,10 +943,8 @@ logger('online: ' . $profile['online']);
$tpl = get_markup_template('profile_vcard.tpl');
// This isn't ideal here because it requires local_channel().
// We need the rating widget to recognise and take you home if you're remote.
// require_once('include/widgets.php');
// $z = widget_rating(array('target' => $profile['channel_hash']));
require_once('include/widgets.php');
$z = widget_rating(array('target' => $profile['channel_hash']));
$o .= replace_macros($tpl, array(
'$profile' => $profile,