nav: fix intro notification url, fix "See all notifications" url and make it translatable
This commit is contained in:
parent
b5ec475906
commit
30fcda7576
4 changed files with 4 additions and 3 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue