aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-16 16:40:09 -0800
committerFriendika <info@friendika.com>2011-01-16 16:40:09 -0800
commit3811923c14b5a2be88104ea8069d0d0bb3d9800a (patch)
tree0f795c6a1da2523ffaf6b2e9aafeecf8de472c33 /mod/network.php
parentfa9e1a9abba4e116a24f5df3680dcf1a6f8b3f72 (diff)
downloadvolse-hubzilla-3811923c14b5a2be88104ea8069d0d0bb3d9800a.tar.gz
volse-hubzilla-3811923c14b5a2be88104ea8069d0d0bb3d9800a.tar.bz2
volse-hubzilla-3811923c14b5a2be88104ea8069d0d0bb3d9800a.zip
put birthday reminders on default network page, add smileys to private mail
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php
index 08607fa18..5073b8a61 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -115,6 +115,10 @@ function network_content(&$a, $update = 0) {
$o = '<h4>' . t('Group: ') . $r[0]['name'] . '</h4>' . $o;
}
+ if((! $group) && (! $update))
+ $o .= get_birthdays();
+
+
$r = q("SELECT COUNT(*) AS `total`
FROM `item` LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
WHERE `item`.`uid` = %d AND `item`.`visible` = 1 AND `item`.`deleted` = 0