]> git.mxchange.org Git - friendica.git/blob - view/theme/smoothly/smarty3/wall_thread.tpl
add warning message about automatically generated templates
[friendica.git] / view / theme / smoothly / smarty3 / wall_thread.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}{{if $item.comment_firstcollapsed}}
6         <div class="hide-comments-outer">
7                 <span id="hide-comments-total-{{$item.id}}" class="hide-comments-total">{{$item.num_comments}}</span> 
8                 <span id="hide-comments-{{$item.id}}" class="hide-comments fakelink" onclick="showHideComments({{$item.id}});">{{$item.hide_text}}</span>
9         </div>
10         <div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;">
11 {{/if}}
12
13 <div id="tread-wrapper-{{$item.id}}" class="tread-wrapper {{$item.toplevel}}">
14 <div class="wall-item-outside-wrapper {{$item.indent}} {{$item.shiny}} wallwall" id="wall-item-outside-wrapper-{{$item.id}}" >
15 <div class="wall-item-content-wrapper {{$item.indent}} {{$item.shiny}}" id="wall-item-content-wrapper-{{$item.id}}" >
16
17                 <div class="wall-item-info{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-info-{{$item.id}}">
18                         {{if $item.owner_url}}
19                         <div class="wall-item-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
20                                 <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}">
21                                 <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>
22                         </div>
23                         <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div>
24                         {{/if}}
25                         <div class="wall-item-photo-wrapper mframe{{if $item.owner_url}} wwfrom{{/if}}" id="wall-item-photo-wrapper-{{$item.id}}" 
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}}" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}">
29                                 <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>
30                                 <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>
31                 <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">
32                     <ul>
33                         {{$item.item_photo_menu}}
34                     </ul>
35                 </div>
36
37                         </div>
38                         <div class="wall-item-photo-end"></div>
39                         <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location}}<span class="icon globe"></span>{{$item.location}} {{/if}}</div>
40                 </div>
41                 <div class="wall-item-lock-wrapper">
42                         {{if $item.lock}}
43                         <div class="wall-item-lock">
44                         <img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" />
45                         </div>
46                         {{else}}
47                         <div class="wall-item-lock"></div>
48                         {{/if}}
49                 </div>
50                 <div class="wall-item-content" id="wall-item-content-{{$item.id}}" >
51                 <div class="wall-item-author">
52                         <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link">
53                         <span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span>
54                         </a>
55                         <div class="wall-item-ago">&bull;</div>
56                         <div class="wall-item-ago" id="wall-item-ago-{{$item.id}}" title="{{$item.localtime}}">{{$item.ago}}</div>
57                 </div>  
58
59                 <div>
60                 <hr class="line-dots">
61                 </div>
62                         <div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
63                         <div class="wall-item-title-end"></div>
64                         <div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}}
65                                 <div class="body-tag">
66                                         {{foreach $item.tags as $tag}}
67                                         <span class='tag'>{{$tag}}</span>
68                                         {{/foreach}}
69                                 </div>
70
71                                 {{if $item.has_cats}}
72                                 <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} 
73                                 <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> 
74                                 {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
75                                 </div>
76                                 {{/if}}
77
78                                 {{if $item.has_folders}}
79                                 <div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} 
80                                 <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> 
81                                 {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
82                                 </div>
83                                 {{/if}}
84
85                         </div>
86                 </div>
87                 <div class="wall-item-social" id="wall-item-social-{{$item.id}}">
88
89                         {{if $item.vote}}
90                         <div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$item.id}}">
91                                 <a href="#" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a>
92                                 {{if $item.vote.dislike}}
93                                 <a href="#" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a>
94                                 {{/if}}
95                                 {{if $item.vote.share}}
96                                 <a href="#" class="icon recycle wall-item-share-buttons" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>                             {{/if}}
97                                 <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
98                         </div>
99                         {{/if}}
100
101                         {{if $item.plink}}
102                         <div class="wall-item-links-wrapper">
103                                 <a href="{{$item.plink.href}}" title="{{$item.plink.title}}" target="external-link" class="icon remote-link"></a>
104                         </div>
105                         {{/if}}
106                  
107                         {{if $item.star}}
108                         <a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item icon {{$item.isstarred}}" title="{{$item.star.toggle}}"></a>
109                         {{/if}}
110                         {{if $item.tagger}}
111                         <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="tag-item icon tagged" title="{{$item.tagger.add}}"></a>
112                         {{/if}}
113
114                         {{if $item.filer}}
115                         <a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon" title="{{$item.filer}}"></a>
116                         {{/if}}
117         
118                 </div>
119
120                 <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
121                         {{if $item.edpost}}
122                         <a class="editpost icon pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
123                         {{/if}}
124
125                         <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >
126                                 {{if $item.drop.dropping}}
127                                 <a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>
128                                 {{/if}}
129                         </div>
130
131                         {{if $item.drop.pagedrop}}
132                         <input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />
133                         {{/if}}
134
135                         <div class="wall-item-delete-end"></div>
136                 </div>
137
138         </div>  
139         <div class="wall-item-wrapper-end"></div>
140         <div class="wall-item-like" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
141         <div class="wall-item-dislike" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>
142
143         {{if $item.threaded}}
144         {{if $item.comment}}
145         <div class="wall-item-comment-wrapper {{$item.indent}} {{$item.shiny}}" >
146                 {{$item.comment}}
147         </div>
148         {{/if}}
149         {{/if}}
150 </div>
151
152 <div class="wall-item-outside-wrapper-end {{$item.indent}} {{$item.shiny}}" ></div>
153
154 {{foreach $item.children as $child}}
155         {{include file="{{$child.template}}" item=$child}}
156 {{/foreach}}
157
158 {{if $item.flatten}}
159 <div class="wall-item-comment-wrapper" >
160         {{$item.comment}}
161 </div>
162 {{/if}}
163 </div>
164 {{if $item.comment_lastcollapsed}}</div>{{/if}}