]> git.mxchange.org Git - friendica.git/blob - view/theme/smoothly/wall_thread.tpl
Merge branch 'blog-like' into quattro-fontsoptions
[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{{ if $item.owner_url }} wallwall{{ endif }}" 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{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-info-$item.id">
13                         {{ if $item.owner_url }}
14                         <div class="wall-item-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
15                                 <a href="$item.owner_url" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id">
16                                 <img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" /></a>
17                         </div>
18                         <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div>
19                         {{ endif }}
20                         <div class="wall-item-photo-wrapper mframe{{ if $item.owner_url }} wwfrom{{ endif }}" id="wall-item-photo-wrapper-$item.id" 
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" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
24                                 <img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a>
25                                 <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>
26                 <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
27                     <ul>
28                         $item.item_photo_menu
29                     </ul>
30                 </div>
31
32                         </div>
33                         <div class="wall-item-photo-end"></div>
34                         <div class="wall-item-location" id="wall-item-location-$item.id">{{ if $item.location }}<span class="icon globe"></span>$item.location {{ endif }}</div>
35                 </div>
36                 <div class="wall-item-lock-wrapper">
37                         {{ if $item.lock }}
38                         <div class="wall-item-lock">
39                         <img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" />
40                         </div>
41                         {{ else }}
42                         <div class="wall-item-lock"></div>
43                         {{ endif }}
44                 </div>
45                 <div class="wall-item-content" id="wall-item-content-$item.id" >
46                 <div class="wall-item-author">
47                         <a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link">
48                         <span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span>
49                         </a>
50                         <div class="wall-item-ago">&bull;</div>
51                         <div class="wall-item-ago" id="wall-item-ago-$item.id" title="$item.localtime">$item.ago</div>
52                 </div>  
53
54                 <div>
55                 <hr class="line-dots">
56                 </div>
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                 <div class="wall-item-social" id="wall-item-social-$item.id">
82                         {{ if $item.vote }}
83                         <div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
84                                 <a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
85                                 <a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
86                                 {{ if $item.vote.share }}
87                                 <a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>                             {{ endif }}
88                                 <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
89                         </div>
90                         {{ endif }}
91
92                         {{ if $item.plink }}
93                         <div class="wall-item-links-wrapper">
94                                 <a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link"></a>
95                         </div>
96                         {{ endif }}
97                  
98                         {{ if $item.star }}
99                         <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
100                         <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
101                         {{ endif }}
102         
103                 </div>
104
105                 <div class="wall-item-tools" id="wall-item-tools-$item.id">
106                         {{ if $item.edpost }}
107                         <a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
108                         {{ endif }}
109
110                         <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
111                                 {{ if $item.drop.dropping }}
112                                 <a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>
113                                 {{ endif }}
114                         </div>
115
116                         {{ if $item.drop.pagedrop }}
117                         <input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />                       {{ endif }}
118                         <div class="wall-item-delete-end"></div>
119                 </div>
120
121         </div>  
122         <div class="wall-item-wrapper-end"></div>
123         <div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
124         <div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
125
126         {{ if $item.threaded }}
127         {{ if $item.comment }}
128         <div class="wall-item-comment-wrapper $item.indent" >
129                 $item.comment
130         </div>
131         {{ endif }}
132         {{ endif }}
133 </div>
134
135 <div class="wall-item-outside-wrapper-end $item.indent" ></div>
136
137 {{ for $item.children as $item }}
138         {{ inc $item.template }}{{ endinc }}
139 {{ endfor }}
140
141 {{ if $item.flatten }}
142 <div class="wall-item-comment-wrapper" >
143         $item.comment
144 </div>
145 {{ endif }}
146 </div>
147 {{if $item.comment_lastcollapsed}}</div>{{endif}}