diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-09-27 14:56:47 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-09-27 14:56:47 +0200 |
commit | 6b23c3e1796b818ce893ed919f2e2bdd000c83fb (patch) | |
tree | 441348d1cbeb31e461af1090af713e73f88aae49 /Zotlabs/Lib/ThreadItem.php | |
parent | bdf6289b323c26329087eb21911576239e0b6216 (diff) | |
download | volse-hubzilla-6b23c3e1796b818ce893ed919f2e2bdd000c83fb.tar.gz volse-hubzilla-6b23c3e1796b818ce893ed919f2e2bdd000c83fb.tar.bz2 volse-hubzilla-6b23c3e1796b818ce893ed919f2e2bdd000c83fb.zip |
implement conversation tools (settings/conversation), remove additional features from the settings menu and get rid of skill levels
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index f8a7366f8..ac24806a6 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -259,7 +259,7 @@ class ThreadItem { $forged = ((($item['sig']) && (! intval($item['item_verified']))) ? t('Message signature incorrect') : ''); $unverified = '' ; // (($this->is_wall_to_wall() && (! intval($item['item_verified']))) ? t('Message cannot be verified') : ''); - + $settings = ''; // FIXME - check this permission if($conv->get_profile_owner() == local_channel()) { @@ -267,6 +267,8 @@ class ThreadItem { 'tagit' => t("Add Tag"), 'classtagger' => "", ); + + $settings = t('Conversation Tools'); } $has_bookmarks = false; @@ -436,7 +438,8 @@ class ThreadItem { 'preview_lbl' => t('This is an unsaved preview'), 'wait' => t('Please wait'), 'submid' => str_replace(['+','='], ['',''], base64_encode($item['mid'])), - 'thread_level' => $thread_level + 'thread_level' => $thread_level, + 'settings' => $settings ); $arr = array('item' => $item, 'output' => $tmp_item); |