]> git.mxchange.org Git - friendica.git/blob - view/search_item.tpl
extending notifications to other types
[friendica.git] / view / search_item.tpl
1 <div class="wall-item-decor">
2         <span class="icon s22 star $isstarred" id="starred-$id" title="$star.starred">$star.starred</span>
3         {{ if $lock }}<span class="icon s22 lock fakelink" onclick="lockview(event,$id);" title="$lock">$lock</span>{{ endif }} 
4         <img id="like-rotator-$id" class="like-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
5 </div>
6 <div class="wall-item-container $indent">
7         <div class="wall-item-item">
8                 <div class="wall-item-info">
9                         <div class="wall-item-photo-wrapper"
10                                 onmouseover="if (typeof t$id != 'undefined') clearTimeout(t$id); openMenu('wall-item-photo-menu-button-$id')" 
11                                 onmouseout="t$id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$id\'); closeMenu(\'wall-item-photo-menu-$id\');',200)">
12                                 <a href="$profile_url" target="redir" title="$linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$id">
13                                         <img src="$thumb" class="wall-item-photo$sparkle" id="wall-item-photo-$id" alt="$name" />
14                                 </a>
15                                 <a href="#" rel="#wall-item-photo-menu-$id" class="fakelink wall-item-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-$id">menu</a>
16                                 <ul class="wall-item-menu menu-popup" id="wall-item-photo-menu-$id">
17                                 $item_photo_menu
18                                 </ul>
19                                 
20                         </div>
21                         <div class="wall-item-location">$location</div> 
22                 </div>
23                 <div class="wall-item-content">
24                         {{ if $title }}<h2><a href="$plink.href">$title</a></h2>{{ endif }}
25                         $body
26                 </div>
27         </div>
28         <div class="wall-item-bottom">
29                 <div class="wall-item-links">
30                         {{ if $plink }}<a class="icon s16 link" title="$plink.title" href="$plink.href">$plink.title</a>{{ endif }}
31                 </div>
32                 <div class="wall-item-actions">
33                         <div class="wall-item-actions-author">
34                                 <a href="$profile_url" target="redir" title="$linktitle" class="wall-item-name-link"><span class="wall-item-name$sparkle">$name</span></a> <span class="wall-item-ago">$ago</span>
35                         </div>
36                         
37                         <div class="wall-item-actions-social">
38                         {{ if $star }}
39                                 <a href="#" id="star-$id" onclick="dostar($id); return false;"  class="$star.classdo"  title="$star.do">$star.do</a>
40                                 <a href="#" id="unstar-$id" onclick="dostar($id); return false;"  class="$star.classundo"  title="$star.undo">$star.undo</a>
41                         {{ endif }}
42                         
43                         {{ if $vote }}
44                                 <a href="#" id="like-$id" title="$vote.like.0" onclick="dolike($id,'like'); return false">$vote.like.1</a>
45                                 <a href="#" id="dislike-$id" title="$vote.dislike.0" onclick="dolike($id,'dislike'); return false">$vote.dislike.1</a>
46                         {{ endif }}
47                                                 
48                         {{ if $vote.share }}
49                                 <a href="#" id="share-$id" title="$vote.share.0" onclick="jotShare($id); return false">$vote.share.1</a>
50                         {{ endif }}                     
51                         
52                         {{ if $conv }}
53                                 <a href='$conv.href' id='context-$id' title='$conv.title'>$conv.title</a>
54                         {{ endif }}
55                         </div>
56                         
57                         <div class="wall-item-actions-tools">
58
59                                 {{ if $drop.dropping }}
60                                         <input type="checkbox" title="$drop.select" name="itemselected[]" value="$id" />
61                                         <a href="item/drop/$id" onclick="return confirmDelete();" class="icon delete s16" title="$drop.delete">$drop.delete</a>
62                                 {{ endif }}
63                                 {{ if $edpost }}
64                                         <a class="icon edit s16" href="$edpost.0" title="$edpost.1"></a>
65                                 {{ endif }}
66                         </div>
67                         
68                 </div>
69         </div>
70 </div>
71