diff options
author | Friendika <info@friendika.com> | 2011-03-22 02:21:53 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-22 02:21:53 -0700 |
commit | cd2a0802e4840253540f256fc49459b8e7c1e911 (patch) | |
tree | 216f39440ec2bfe83b254ecf0a31c4afb4d4347f | |
parent | 89977cd87ca90ff0619e730675d7eae70be1b7d4 (diff) | |
download | volse-hubzilla-cd2a0802e4840253540f256fc49459b8e7c1e911.tar.gz volse-hubzilla-cd2a0802e4840253540f256fc49459b8e7c1e911.tar.bz2 volse-hubzilla-cd2a0802e4840253540f256fc49459b8e7c1e911.zip |
horizontal match layout
-rw-r--r-- | mod/match.php | 5 | ||||
-rw-r--r-- | view/theme/duepuntozero/style.css | 7 | ||||
-rw-r--r-- | view/theme/loozah/style.css | 8 |
3 files changed, 18 insertions, 2 deletions
diff --git a/mod/match.php b/mod/match.php index 7228529d7..092595a09 100644 --- a/mod/match.php +++ b/mod/match.php @@ -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); diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 4f6d6c196..eda3cbf27 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -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; } diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css index 49c83c83c..4a092c6d2 100644 --- a/view/theme/loozah/style.css +++ b/view/theme/loozah/style.css @@ -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; } |