From: cash Date: Fri, 23 Sep 2011 01:55:25 +0000 (-0400) Subject: Fixes #3795 not inserting the file title when embeding a file and tweaked css - thank... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=cc23bbddb8f2367f33e6291b13354c4cd98cd97b;p=lorea%2Felgg.git Fixes #3795 not inserting the file title when embeding a file and tweaked css - thanks to slyhne --- diff --git a/mod/embed/views/default/embed/css.php b/mod/embed/views/default/embed/css.php index 150dc8733..5750c05c0 100644 --- a/mod/embed/views/default/embed/css.php +++ b/mod/embed/views/default/embed/css.php @@ -8,7 +8,7 @@ .embed-wrapper { width: 730px; min-height: 400px; - margin: 5px; + margin: 10px; } .embed-wrapper h2 { color: #333333; diff --git a/mod/file/views/default/embed/file/content.php b/mod/file/views/default/embed/file/content.php index 865a158a7..eadcd1a6d 100644 --- a/mod/file/views/default/embed/file/content.php +++ b/mod/file/views/default/embed/file/content.php @@ -31,7 +31,7 @@ if ($count) { $subtitle = "$author_text $date"; - $icon = "getIconURL($icon_size)}\" />" . htmlentities($title, ENT_QUOTES, 'UTF-8'); + $icon = "getIconURL($icon_size)}\" />"; $embed_code = elgg_view('output/url', array( 'href' => $item->getURL(),