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