aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-09-22 21:55:25 -0400
committercash <cash.costello@gmail.com>2011-09-22 21:55:25 -0400
commitcc23bbddb8f2367f33e6291b13354c4cd98cd97b (patch)
tree1778af0f6b2974b29150d7f8a1ed6dfec06cb68b /mod
parent9858bd526fce9016dc82d1f21b35e6ceb969c140 (diff)
downloadelgg-cc23bbddb8f2367f33e6291b13354c4cd98cd97b.tar.gz
elgg-cc23bbddb8f2367f33e6291b13354c4cd98cd97b.tar.bz2
Fixes #3795 not inserting the file title when embeding a file and tweaked css - thanks to slyhne
Diffstat (limited to 'mod')
-rw-r--r--mod/embed/views/default/embed/css.php2
-rw-r--r--mod/file/views/default/embed/file/content.php2
2 files changed, 2 insertions, 2 deletions
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 = "<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(),