diff options
| author | cash <cash.costello@gmail.com> | 2011-09-22 21:55:25 -0400 | 
|---|---|---|
| committer | cash <cash.costello@gmail.com> | 2011-09-22 21:55:25 -0400 | 
| commit | cc23bbddb8f2367f33e6291b13354c4cd98cd97b (patch) | |
| tree | 1778af0f6b2974b29150d7f8a1ed6dfec06cb68b | |
| parent | 9858bd526fce9016dc82d1f21b35e6ceb969c140 (diff) | |
| download | elgg-cc23bbddb8f2367f33e6291b13354c4cd98cd97b.tar.gz elgg-cc23bbddb8f2367f33e6291b13354c4cd98cd97b.tar.bz2 | |
Fixes #3795 not inserting the file title when embeding a file and tweaked css - thanks to slyhne
| -rw-r--r-- | mod/embed/views/default/embed/css.php | 2 | ||||
| -rw-r--r-- | mod/file/views/default/embed/file/content.php | 2 | 
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(), | 
