]> git.mxchange.org Git - friendica.git/blobdiff - mod/match.php
Merge pull request #104 from chriscase/master
[friendica.git] / mod / match.php
index f3c78bc7dcd082e9bc1c6b45f93af0607a9c2183..092595a09c5e91f70e6496c5a7e729468109db6c 100644 (file)
@@ -7,7 +7,7 @@ function match_content(&$a) {
        if(! local_user())
                return;
 
-       $o .= '<h2>' . t('Profile Keyword Match') . '</h2>';
+       $o .= '<h2>' . t('Profile Match') . '</h2>';
 
        $r = q("SELECT `pub_keywords`, `prv_keywords` FROM `profile` WHERE `is-default` = 1 AND `uid` = %d LIMIT 1",
                intval(local_user())
@@ -39,11 +39,12 @@ function match_content(&$a) {
                if(count($j->results)) {
                        foreach($j->results as $jj) {
                                $o .= '<div class="profile-match-wrapper"><div class="profile-match-photo">';
-                               $o .= '<a href="' . $jj->url . '">' . '<img src="' . $jj->photo . '" alt="' . $jj->name . '" /></a></div>';
+                               $o .= '<a href="' . $jj->url . '">' . '<img src="' . $jj->photo . '" alt="' . $jj->name . '" title="' . $jj->name . '[' . $jj->url . ']' . '" /></a></div>';
                                $o .= '<div class="profile-match-break"></div>';
-                               $o .= '<div class="profile-match-name"><a href="' . $jj->url . '">' . $jj->name . '</a></div>';
+                               $o .= '<div class="profile-match-name"><a href="' . $jj->url . '" title="' . $jj->name . '[' . $jj->url .']' . '">' . $jj->name . '</a></div>';
                                $o .= '<div class="profile-match-end"></div></div>';
                        }
+                       $o .= '<div id="profile-match-wrapper-end"></div>';
                }
                else {
                        notice( t('No matches') . EOL);