]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/search_item.tpl
Merge https://github.com/friendica/friendica into pull
[friendica.git] / view / theme / diabook / search_item.tpl
1 {{ if $item.indent }}{{ else }}
2 <div class="wall-item-decor">
3         <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
4 </div>
5 {{ endif }}
6 <div class="wall-item-container $item.indent">
7         <div class="wall-item-item">
8                 <div class="wall-item-info">
9                         <div class="contact-photo-wrapper"
10                                 onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" 
11                                 onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
12                                 <a href="$item.profile_url" target="redir" title="$item.linktitle" class="contact-photo-link" id="wall-item-photo-link-$item.id">
13                                         <img src="$item.thumb" class="contact-photo$item.sparkle" id="wall-item-photo-$item.id" alt="$item.name" />
14                                 </a>
15                                 <a href="#" rel="#wall-item-photo-menu-$item.id" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-$item.id">menu</a>
16                                 <ul class="contact-menu menu-popup" id="wall-item-photo-menu-$item.id">
17                                 $item.item_photo_menu
18                                 </ul>
19                                 
20                         </div>
21                 </div>
22                         <div class="wall-item-actions-author">
23                                 <a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle">$item.name</span></a> 
24                         <span class="wall-item-ago">-
25                         {{ if $item.plink }}<a class="link" title="$item.plink.title" href="$item.plink.href" style="color: #999">$item.ago</a>{{ else }} $item.ago {{ endif }}
26                         {{ if $item.lock }} - <span class="fakelink" style="color: #999" onclick="lockview(event,$item.id);">$item.lock</span> {{ endif }}
27                         </span>
28                         </div>
29                 <div class="wall-item-content">
30                         {{ if $item.title }}<h2><a href="$item.plink.href">$item.title</a></h2>{{ endif }}
31                         $item.body
32                 </div>
33         </div>
34         <div class="wall-item-bottom">
35                 <div class="wall-item-links">
36                 </div>
37                 <div class="wall-item-tags">
38                         {{ for $item.tags as $tag }}
39                                 <span class='tag'>$tag</span>
40                         {{ endfor }}
41                 </div>
42         </div>
43         <div class="wall-item-bottom">
44                 <div class="">
45
46                 </div>
47                 <div class="wall-item-actions">
48
49                         <div class="wall-item-actions-social">
50                         
51                         
52                         {{ if $item.vote }}
53                                 <a href="#" id="like-$item.id" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false">$item.vote.like.1</a>
54                                 <a href="#" id="dislike-$item.id" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
55                         {{ endif }}
56                                                 
57                         {{ if $item.vote.share }}
58                                 <a href="#" id="share-$item.id" class="icon recycle" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>
59                         {{ endif }}     
60
61
62                         {{ if $item.star }}
63                                 <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle">
64                                 <img src="images/star_dummy.png" class="icon star" alt="$item.star.do" /> </a>
65                                 <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>                                   
66                         {{ endif }}     
67                         
68                         {{ if $item.filer }}
69                         <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item icon file-as" title="$item.star.filer"></a>
70                         {{ endif }}                             
71                         
72                         {{ if $item.plink }}<a class="icon link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}
73                         
74                                         
75                                         
76                         </div>
77                         
78                         <div class="wall-item-actions-tools">
79
80                                 {{ if $item.drop.dropping }}
81                                         <input type="checkbox" title="$item.drop.select" name="itemselected[]" class="item-select" value="$item.id" />
82                                         <a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drop" title="$item.drop.delete">$item.drop.delete</a>
83                                 {{ endif }}
84                                 {{ if $item.edpost }}
85                                         <a class="icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
86                                 {{ endif }}
87                         </div>
88                         <div class="wall-item-location">$item.location&nbsp;</div>
89                 </div>
90         </div>
91         <div class="wall-item-bottom">
92                 <div class="wall-item-links"></div>
93                 <div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
94                 <div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>      
95         </div>
96 </div>
97
98 <div class="wall-item-comment-wrapper" >
99         $item.comment
100 </div>