]> git.mxchange.org Git - friendica.git/blob - view/theme/vier/templates/photo_item.tpl
Merge pull request #10890 from xundeenergie/improve-links
[friendica.git] / view / theme / vier / templates / photo_item.tpl
1 <div class="wall-item-container {{$indent}} {{$shiny}} ">
2         <div class="wall-item-item">
3                 <div class="wall-item-info">
4                         <div class="contact-photo-wrapper">
5                                 <a href="{{$profile_url}}" target="redir" title="{{$linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$id}}">
6                                         <img src="{{$thumb}}" class="contact-photo{{$sparkle}}" id="wall-item-photo-{{$id}}" alt="{{$name}}" />
7                                 </a>
8                         </div>
9                 </div>
10                 <div class="wall-item-actions-author">
11                         <a href="{{$profile_url}}" target="redir" title="{{$linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$sparkle}}">{{$name}}</span></a>
12                         <span class="wall-item-ago">
13                                 {{if $plink}}<a class="link" title="{{$plink.title}}" href="{{$plink.href}}" style="color: #999">{{$ago}}</a>{{else}} {{$ago}} {{/if}}
14                                 {{if $lock}}<span class="fakelink" style="color: #999" onclick="lockview(event, 'item', {{$id}});">{{$lock}}</span> {{/if}}
15                         </span>
16                 </div>
17                 <div class="wall-item-content">
18                         {{if $title}}<h2><a href="{{$plink.href}}">{{$title}}</a></h2>{{/if}}
19                         {{$body}}
20                 </div>
21         </div>
22         <div class="wall-item-bottom">
23                 <div class="wall-item-links">
24                 </div>
25                 <div class="wall-item-tags">
26                         {{foreach $tags as $tag}}
27                                 <span class='tag'>{{$tag nofilter}}</span>
28                         {{/foreach}}
29
30                 </div>
31         </div>
32         <div class="wall-item-bottom">
33                 <div dir="auto">
34                         {{if $conv}}<a href="{{$conv.href}}" id="context-{{$id}}" title="{{$conv.title}}"><i class="icon-link icon-large"></i></a>{{/if}}
35                 </div>
36                 <div class="wall-item-actions">
37
38                         <div class="wall-item-location">{{$location}}&nbsp;</div>
39
40                         <div class="wall-item-actions-social">
41                         {{if $star}}
42                                 <a href="#" id="star-{{$id}}" onclick="doStar({{$id}}); return false;" class="{{$star.classdo}}" title="{{$star.do}}">{{$star.do}}</a>
43                                 <a href="#" id="unstar-{{$id}}" onclick="doStar({{$id}}); return false;" class="{{$star.classundo}}" title="{{$star.undo}}">{{$star.undo}}</a>
44                                 <a href="#" id="tagger-{{$id}}" onclick="itemTag({{$id}}); return false;" class="{{$star.classtagger}}" title="{{$star.tagger}}">{{$star.tagger}}</a>
45                         {{/if}}
46
47                         {{if $vote}}
48                                 <a href="#" id="like-{{$id}}"{{if $item.responses.like.self}} class="active"{{/if}} title="{{$vote.like.0}}" onclick="doActivityItem({{$id}}, 'like'{{if $item.responses.like.self}}, true{{/if}}); return false">{{$vote.like.1}}</a>
49                                 <a href="#" id="dislike-{{$id}}"{{if $item.responses.dislike.self}} class="active"{{/if}} title="{{$vote.dislike.0}}" onclick="doActivityItem({{$id}}, 'dislike'{{if $item.responses.dislike.self}}, true{{/if}}); return false">{{$vote.dislike.1}}</a>
50                         {{/if}}
51
52                         {{if $vote.share}}
53                                 <a href="#" id="share-{{$id}}" title="{{$vote.share.0}}" onclick="jotShare({{$id}}); return false">{{$vote.share.1}}</a>
54                         {{/if}}
55                         </div>
56
57                         <div class="wall-item-actions-tools">
58
59                                 {{if $drop.pagedrop}}
60                                         <input type="checkbox" title="{{$drop.select}}" name="itemselected[]" class="item-select" value="{{$id}}" />
61                                 {{/if}}
62                                 {{if $drop.dropping}}
63                                         <a href="item/drop/{{$id}}" onclick="return confirmDelete();" class="icon delete s16" title="{{$drop.delete}}">{{$drop.delete}}</a>
64                                 {{/if}}
65                                 {{if $edpost}}
66                                         <a class="icon edit s16" href="{{$edpost.0}}" title="{{$edpost.1}}"></a>
67                                 {{/if}}
68                         </div>
69
70                 </div>
71         </div>
72         <div class="wall-item-bottom">
73                 <div class="wall-item-links"></div>
74                 <div class="wall-item-like" id="wall-item-like-{{$id}}">{{$like nofilter}}</div>
75                 <div class="wall-item-dislike" id="wall-item-dislike-{{$id}}">{{$dislike nofilter}}</div>
76         </div>
77 </div>