diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-09 15:43:33 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-09 15:43:33 +0000 |
commit | 80236b3d151a1c4e00d75b723794d23b0938fc87 (patch) | |
tree | bddb7d59f180714790a928832353189f505806bd /mod/embed/views/default | |
parent | b54513ab0d697a467cf987301ba696db57bd296b (diff) | |
download | elgg-80236b3d151a1c4e00d75b723794d23b0938fc87.tar.gz elgg-80236b3d151a1c4e00d75b723794d23b0938fc87.tar.bz2 |
Embed default gallery list uses medium icon instead of tiny.
git-svn-id: http://code.elgg.org/elgg/trunk@6423 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/embed/views/default')
-rw-r--r-- | mod/embed/views/default/embed/item/gallery.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/embed/views/default/embed/item/gallery.php b/mod/embed/views/default/embed/item/gallery.php index ed43ca1c3..a302412f6 100644 --- a/mod/embed/views/default/embed/item/gallery.php +++ b/mod/embed/views/default/embed/item/gallery.php @@ -31,7 +31,7 @@ if ($ecml_keyword) { $embed_code = "[$ecml_keyword guid={$item->getGUID()}]"; } else { // fallback to inserting a hard link to the object with its icon - $icon = "<img src=\"{$item->getIcon()}\" />" . htmlentities($title, ENT_QUOTES, 'UTF-8'); + $icon = "<img src=\"{$item->getIcon('medium')}\" />" . htmlentities($title, ENT_QUOTES, 'UTF-8'); $embed_code = elgg_view('output/url', array( 'href' => $item->getURL(), @@ -41,7 +41,7 @@ if ($ecml_keyword) { )); } -$icon = "<img src=\"{$item->getIcon('tiny')}\" />"; +$icon = "<img src=\"{$item->getIcon('medium')}\" />"; $info = htmlentities($title, ENT_QUOTES, 'UTF-8'); $listing = elgg_view('entities/gallery_listing', array('icon' => $icon, 'info' => $info)); |