activity widget - like the forum widget but represents unseen activity by author. Still experimental until it can be tested with diaspora xchans, which may require additional urlencoding.

This commit is contained in:
zotlabs
2017-03-02 17:32:43 -08:00
parent d7e24b2494
commit e58dc726c5
9 changed files with 97 additions and 4 deletions

View File

@@ -854,6 +854,11 @@ function tag_sort_length($a,$b) {
return((mb_strlen($b) < mb_strlen($a)) ? (-1) : 1);
}
function total_sort($a,$b) {
if($a['total'] == $b['total'])
return 0;
return(($b['total'] < $a['total']) ? 1 : (-1));
}
/**