]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3795 not inserting the file title when embeding a file and tweaked css - thank...
authorcash <cash.costello@gmail.com>
Fri, 23 Sep 2011 01:55:25 +0000 (21:55 -0400)
committercash <cash.costello@gmail.com>
Fri, 23 Sep 2011 01:55:25 +0000 (21:55 -0400)
mod/embed/views/default/embed/css.php
mod/file/views/default/embed/file/content.php

index 150dc8733a2948d9c9e4f90e6b512c749560cfd9..5750c05c0bfe16f797926fc14776ce0d9d9a8e22 100644 (file)
@@ -8,7 +8,7 @@
 .embed-wrapper {
        width: 730px;
        min-height: 400px;
-       margin: 5px;
+       margin: 10px;
 }
 .embed-wrapper h2 {
        color: #333333;
index 865a158a71897328b9552f917b943e4cc9108e93..eadcd1a6d7c7583b6199ab977e65045a5e50207b 100644 (file)
@@ -31,7 +31,7 @@ if ($count) {
 
                $subtitle = "$author_text $date";
 
-               $icon = "<img src=\"{$item->getIconURL($icon_size)}\" />" . htmlentities($title, ENT_QUOTES, 'UTF-8');
+               $icon = "<img src=\"{$item->getIconURL($icon_size)}\" />";
 
                $embed_code = elgg_view('output/url', array(
                        'href' => $item->getURL(),