]> git.mxchange.org Git - friendica.git/commitdiff
zrl into people searches
authorfriendica <info@friendica.com>
Fri, 30 Mar 2012 05:20:14 +0000 (22:20 -0700)
committerfriendica <info@friendica.com>
Fri, 30 Mar 2012 05:20:14 +0000 (22:20 -0700)
mod/dirfind.php
mod/match.php
mod/notifications.php
mod/suggest.php

index 75b1c4976740f1da1e45e426569b4ff48b2516d3..34c54dd9185877b23fbf5a00b55cc7860c22bc84 100755 (executable)
@@ -46,7 +46,7 @@ function dirfind_content(&$a) {
                        foreach($j->results as $jj) {
                                
                                $o .= replace_macros($tpl,array(
-                                       '$url' => $jj->url,
+                                       '$url' => zrl($jj->url),
                                        '$name' => $jj->name,
                                        '$photo' => $jj->photo,
                                        '$tags' => $jj->tags
index 1ae7848a63ac19caae3d0d2637f87484269e1d54..926df1dfff3203dafee764c8b0eeec107b57601b 100755 (executable)
@@ -51,7 +51,7 @@ function match_content(&$a) {
                                
                                $connlnk = $a->get_baseurl() . '/follow/?url=' . $jj->url;
                                $o .= replace_macros($tpl,array(
-                                       '$url' => $jj->url,
+                                       '$url' => zrl($jj->url),
                                        '$name' => $jj->name,
                                        '$photo' => $jj->photo,
                                        '$inttxt' => ' ' . t('is interested in:'),
index ff131010f0871a2127eff649a5ad14801fbf3aac..551b307dbd25fb52a1ccc1055cbfa471a302dc27 100755 (executable)
@@ -145,7 +145,7 @@ function notifications_content(&$a) {
                                                '$contact_id' => $rr['contact-id'],
                                                '$photo' => ((x($rr,'fphoto')) ? $rr['fphoto'] : "images/person-175.jpg"),
                                                '$fullname' => $rr['fname'],
-                                               '$url' => $rr['furl'],
+                                               '$url' => zrl($rr['furl']),
                                                '$hidden' => array('hidden', t('Hide this contact from others'), ($rr['hidden'] == 1), ''),
                                                '$activity' => array('activity', t('Post a new friend activity'), 1, t('if applicable')),
 
@@ -195,7 +195,7 @@ function notifications_content(&$a) {
                                        '$fullname' => $rr['name'],
                                        '$hidden' => array('hidden', t('Hide this contact from others'), ($rr['hidden'] == 1), ''),
                                        '$activity' => array('activity', t('Post a new friend activity'), 1, t('if applicable')),
-                                       '$url' => $rr['url'],
+                                       '$url' => zrl($rr['url']),
                                        '$knowyou' => $knowyou,
                                        '$approve' => t('Approve'),
                                        '$note' => $rr['note'],
index b8ca423c5ae2a0a0a5acbad99351bfce946e6689..7a86d53a1dbccd533d2f505a24cd089c3dc70c85 100755 (executable)
@@ -52,7 +52,7 @@ function suggest_content(&$a) {
                $connlnk = $a->get_baseurl() . '/follow/?url=' . (($rr['connect']) ? $rr['connect'] : $rr['url']);                      
 
                $o .= replace_macros($tpl,array(
-                       '$url' => $rr['url'],
+                       '$url' => zrl($rr['url']),
                        '$name' => $rr['name'],
                        '$photo' => $rr['photo'],
                        '$ignlnk' => $a->get_baseurl() . '/suggest?ignore=' . $rr['id'],