aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-24 20:49:19 -0700
committerFriendika <info@friendika.com>2011-05-24 20:49:19 -0700
commite7ef3b82f0f51d7b3f54e98475b0fe5fc1586c75 (patch)
tree6c94553920d603e06f9384cb06785bfeb87d45a1
parentbc8eba488454605a04fd4c85a3780fb4939c503a (diff)
downloadvolse-hubzilla-e7ef3b82f0f51d7b3f54e98475b0fe5fc1586c75.tar.gz
volse-hubzilla-e7ef3b82f0f51d7b3f54e98475b0fe5fc1586c75.tar.bz2
volse-hubzilla-e7ef3b82f0f51d7b3f54e98475b0fe5fc1586c75.zip
clearup float, fix icon
-rw-r--r--boot.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index b328eec0e..3f28edc30 100644
--- a/boot.php
+++ b/boot.php
@@ -2547,6 +2547,7 @@ function prepare_body($item,$attach = false) {
return $s;
$arr = explode(',',$item['attach']);
+ $s .= '<div class="body-attach">';
if(count($arr)) {
foreach($arr as $r) {
$matches = false;
@@ -2559,7 +2560,7 @@ function prepare_body($item,$attach = false) {
case 'audio':
case 'image':
case 'text':
- $icon = '<div class="attachtype type-' . $attachtype . '"></div>';
+ $icon = '<div class="attachtype type-' . $icontype . '"></div>';
break;
default:
$icon = '<div class="attachtype type-unkn"></div>';
@@ -2572,7 +2573,7 @@ function prepare_body($item,$attach = false) {
}
}
}
- $s .= '<div class="clear"></div>';
+ $s .= '<div class="clear"></div></div>';
return $s;
}}