diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/items.php | 3 | ||||
-rw-r--r-- | include/notifier.php | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 47bc9f15a..1a5ca5a1f 100644 --- a/include/items.php +++ b/include/items.php @@ -182,6 +182,7 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0) $atom .= replace_macros($feed_template, array( + '$version' => xmlify(FRIENDIKA_VERSION), '$feed_id' => xmlify($a->get_baseurl() . '/profile/' . $owner_nick), '$feed_title' => xmlify($owner['name']), '$feed_updated' => xmlify(datetime_convert('UTC', 'UTC', 'now' , ATOM_TIME)) , @@ -991,7 +992,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) { * */ - $bdtext = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]' . t('\'s birthday'); + $bdtext = t('Birthday:') . ' [url=' . $contact['url'] . ']' . $contact['name'] . '[/url]' ; $r = q("INSERT INTO `event` (`uid`,`cid`,`created`,`edited`,`start`,`finish`,`desc`,`type`) diff --git a/include/notifier.php b/include/notifier.php index 5bc21cf13..7791b9bd4 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -176,6 +176,7 @@ } $atom .= replace_macros($feed_template, array( + '$version' => xmlify(FRIENDIKA_VERSION), '$feed_id' => xmlify($a->get_baseurl() . '/profile/' . $owner['nickname'] ), '$feed_title' => xmlify($owner['name']), '$feed_updated' => xmlify(datetime_convert('UTC', 'UTC', $updated . '+00:00' , ATOM_TIME)) , |