]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/wall_thread.tpl
4d454f00db78465f34d2200d54938ac920ebc29b
[friendica.git] / view / theme / quattro / wall_thread.tpl
1 {{if $mode == display}}
2 {{ else }}
3 {{if $item.comment_firstcollapsed}}
4         <div class="hide-comments-outer">
5         <span id="hide-comments-total-$item.id" class="hide-comments-total">$item.num_comments</span> <span id="hide-comments-$item.id" class="hide-comments fakelink" onclick="showHideComments($item.id);">$item.hide_text</span>
6         </div>
7         <div id="collapsed-comments-$item.id" class="collapsed-comments" style="display: none;">
8 {{endif}}
9 {{ endif }}
10
11
12 <div class="wall-item-decor">
13         <span class="icon s22 star $item.isstarred" id="starred-$item.id" title="$item.star.starred">$item.star.starred</span>
14         {{ if $item.lock }}<span class="icon s22 lock fakelink" onclick="lockview(event,$item.id);" title="$item.lock">$item.lock</span>{{ endif }}     
15         <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
16 </div>
17
18 <div class="wall-item-container $item.indent" id="item-$item.id">
19         <div class="wall-item-item">
20                 <div class="wall-item-info">
21                         <div class="contact-photo-wrapper"
22                                 onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" 
23                                 onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
24                                 <a href="$item.profile_url" target="redir" title="$item.linktitle" class="contact-photo-link" id="wall-item-photo-link-$item.id">
25                                         <img src="$item.thumb" class="contact-photo$item.sparkle" id="wall-item-photo-$item.id" alt="$item.name" />
26                                 </a>
27                                 <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>
28                                 <ul class="contact-menu menu-popup" id="wall-item-photo-menu-$item.id">
29                                 $item.item_photo_menu
30                                 </ul>
31                                 
32                         </div>
33                         <div class="wall-item-location">$item.location</div>    
34                 </div>
35                 <div class="wall-item-content">
36                         {{ if $item.title }}<h2><a href="$item.plink.href" class="$item.sparkle">$item.title</a></h2>{{ endif }}
37                         $item.body
38                 </div>
39         </div>
40         <div class="wall-item-bottom">
41                 <div class="wall-item-links">
42                 </div>
43                 <div class="wall-item-tags">
44                         {{ for $item.tags as $tag }}
45                                 <span class='tag'>$tag</span>
46                         {{ endfor }}
47                 </div>
48         </div>
49         <div class="wall-item-bottom">
50                 <div class="">
51                         {{ if $item.plink }}<a class="icon s16 link$item.sparkle" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}
52                 </div>
53                 <div class="wall-item-actions">
54                         <div class="wall-item-actions-author">
55                                 <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> <span class="wall-item-ago">$item.ago</span>
56                         </div>
57                         
58                         <div class="wall-item-actions-social">
59                         {{ if $item.star }}
60                                 <a href="#" id="star-$item.id" onclick="dostar($item.id); return false;"  class="$item.star.classdo"  title="$item.star.do">$item.star.do</a>
61                                 <a href="#" id="unstar-$item.id" onclick="dostar($item.id); return false;"  class="$item.star.classundo"  title="$item.star.undo">$item.star.undo</a>
62                                 <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="$item.star.classtagger" title="$item.star.tagger">$item.star.tagger</a>
63                         {{ endif }}
64                         {{ if $item.filer }}
65                                 <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer">$item.filer</a>
66                         {{ endif }}                     
67                         
68                         {{ if $item.vote }}
69                                 <a href="#" id="like-$item.id" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false">$item.vote.like.1</a>
70                                 <a href="#" id="dislike-$item.id" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false">$item.vote.dislike.1</a>
71                         {{ endif }}
72                                                 
73                         {{ if $item.vote.share }}
74                                 <a href="#" id="share-$item.id" title="$item.vote.share.0" onclick="jotShare($item.id); return false">$item.vote.share.1</a>
75                         {{ endif }}                     
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 delete s16" title="$item.drop.delete">$item.drop.delete</a>
83                                 {{ endif }}
84                                 {{ if $item.edpost }}
85                                         <a class="icon edit s16" href="$item.edpost.0" title="$item.edpost.1"></a>
86                                 {{ endif }}
87                         </div>
88                         
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         {{ if $item.threaded }}{{ if $item.comment }}
97         <div class="wall-item-bottom">
98                 <div class="wall-item-links"></div>
99                 <div class="wall-item-comment-wrapper">
100                                         $item.comment
101                 </div>
102         </div>
103         {{ endif }}{{ endif }}
104
105 </div>
106
107
108 {{ for $item.children as $item }}
109         <div class="children">
110                 {{ if $item.type == tag }}
111                         {{ inc wall_item_tag.tpl }}{{ endinc }}
112                 {{ else }}
113                         {{ inc $item.template }}{{ endinc }}
114                 {{ endif }}
115         </div>
116 {{ endfor }}
117
118 {{if $mode == display}}
119 {{ else }}
120 {{if $item.comment_lastcollapsed}}</div>{{endif}}
121 {{ endif }}
122
123 {{ if $item.flatten }}
124 <div class="wall-item-comment-wrapper" >
125         $item.comment
126 </div>
127 {{ endif }}