diff options
author | Mario <mario@mariovavti.com> | 2020-02-26 09:51:40 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-02-26 09:51:40 +0000 |
commit | e7f25b84664c158343621c391b8653042d5be53c (patch) | |
tree | 70e86ba68f7345ad1375b43bb8b38aafab089523 /include | |
parent | b36eb9a91cba1a6f3a53961f895665a0ae110b95 (diff) | |
download | volse-hubzilla-e7f25b84664c158343621c391b8653042d5be53c.tar.gz volse-hubzilla-e7f25b84664c158343621c391b8653042d5be53c.tar.bz2 volse-hubzilla-e7f25b84664c158343621c391b8653042d5be53c.zip |
implement poll UI in jot
Diffstat (limited to 'include')
-rw-r--r-- | include/conversation.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index 0098a694d..ba0f61196 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1293,7 +1293,7 @@ function hz_status_editor($a, $x, $popup = false) { $feature_voting = feature_enabled($x['profile_uid'], 'consensus_tools'); if(x($x, 'hide_voting')) $feature_voting = false; - + $feature_nocomment = feature_enabled($x['profile_uid'], 'disable_comments'); if(x($x, 'disable_comments')) $feature_nocomment = false; @@ -1441,6 +1441,8 @@ function hz_status_editor($a, $x, $popup = false) { '$embedPhotosModalOK' => t('OK'), '$setloc' => $setloc, '$voting' => t('Toggle voting'), + '$poll' => t('Toggle poll'), + '$multiple_answers' => ['poll_multiple_answers', t("Allow multiple answers")], '$feature_voting' => $feature_voting, '$consensus' => ((array_key_exists('item',$x)) ? $x['item']['item_consensus'] : 0), '$nocommenttitle' => t('Disable comments'), |