aboutsummaryrefslogtreecommitdiff
path: root/mod/search
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-15 17:21:44 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-15 17:21:44 +0000
commit978b3484af2a47fe5cd3df6c1b68b5749612d1f2 (patch)
tree01534d4d6ae08a11beea70890bb0743fa82cbb21 /mod/search
parent18d00e176826a353503f889bb8ea157e5228304b (diff)
downloadelgg-978b3484af2a47fe5cd3df6c1b68b5749612d1f2.tar.gz
elgg-978b3484af2a47fe5cd3df6c1b68b5749612d1f2.tar.bz2
Update to search results view, and small entity list style updates.
git-svn-id: http://code.elgg.org/elgg/trunk@5748 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/search')
-rw-r--r--mod/search/views/default/search/entity.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/mod/search/views/default/search/entity.php b/mod/search/views/default/search/entity.php
index b65bad888..538cc8a64 100644
--- a/mod/search/views/default/search/entity.php
+++ b/mod/search/views/default/search/entity.php
@@ -24,16 +24,16 @@ if (!$icon) {
// @todo allow an option to switch to displaying the entity's icon instead.
$type = $entity->getType();
if ($type == 'user' || $type == 'group') {
- $icon = elgg_view('profile/icon', array('entity' => $entity, 'size' => 'small'));
+ $icon = elgg_view('profile/icon', array('entity' => $entity, 'size' => 'tiny'));
} elseif ($owner = $entity->getOwnerEntity()) {
- $icon = elgg_view('profile/icon', array('entity' => $owner, 'size' => 'small'));
+ $icon = elgg_view('profile/icon', array('entity' => $owner, 'size' => 'tiny'));
} else {
// display a generic icon if no owner, though there will probably be
// other problems if the owner can't be found.
$icon = elgg_view(
'graphics/icon', array(
'entity' => $entity,
- 'size' => 'small',
+ 'size' => 'tiny',
));
}
}
@@ -56,15 +56,15 @@ if (!$time) {
<div class="search_listing clearfloat">
<div class="search_listing_icon"><?php echo $icon; ?></div>
<div class="search_listing_info">
- <p class="item_title"><?php echo $title; ?></p>
- <p class="item_description"><?php echo $description; ?></p>
+ <p class="entity_title"><?php echo $title; ?></p>
+ <?php echo $description; ?>
<?php
if ($extra_info) {
?>
- <p class="item_extra"><?php echo $extra_info; ?></p>
+ <p class="entity_subtext"><?php echo $extra_info; ?></p>
<?php
}
?>
- <p class="item_timestamp"><?php echo $time; ?></p>
+ <p class="entity_subtext"><?php echo $time; ?></p>
</div>
</div>