aboutsummaryrefslogtreecommitdiff
path: root/mod/search
diff options
context:
space:
mode:
Diffstat (limited to 'mod/search')
-rw-r--r--mod/search/views/default/search/entity.php2
-rw-r--r--mod/search/views/default/search/list.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/search/views/default/search/entity.php b/mod/search/views/default/search/entity.php
index 2193a70d8..e04d08836 100644
--- a/mod/search/views/default/search/entity.php
+++ b/mod/search/views/default/search/entity.php
@@ -27,7 +27,7 @@ if (!$icon) {
} 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_entity($entity, 'tiny');
+ $icon = elgg_view_entity_icon($entity, 'tiny');
}
}
diff --git a/mod/search/views/default/search/list.php b/mod/search/views/default/search/list.php
index c5afaaa86..11860c094 100644
--- a/mod/search/views/default/search/list.php
+++ b/mod/search/views/default/search/list.php
@@ -82,7 +82,7 @@ $more = ($more_check > 0) ? $more_check : 0;
if ($more) {
$title_key = ($more == 1) ? 'comment' : 'comments';
$more_str = elgg_echo('search:more', array($count, $type_str));
- $more_link = "<li class='elgg-list-item'><a href=\"$url\">$more_str</a></li>";
+ $more_link = "<li class='elgg-item'><a href=\"$url\">$more_str</a></li>";
} else {
$more_link = '';
}
@@ -98,7 +98,7 @@ if ($view) {
$body .= '<ul class="elgg-list search-list">';
foreach ($entities as $entity) {
$id = "elgg-{$entity->getType()}-{$entity->getGUID()}";
- $body .= "<li id=\"$id\" class=\"elgg-list-item\">";
+ $body .= "<li id=\"$id\" class=\"elgg-item\">";
$body .= elgg_view($view, array(
'entity' => $entity,
'params' => $vars['params'],