]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/search_item.tpl
Everything is shiny (except frost and smoothly).
[friendica.git] / view / theme / diabook / search_item.tpl
1 {{ if $item.indent $item.shiny }}{{ 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 $item.shiny">
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                         {{ if $item.has_cats }}
33                         <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
34                         </div>
35                         {{ endif }}
36
37                         {{ if $item.has_folders }}
38                         <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
39                         </div>
40                         {{ endif }}
41                 </div>
42         </div>
43         <div class="wall-item-bottom">
44                 <div class="wall-item-links">
45                 </div>
46                 <div class="wall-item-tags">
47                         {{ for $item.tags as $tag }}
48                                 <span class='tag'>$tag</span>
49                         {{ endfor }}
50                 </div>
51         </div>
52         <div class="wall-item-bottom">
53                 <div class="">
54
55                 </div>
56                 <div class="wall-item-actions">
57
58                         <div class="wall-item-actions-social">
59                         
60                         
61                         {{ if $item.vote }}
62                                 <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>
63                                 <a href="#" id="dislike-$item.id" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
64                         {{ endif }}
65                                                 
66                         {{ if $item.vote.share }}
67                                 <a href="#" id="share-$item.id" class="icon recycle" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>
68                         {{ endif }}     
69
70
71                         {{ if $item.star }}
72                                 <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle">
73                                 <img src="images/star_dummy.png" class="icon star" alt="$item.star.do" /> </a>
74                                 <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>                                   
75                         {{ endif }}     
76                         
77                         {{ if $item.filer }}
78                         <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item icon file-as" title="$item.star.filer"></a>
79                         {{ endif }}                             
80                         
81                         {{ if $item.plink }}<a class="icon link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}
82                         
83                                         
84                                         
85                         </div>
86                         
87                         <div class="wall-item-actions-tools">
88
89                                 {{ if $item.drop.pagedrop }}
90                                         <input type="checkbox" title="$item.drop.select" name="itemselected[]" class="item-select" value="$item.id" />
91                                 {{ endif }}
92                                 {{ if $item.drop.dropping }}
93                                         <a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drop" title="$item.drop.delete">$item.drop.delete</a>
94                                 {{ endif }}
95                                 {{ if $item.edpost }}
96                                         <a class="icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
97                                 {{ endif }}
98                         </div>
99                         <div class="wall-item-location">$item.location&nbsp;</div>
100                 </div>
101         </div>
102         <div class="wall-item-bottom">
103                 <div class="wall-item-links"></div>
104                 <div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
105                 <div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>      
106         </div>
107 </div>
108
109 <div class="wall-item-comment-wrapper" >
110         $item.comment
111 </div>