]> git.mxchange.org Git - friendica.git/commitdiff
clearup float, fix icon
authorFriendika <info@friendika.com>
Wed, 25 May 2011 03:49:19 +0000 (20:49 -0700)
committerFriendika <info@friendika.com>
Wed, 25 May 2011 03:49:19 +0000 (20:49 -0700)
boot.php

index b328eec0e6b15fbdfd6f0c0a6c7f66d6db69f621..3f28edc30639ece95ab9dcb20d10f23ef46bc917 100644 (file)
--- 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;
 }}