diff options
author | friendica <info@friendica.com> | 2012-08-09 16:26:44 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-09 16:26:44 -0700 |
commit | 0292d46e5de06529012ebb14ce934fb476d595d0 (patch) | |
tree | 16208e490a8e2d6d90996c936c6f467533aaf612 /mod/notes.php | |
parent | 432595314affa179bdce439d6e90955cee99cd9e (diff) | |
download | volse-hubzilla-0292d46e5de06529012ebb14ce934fb476d595d0.tar.gz volse-hubzilla-0292d46e5de06529012ebb14ce934fb476d595d0.tar.bz2 volse-hubzilla-0292d46e5de06529012ebb14ce934fb476d595d0.zip |
merge comment threading, provide plugin/theme functions to handle css/js includes
Diffstat (limited to 'mod/notes.php')
-rw-r--r-- | mod/notes.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mod/notes.php b/mod/notes.php index 625bbd2ee..afaa60f70 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -129,9 +129,13 @@ function notes_content(&$a,$update = false) { intval(local_user()), dbesc($parents_str) ); - } - $o .= conversation($a,$r,'notes',$update); + if(count($r)) { + $items = conv_sort($r,"`commented`"); + + $o .= conversation($a,$items,'notes',$update); + } + } $o .= paginate($a); |