aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-10 19:10:18 -0800
committerfriendica <info@friendica.com>2015-02-10 19:10:18 -0800
commit79223b6b3d38bfbfb3a6d9530f6ccc5b7bb096c8 (patch)
tree18ee5a91f1ce6e8d4c964174549ac10f4ab949be /include/conversation.php
parent79da33dafdac1427ac07b4414a5da5f9f3a2b03d (diff)
downloadvolse-hubzilla-79223b6b3d38bfbfb3a6d9530f6ccc5b7bb096c8.tar.gz
volse-hubzilla-79223b6b3d38bfbfb3a6d9530f6ccc5b7bb096c8.tar.bz2
volse-hubzilla-79223b6b3d38bfbfb3a6d9530f6ccc5b7bb096c8.zip
item voting tools
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 4da6636fa..2c89249cb 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1085,6 +1085,8 @@ function status_editor($a,$x,$popup=false) {
// if(feature_enabled(local_channel(),'richtext'))
// $plaintext = false;
+ $voting = feature_enabled(local_channel(),'consensus_tools');
+
$mimeselect = '';
if(array_key_exists('mimetype',$x) && $x['mimetype']) {
if($x['mimetype'] != 'text/bbcode')
@@ -1176,6 +1178,9 @@ function status_editor($a,$x,$popup=false) {
'$shortaudio' => t('audio link'),
'$setloc' => t('Set your location'),
'$shortsetloc' => t('set location'),
+ '$voting' => t('Toggle voting'),
+ '$feature_voting' => $voting,
+ '$consensus' => 0,
'$noloc' => ((get_pconfig($x['profile_uid'],'system','use_browser_location')) ? t('Clear browser location') : ''),
'$shortnoloc' => t('clear location'),
'$title' => ((x($x,'title')) ? htmlspecialchars($x['title'], ENT_COMPAT,'UTF-8') : ''),