]> git.mxchange.org Git - friendica.git/blobdiff - mod/notifications.php
Added response active support to smoothly
[friendica.git] / mod / notifications.php
index 01dce2f447df1b9ce2fb6e2bbc641c106a4a2dcb..af44097c1cb42a508c3267665d37b8fd2de8c52e 100644 (file)
@@ -148,8 +148,8 @@ function notifications_content(&$a) {
 
                // The link to switch between ignored and normal connection requests
                $notif_show_lnk = array(
-                       'href' => ($all === false ? 'notifications/intros/all' : 'notifications/intros' ),
-                       'text' => ($all === false ? t('Show Ignored Requests') : t('Hide Ignored Requests'))
+                       'href' => (!$all ? 'notifications/intros/all' : 'notifications/intros' ),
+                       'text' => (!$all ? t('Show Ignored Requests') : t('Hide Ignored Requests'))
                );
 
                // Loop through all introduction notifications.This creates an array with the output html for each
@@ -285,7 +285,7 @@ function notifications_content(&$a) {
                                '$item_label' => $it['label'],
                                '$item_link' => $it['link'],
                                '$item_image' => $it['image'],
-                               '$item_text' => $it['text'],
+                               '$item_text' => htmlentities($it['text']),
                                '$item_when' => $it['when'],
                                '$item_seen' => $it['seen'],
                        ));