nav: fix intro notification url, fix "See all notifications" url and make it translatable

This commit is contained in:
Fabio Comuni
2012-01-22 19:27:56 +01:00
parent b5ec475906
commit 30fcda7576
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ function ping_init(&$a) {
echo ' <notif count="'.$tot.'">';
if ($intro>0){
foreach ($intros as $i) {
echo xmlize( $a->get_baseurl().'/notifications/'.$i['id'], $i['name'], $i['url'], $i['photo'], relative_date($i['datetime']), t("{0} wants to be your friend") );
echo xmlize( $a->get_baseurl().'/notifications/intros/'.$i['id'], $i['name'], $i['url'], $i['photo'], relative_date($i['datetime']), t("{0} wants to be your friend") );
};
}
if ($mail>0){