birthdays and events are now notifications

This commit is contained in:
friendica
2012-07-29 18:29:27 -07:00
parent eae7522bc9
commit 4824e5b8b8
6 changed files with 9 additions and 9 deletions
+1
View File
@@ -1210,6 +1210,7 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
'$bang' => $x['bang'],
'$profile_uid' => $x['profile_uid'],
'$preview' => t('Preview'),
'$mobileapp' => t('Friendica mobile web'),
));
+6
View File
@@ -47,4 +47,10 @@ function zot_get_hubloc($arr,$primary) {
function zot_sign(&$item,$identity) {
$item['signed'] = str_replace(array(" ","\t","\n","\r"),array('','','',''),base64url_encode($item['body'],true));
$item['signature'] = base64url_encode(rsa_sign($item['signed'],$identity['prvkey']));
}
// Given an item and an identity, verify the signature.
function zot_verify(&$item,$identity) {
return rsa_verify($item[signed'],base64url_decode($item['signature']),$identity['pubkey']);
}