From b54513ab0d697a467cf987301ba696db57bd296b Mon Sep 17 00:00:00 2001 From: pete Date: Wed, 9 Jun 2010 14:50:12 +0000 Subject: Updated embeded object links ui git-svn-id: http://code.elgg.org/elgg/trunk@6420 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/ecml/views/default/ecml/keywords/entity.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod/ecml/views') diff --git a/mod/ecml/views/default/ecml/keywords/entity.php b/mod/ecml/views/default/ecml/keywords/entity.php index 5daa51fe3..619b17e44 100644 --- a/mod/ecml/views/default/ecml/keywords/entity.php +++ b/mod/ecml/views/default/ecml/keywords/entity.php @@ -15,8 +15,11 @@ if ($entity = get_entity($guid)) { echo elgg_view('output/url', array( 'href' => $entity->getURL(), 'title' => $entity->title, - 'text' => "getIcon('tiny')}>" . $entity->title, - 'class' => "embeded_file link" + 'text' => $entity->title, + 'class' => "embeded_file link", + // abusing the js attribute + 'js' => "style=\"background-image:url({$entity->getIcon('tiny')})\"" + )); } else { echo elgg_echo('ecml:entity:invalid'); -- cgit v1.2.3