aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ThreadItem.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-02-06 17:26:09 -0800
committerzotlabs <mike@macgirvin.com>2019-02-06 17:26:09 -0800
commit29c1797493f44d2677cab9b35ce6d879f020a15e (patch)
treed3b4531fc527eecea9acf5e6ebc4ae35cbd327da /Zotlabs/Lib/ThreadItem.php
parent518ceb53a8de5b4ee375947721d56f7a43621a61 (diff)
downloadvolse-hubzilla-29c1797493f44d2677cab9b35ce6d879f020a15e.tar.gz
volse-hubzilla-29c1797493f44d2677cab9b35ce6d879f020a15e.tar.bz2
volse-hubzilla-29c1797493f44d2677cab9b35ce6d879f020a15e.zip
work on repeat/share for Hubzilla
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r--Zotlabs/Lib/ThreadItem.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index 83d243177..6c4deea27 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -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 : ''),