]> 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"  id="wall-item-ago-$item.id">&bull; $item.ago</div>
50                 </div>  
51
52                 <div>
53                 <hr class="line-dots">
54                 </div>
55
56                         <div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
57                         <div class="wall-item-title-end"></div>
58                         <div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
59                                         <div class="body-tag">
60                                                 {{ for $item.tags as $tag }}
61                                                         <span class='tag'>$tag</span>
62                                                 {{ endfor }}
63                                         </div>
64                         </div>
65                 </div>
66 <!--
67                 <div>
68                 <hr class="line-dots">
69                 </div>
70 -->
71                 <div class="wall-item-social" id="wall-item-social-$item.id">
72                         {{ if $item.vote }}
73                         <div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
74                                 <a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
75                                 <a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
76                                 {{ if $item.vote.share }}
77                                 <a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>                             {{ endif }}
78                                 <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
79                         </div>
80                         {{ endif }}
81
82                         {{ if $item.plink }}
83                                 <div class="wall-item-links-wrapper">
84                                 <a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link"></a>
85                                 </div>
86                         {{ endif }}
87                         {{ if $item.star }}
88                         <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
89                         <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
90                         {{ endif }}
91                         
92                 </div>
93
94                 <div class="wall-item-tools" id="wall-item-tools-$item.id">
95                         {{ if $item.edpost }}
96                         <a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
97                         {{ endif }}
98
99                         <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
100                                 {{ if $item.drop.dropping }}
101                                 <a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>
102                                 {{ endif }}
103                         </div>
104                                 
105                         {{ if $item.drop.dropping }}
106                         <input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />                       {{ endif }}
107
108                         <div class="wall-item-delete-end"></div>
109                 </div>
110         </div>
111         <div class="wall-item-wrapper-end"></div>
112         <div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
113         <div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
114         {{ if $item.threaded }}
115         {{ if $item.comment }}
116         <div class="wall-item-comment-wrapper $item.indent" >
117                 $item.comment
118         </div>
119         {{ endif }}
120         {{ endif }}
121 </div>
122
123 <div class="wall-item-outside-wrapper-end $item.indent" ></div>
124
125 {{ for $item.children as $item }}
126         {{ inc $item.template }}{{ endinc }}
127 {{ endfor }}
128
129 {{ if $item.flatten }}
130 <div class="wall-item-comment-wrapper" >
131         $item.comment
132 </div>
133 {{ endif }}
134 </div>
135 {{if $item.comment_lastcollapsed}}</div>{{endif}}