aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-15 18:13:41 -0800
committerfriendica <info@friendica.com>2012-02-15 18:13:41 -0800
commitb1d31aca519bf7ca99420ad99ccd9575cc24455f (patch)
tree4abf57aa87fe86fe876e688ccd10d922fa725952 /include/conversation.php
parentd05442610158eb21cd3e9b9b3cd8cd3e5d56c13c (diff)
downloadvolse-hubzilla-b1d31aca519bf7ca99420ad99ccd9575cc24455f.tar.gz
volse-hubzilla-b1d31aca519bf7ca99420ad99ccd9575cc24455f.tar.bz2
volse-hubzilla-b1d31aca519bf7ca99420ad99ccd9575cc24455f.zip
quick comments
Diffstat (limited to 'include/conversation.php')
-rwxr-xr-xinclude/conversation.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 2ea9b603f..3d13a1179 100755
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -522,8 +522,9 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
if ($shareable) $likebuttons['share'] = array( t('Share this'), t('share'));
}
-// $qcomment = array(':-)','LOL','ROTFL','[smile]');
- $qcomment = null;
+
+ $qc = ((local_user()) ? get_pconfig(local_user(),'qcomment','words') : null);
+ $qcomment = (($qc) ? explode("\n",$qc) : null);
if(($show_comment_box) || (($show_comment_box == false) && ($override_comment_box == false) && ($item['last-child']))) {
$comment = replace_macros($cmnt_tpl,array(