aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-08 18:36:08 -0800
committerFriendika <info@friendika.com>2010-11-08 18:36:08 -0800
commit57fe19da72be37104915676b8003326d8e440343 (patch)
treec30af58c4269a2a3e6f3a50d9dfbd96c59a6b407
parent45149271285ea3515c3c1a7ea189609969c76748 (diff)
downloadvolse-hubzilla-57fe19da72be37104915676b8003326d8e440343.tar.gz
volse-hubzilla-57fe19da72be37104915676b8003326d8e440343.tar.bz2
volse-hubzilla-57fe19da72be37104915676b8003326d8e440343.zip
minor positioning adjustment on search items
-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>