]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/templates/photo_item.tpl
Add user language in settings, use that field as language for UI
[friendica.git] / view / theme / quattro / templates / photo_item.tpl
1 <div class="wall-item-container {{$indent}}">
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 class="wall-item-location">{{$location}}</div>     
10                 </div>
11                 <div class="wall-item-content">
12                         {{if $title}}<h2><a href="{{$plink.href}}">{{$title}}</a></h2>{{/if}}
13                         {{$body}}
14                 </div>
15         </div>
16         <div class="wall-item-bottom">
17                 <div class="wall-item-links">
18                 </div>
19                 <div class="wall-item-tags">
20                         {{foreach $tags as $tag}}
21                                 <span class='tag'>{{$tag}}</span>
22                         {{/foreach}}
23                 </div>
24         </div>
25         <div class="wall-item-bottom">
26                 <div class="">
27                         {{if $plink}}<a class="icon s16 link" title="{{$plink.title}}" href="{{$plink.href}}">{{$plink.title}}</a>{{/if}}
28                 </div>
29                 <div class="wall-item-actions">
30                         <div class="wall-item-actions-author">
31                                 <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" title="{{$localtime}}">{{$ago}}</span>
32                         </div>
33                         
34                         <div class="wall-item-actions-social">
35                         {{if $star}}
36                                 <a href="#" id="star-{{$id}}" onclick="dostar({{$id}}); return false;"  class="{{$star.classdo}}"  title="{{$star.do}}">{{$star.do}}</a>
37                                 <a href="#" id="unstar-{{$id}}" onclick="dostar({{$id}}); return false;"  class="{{$star.classundo}}"  title="{{$star.undo}}">{{$star.undo}}</a>
38                                 <a href="#" id="tagger-{{$id}}" onclick="itemTag({{$id}}); return false;" class="{{$star.classtagger}}" title="{{$star.tagger}}">{{$star.tagger}}</a>
39                         {{/if}}
40                         
41                         {{if $vote}}
42                                 <a href="#" id="like-{{$id}}" title="{{$vote.like.0}}" onclick="dolike({{$id}},'like'); return false">{{$vote.like.1}}</a>
43                                 <a href="#" id="dislike-{{$id}}" title="{{$vote.dislike.0}}" onclick="dolike({{$id}},'dislike'); return false">{{$vote.dislike.1}}</a>
44                         {{/if}}
45                                                 
46                         {{if $vote.share}}
47                                 <a href="#" id="share-{{$id}}" title="{{$vote.share.0}}" onclick="jotShare({{$id}}); return false">{{$vote.share.1}}</a>
48                         {{/if}}                 
49                         </div>
50                         
51                         <div class="wall-item-actions-tools">
52
53                                 {{if $drop.pagedrop}}
54                                         <input type="checkbox" title="{{$drop.select}}" name="itemselected[]" class="item-select" value="{{$id}}" />
55                                 {{/if}}
56                                 {{if $drop.dropping}}
57                                         <a href="item/drop/{{$id}}" onclick="return confirmDelete();" class="icon delete s16" title="{{$drop.delete}}">{{$drop.delete}}</a>
58                                 {{/if}}
59                                 {{if $edpost}}
60                                         <a class="icon edit s16" href="{{$edpost.0}}" title="{{$edpost.1}}"></a>
61                                 {{/if}}
62                         </div>
63                         
64                 </div>
65         </div>
66         <div class="wall-item-bottom">
67                 <div class="wall-item-links"></div>
68                 <div class="wall-item-like" id="wall-item-like-{{$id}}">{{$like}}</div>
69                 <div class="wall-item-dislike" id="wall-item-dislike-{{$id}}">{{$dislike}}</div>
70                 {{if $conv}}
71                 <div class="wall-item-conv" id="wall-item-conv-{{$id}}" >
72                         <a href='{{$conv.href}}' id='context-{{$id}}' title='{{$conv.title}}'>{{$conv.title}}</a>
73                 </div>
74                 {{/if}}
75         </div>
76         
77         
78 </div>
79