]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/wallwall_thread.tpl
cc2f8e36278db1c1c672b01ebe1ca637a6c66e5f
[friendica.git] / view / theme / quattro / wallwall_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 <div class="wall-item-decor">
12         <span class="icon s22 star $item.isstarred" id="starred-$item.id" title="$item.star.starred">$item.star.starred</span>
13         {{ if $item.lock }}<span class="icon s22 lock fakelink" onclick="lockview(event,$item.id);" title="$item.lock">$item.lock</span>{{ endif }}     
14         <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
15 </div>
16
17 <div class="wall-item-container $item.indent" id="item-$item.id">
18         <div class="wall-item-item">
19                 <div class="wall-item-info">
20                         <div class="contact-photo-wrapper mframe wwfrom"
21                                 onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" 
22                                 onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
23                                 <a href="$item.profile_url" target="redir" title="$item.linktitle" class="contact-photo-link" id="wall-item-photo-link-$item.id">
24                                         <img src="$item.thumb" class="contact-photo $item.sparkle" id="wall-item-photo-$item.id" alt="$item.name" />
25                                 </a>
26                                 <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>
27                                 <ul class="contact-menu menu-popup" id="wall-item-photo-menu-$item.id">
28                                 $item.item_photo_menu
29                                 </ul>
30                                 
31                         </div>  
32                         <div class="contact-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
33                                 <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="contact-photo-link" id="wall-item-ownerphoto-link-$item.id">
34                                         <img src="$item.owner_photo" class="contact-photo $item.osparkle" id="wall-item-ownerphoto-$item.id" alt="$item.owner_name" />
35                                 </a>
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="wall-item-links">
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                                  <br/>$item.to <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall
61                                  
62                         </div>
63                         
64                         <div class="wall-item-actions-social">
65                         {{ if $item.star }}
66                                 <a href="#" id="star-$item.id" onclick="dostar($item.id); return false;"  class="$item.star.classdo"  title="$item.star.do">$item.star.do</a>
67                                 <a href="#" id="unstar-$item.id" onclick="dostar($item.id); return false;"  class="$item.star.classundo"  title="$item.star.undo">$item.star.undo</a>
68                                 <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="$item.star.classtagger" title="$item.star.tagger">$item.star.tagger</a>
69
70                         {{ endif }}
71                         {{ if $item.filer }}
72                                 <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer">$item.filer</a>
73                         {{ endif }}                     
74                         
75                         {{ if $item.vote }}
76                                 <a href="#" id="like-$item.id" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false">$item.vote.like.1</a>
77                                 <a href="#" id="dislike-$item.id" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false">$item.vote.dislike.1</a>
78                         {{ endif }}
79                                                 
80                         {{ if $item.vote.share }}
81                                 <a href="#" id="share-$item.id" title="$item.vote.share.0" onclick="jotShare($item.id); return false">$item.vote.share.1</a>
82                         {{ endif }}                     
83                         </div>
84                         
85                         <div class="wall-item-actions-tools">
86
87                                 {{ if $item.drop.dropping }}
88                                         <input type="checkbox" title="$item.drop.select" name="itemselected[]" class="item-select" value="$item.id" />
89                                         <a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon delete s16" title="$item.drop.delete">$item.drop.delete</a>
90                                 {{ endif }}
91                                 {{ if $item.edpost }}
92                                         <a class="icon edit s16" href="$item.edpost.0" title="$item.edpost.1"></a>
93                                 {{ endif }}
94                         </div>
95                         
96                 </div>
97         </div>
98         <div class="wall-item-bottom">
99                 <div class="wall-item-links"></div>
100                 <div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
101                 <div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>      
102         </div>
103         
104         {{ if $item.threaded }}{{ if $item.comment }}
105         <div class="wall-item-bottom">
106                 <div class="wall-item-links"></div>
107                 <div class="wall-item-comment-wrapper">
108                                         $item.comment
109                 </div>
110         </div>
111         {{ endif }}{{ endif }}
112 </div>
113
114
115 {{ for $item.children as $item }}
116         <div class="children">
117                 {{ if $item.type == tag }}
118                         {{ inc wall_item_tag.tpl }}{{ endinc }}
119                 {{ else }}
120                         {{ inc $item.template }}{{ endinc }}
121                 {{ endif }}
122         </div>
123 {{ endfor }}
124
125 {{if $mode == display}}
126 {{ else }}
127 {{if $item.comment_lastcollapsed}}</div>{{endif}}
128 {{ endif }}
129
130 {{ if $item.flatten }}
131 <div class="wall-item-comment-wrapper" >
132         $item.comment
133 </div>
134 {{ endif }}