diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-08 12:23:04 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-08 12:23:04 +0000 |
commit | 2aaf2d80f1cbc2a6ad4a1b4b5ef97c3494d6a0bd (patch) | |
tree | 2c9eee36920ed0fed40c80f8f4b3976af4a6ae68 /mod/search/views/default/search/entity.php | |
parent | 59b6967f1c2788331c8c56931d32b8afe3e0396c (diff) | |
download | elgg-2aaf2d80f1cbc2a6ad4a1b4b5ef97c3494d6a0bd.tar.gz elgg-2aaf2d80f1cbc2a6ad4a1b4b5ef97c3494d6a0bd.tar.bz2 |
updated search plugin for new html/css
git-svn-id: http://code.elgg.org/elgg/trunk@8075 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/search/views/default/search/entity.php')
-rw-r--r-- | mod/search/views/default/search/entity.php | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/mod/search/views/default/search/entity.php b/mod/search/views/default/search/entity.php index ae3d43e01..2193a70d8 100644 --- a/mod/search/views/default/search/entity.php +++ b/mod/search/views/default/search/entity.php @@ -47,21 +47,11 @@ if (!$time) { $tu = $entity->time_updated; $time = elgg_view_friendly_time(($tu > $tc) ? $tu : $tc); } -?> -<div class="search_listing clearfix"> - <div class="search_listing_icon"> - <?php echo $icon; ?> - </div> - <div class="search_listing_info"> - <p class="entity-title"><?php echo $title; ?></p> - <?php echo $description; ?> -<?php + +$body = "<p class=\"mbn\">$title</p>$description"; if ($extra_info) { -?> - <p class="entity-subtext"><?php echo $extra_info; ?></p> -<?php + $body .= "<p class=\"elgg-subtext\">$extra_info</p>"; } -?> - <p class="entity-subtext"><?php echo $time; ?></p> - </div> -</div> +$body .= "<p class=\"elgg-subtext\">$time</p>"; + +echo elgg_view_image_block($icon, $body); |