]> git.mxchange.org Git - friendica.git/blob - view/theme/smoothly/wall_thread.tpl
Merge remote branch 'upstream/master'
[friendica.git] / view / theme / smoothly / wall_thread.tpl
1 {{if $item.comment_firstcollapsed}}
2         <div class="hide-comments-outer">
3         <span id="hide-comments-total-$item.id" class="hide-comments-total">$item.num_comments</span>
4         <span id="hide-comments-$item.id" class="hide-comments fakelink" onclick="showHideComments($item.id);">$item.hide_text</span>
5         </div>
6         <div id="collapsed-comments-$item.id" class="collapsed-comments" style="display: none;">
7 {{endif}}
8
9 <div id="tread-wrapper-$item.id" class="tread-wrapper $item.toplevel">
10 <div class="wall-item-outside-wrapper $item.indent" id="wall-item-outside-wrapper-$item.id" >
11         <div class="wall-item-content-wrapper $item.indent" id="wall-item-content-wrapper-$item.id" >
12                 <div class="wall-item-info" id="wall-item-info-$item.id">
13                         <div class="wall-item-photo-wrapper mframe" id="wall-item-photo-wrapper-$item.id" 
14                         onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" 
15                         onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
16                         <a href="$item.profile_url" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
17                         <img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" />
18                         </a>
19                         <span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
20                                 <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
21                                         <ul>
22                                         $item.item_photo_menu
23                                         </ul>
24                                 </div>
25                         </div>
26                         <div class="wall-item-photo-end"></div>
27                         <div class="wall-item-location" id="wall-item-location-$item.id">
28                                 {{ if $item.location }}
29                                 <span class="icon globe"></span>$item.location 
30                                 {{ endif }}
31                         </div>                          
32                 </div>
33
34                 <div class="wall-item-lock-wrapper">
35                         {{ if $item.lock }}
36                         <div class="wall-item-lock">
37                         <img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" />
38                         </div>          
39                         {{ else }}
40                         <div class="wall-item-lock"></div>
41                         {{ endif }}
42                 </div>
43                 <div class="wall-item-content" id="wall-item-content-$item.id" >
44
45                 <div class="wall-item-author">
46                         <a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link">
47                         <span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span>
48                         </a>
49                         <div class="wall-item-ago">&bull;</div>
50                         <div class="wall-item-ago" id="wall-item-ago-$item.id" title="$item.localtime">$item.ago</div>
51                 </div>  
52
53                 <div>
54                 <hr class="line-dots">
55                 </div>
56
57                         <div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
58                         <div class="wall-item-title-end"></div>
59                         <div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
60                                 <div class="body-tag">
61                                         {{ for $item.tags as $tag }}
62                                         <span class='tag'>$tag</span>
63                                         {{ endfor }}
64                                 </div>
65
66                                 {{ if $item.has_cats }}
67                                 <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name 
68                                 <a href="$cat.removeurl" title="$remove">[$remove]</a> 
69                                 {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
70                                 </div>
71                                 {{ endif }}
72
73                                 {{ if $item.has_folders }}
74                                 <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name 
75                                 <a href="$cat.removeurl" title="$remove">[$remove]</a> 
76                                 {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
77                                 </div>
78                                 {{ endif }}
79                         </div>
80                 </div>
81 <!--
82                 <div>
83                 <hr class="line-dots">
84                 </div>
85 -->
86                 <div class="wall-item-social" id="wall-item-social-$item.id">
87                         {{ if $item.vote }}
88                         <div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
89                                 <a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
90                                 <a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
91                                 {{ if $item.vote.share }}
92                                 <a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>                             {{ endif }}
93                                 <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
94                         </div>
95                         {{ endif }}
96
97                         {{ if $item.plink }}
98                                 <div class="wall-item-links-wrapper">
99                                 <a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link"></a>
100                                 </div>
101                         {{ endif }}
102                         {{ if $item.star }}
103                         <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
104                         <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
105                         {{ endif }}
106                         
107                 </div>
108
109                 <div class="wall-item-tools" id="wall-item-tools-$item.id">
110                         {{ if $item.edpost }}
111                         <a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
112                         {{ endif }}
113
114                         <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
115                                 {{ if $item.drop.dropping }}
116                                 <a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>
117                                 {{ endif }}
118                         </div>
119                                 
120                         {{ if $item.drop.dropping }}
121                         <input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />                       {{ endif }}
122
123                         <div class="wall-item-delete-end"></div>
124                 </div>
125         </div>
126         <div class="wall-item-wrapper-end"></div>
127         <div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
128         <div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
129         {{ if $item.threaded }}
130         {{ if $item.comment }}
131         <div class="wall-item-comment-wrapper $item.indent" >
132                 $item.comment
133         </div>
134         {{ endif }}
135         {{ endif }}
136 </div>
137
138 <div class="wall-item-outside-wrapper-end $item.indent" ></div>
139
140 {{ for $item.children as $item }}
141         {{ inc $item.template }}{{ endinc }}
142 {{ endfor }}
143
144 {{ if $item.flatten }}
145 <div class="wall-item-comment-wrapper" >
146         $item.comment
147 </div>
148 {{ endif }}
149 </div>
150 {{if $item.comment_lastcollapsed}}</div>{{endif}}