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