diff options
author | friendica <info@friendica.com> | 2015-04-29 21:49:43 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-04-29 21:49:43 -0700 |
commit | c4221f32738dac51f691d5be1bebd2b50318521e (patch) | |
tree | e353242b42ca2942d7fe6d29888568c8bfe821ee /include/conversation.php | |
parent | 6679734135fb04f4a7beccb81663bf1e9574f062 (diff) | |
parent | 2376d2140ab6eeb8a44d7582a52978520844e229 (diff) | |
download | volse-hubzilla-c4221f32738dac51f691d5be1bebd2b50318521e.tar.gz volse-hubzilla-c4221f32738dac51f691d5be1bebd2b50318521e.tar.bz2 volse-hubzilla-c4221f32738dac51f691d5be1bebd2b50318521e.zip |
Merge branch 'master' into tres
Conflicts:
include/notifier.php
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php index 0250ad8b9..fe48ed2f5 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1086,6 +1086,8 @@ function status_editor($a, $x, $popup = false) { // $plaintext = false; $voting = feature_enabled(local_channel(), 'consensus_tools'); + if(x($x, 'novoting')) + $voting = false; $mimeselect = ''; if(array_key_exists('mimetype', $x) && $x['mimetype']) { @@ -1190,7 +1192,8 @@ function status_editor($a, $x, $popup = false) { '$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') : ''), - '$placeholdertitle' => t('Title (optional)'), + '$placeholdertitle' => ((x($x, 'placeholdertitle')) ? $x['placeholdertitle'] : t('Title (optional)')), + '$hidetitle' => ((x($x, 'hidetitle')) ? $x['hidetitle'] : false), '$catsenabled' => ((feature_enabled($x['profile_uid'], 'categories') && (! $webpage)) ? 'categories' : ''), '$category' => "", '$placeholdercategory' => t('Categories (optional, comma-separated list)'), |