work on repeat/share for Hubzilla

This commit is contained in:
zotlabs
2019-02-06 17:26:09 -08:00
parent 518ceb53a8
commit 29c1797493
7 changed files with 130 additions and 60 deletions

View File

@@ -293,8 +293,10 @@ class ThreadItem {
$dislike = array( t("I don't like this \x28toggle\x29"), t("dislike"));
}
if ($shareable)
$share = array( t('Share This'), t('share'));
if ($shareable) {
$share = array( t('Repeat This'), t('repeat'));
$embed = array( t('Share This'), t('share'));
}
$dreport = '';
@@ -408,6 +410,7 @@ class ThreadItem {
'like' => $like,
'dislike' => ((feature_enabled($conv->get_profile_owner(),'dislike')) ? $dislike : ''),
'share' => $share,
'embed' => $embed,
'rawmid' => $item['mid'],
'plink' => get_plink($item),
'edpost' => $edpost, // ((feature_enabled($conv->get_profile_owner(),'edit_posts')) ? $edpost : ''),