aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/search.php2
-rw-r--r--view/search_item.tpl1
2 files changed, 3 insertions, 0 deletions
diff --git a/mod/search.php b/mod/search.php
index d05b3d4e2..c0e6809ec 100644
--- a/mod/search.php
+++ b/mod/search.php
@@ -92,12 +92,14 @@ function search_content(&$a) {
}
$drop = replace_macros($droptpl,array('$id' => $item['id']));
+ $lock = '<div class="wall-item-lock"></div>';
$o .= replace_macros($tpl,array(
'$id' => $item['item_id'],
'$profile_url' => $profile_link,
'$name' => $profile_name,
'$sparkle' => $sparkle,
+ '$lock' => $lock,
'$thumb' => $profile_avatar,
'$title' => $item['title'],
'$body' => bbcode($item['body']),
diff --git a/view/search_item.tpl b/view/search_item.tpl
index 6004ed5a1..5cd230cfa 100644
--- a/view/search_item.tpl
+++ b/view/search_item.tpl
@@ -6,6 +6,7 @@
</div>
<div class="wall-item-wrapper" id="wall-item-wrapper-$id" >
+ $lock
<a href="$profile_url" title="View $name's profile" class="wall-item-name-link"><span class="wall-item-name$sparkle" id="wall-item-name-$id" >$name</span></a>
<div class="wall-item-ago" id="wall-item-ago-$id">$ago</div>
<div class="wall-item-location" id="wall-item-location-$id">$location</div>