]> git.mxchange.org Git - friendica.git/commitdiff
horizontal match layout
authorFriendika <info@friendika.com>
Tue, 22 Mar 2011 09:21:53 +0000 (02:21 -0700)
committerFriendika <info@friendika.com>
Tue, 22 Mar 2011 09:21:53 +0000 (02:21 -0700)
mod/match.php
view/theme/duepuntozero/style.css
view/theme/loozah/style.css

index 7228529d74eb9bc136715c6e8d8235f6b1bb93d1..092595a09c5e91f70e6496c5a7e729468109db6c 100644 (file)
@@ -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);
index 4f6d6c196c3448bd28a3bff7d5cc59d8b8ae437c..eda3cbf275808a7a06c4561b34ac9ca4357208b2 100644 (file)
@@ -2162,6 +2162,13 @@ a.mail-list-link {
        clear: both;
 }
 
+.profile-match-wrapper {
+       float: left;
+       padding: 10px;
+}
+#profile-match-wrapper-end {
+       clear: both;
+}
 .side-link {
        margin-bottom: 15px;
 }
index 49c83c83c4ad8cf87c9f8acf7c25e95283b10920..4a092c6d291eabac5b28e56e933f09dda30c6e6b 100644 (file)
@@ -2188,6 +2188,14 @@ a.mail-list-link {
        clear: both;
 }
 
+.profile-match-wrapper {
+       float: left;
+       padding: 10px;
+}
+#profile-match-wrapper-end {
+       clear: both;
+}
+
 .side-link {
        margin-bottom: 15px;
 }