]> git.mxchange.org Git - friendica.git/blob - view/theme/testbubble/wall_thread.tpl
Merge https://github.com/friendica/friendica into pull
[friendica.git] / view / theme / testbubble / 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 <div class="wall-item-outside-wrapper $item.indent $item.shiny wallwall" id="wall-item-outside-wrapper-$item.id" >
9         <div class="wall-item-content-wrapper $item.indent $item.shiny" id="wall-item-content-wrapper-$item.id" >
10                 <div class="wall-item-info{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-info-$item.id">
11                         {{ if $item.owner_url }}
12                         <div class="wall-item-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
13                                 <a href="$item.owner_url" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id">
14                                 <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>
15                         </div>
16                         <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div>
17                         {{ endif }}
18                         <div class="wall-item-photo-wrapper mframe{{ if $item.owner_url }} wwfrom{{ endif }}" id="wall-item-photo-wrapper-$item.id" 
19                                 onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')"
20                 onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
21                                 <a href="$item.profile_url" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
22                                 <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>
23                                 <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>
24                 <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
25                     <ul>
26                         $item.item_photo_menu
27                     </ul>
28                 </div>
29
30                         </div>
31                         <div class="wall-item-photo-end"></div>
32                         <div class="wall-item-location" id="wall-item-location-$item.id">{{ if $item.location }}<span class="icon globe"></span>$item.location {{ endif }}</div>
33                 </div>
34                 <div class="wall-item-lock-wrapper">
35                                 {{ 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>
36                                 {{ else }}<div class="wall-item-lock"></div>{{ endif }}
37                 </div>
38                 <div class="wall-item-content" id="wall-item-content-$item.id" >
39                         <div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
40                         <div class="wall-item-title-end"></div>
41                         <div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
42                                         <div class="body-tag">
43                                                 {{ for $item.tags as $tag }}
44                                                         <span class='tag'>$tag</span>
45                                                 {{ endfor }}
46                                         </div>
47                         </div>
48                 </div>
49                 <div class="wall-item-tools" id="wall-item-tools-$item.id">
50                         {{ if $item.vote }}
51                         <div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
52                                 <a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
53                                 <a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
54                                 {{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }}
55                                 <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
56                         </div>
57                         {{ endif }}
58                         {{ if $item.plink }}
59                                 <div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link"></a></div>
60                         {{ endif }}
61                         {{ if $item.edpost }}
62                                 <a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
63                         {{ endif }}
64                          
65                         {{ if $item.star }}
66                         <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
67                         <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
68                         {{ endif }}
69                         
70                         <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
71                                 {{ 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 }}
72                         </div>
73                                 {{ if $item.drop.pagedrop }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
74                         <div class="wall-item-delete-end"></div>
75                 </div>
76                 <div class="wall-item-author">
77                         <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>
78                         <div class="wall-item-ago"  id="wall-item-ago-$item.id">$item.ago</div>
79                 </div>  
80         </div>  
81         <div class="wall-item-wrapper-end"></div>
82         <div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
83         <div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
84         {{ if $item.threaded }}
85         {{ if $item.comment }}
86         <div class="wall-item-comment-wrapper $item.indent $item.shiny" >
87                 $item.comment
88         </div>
89         {{ endif }}
90         {{ endif }}
91 </div>
92
93 <div class="wall-item-outside-wrapper-end $item.indent $item.shiny" ></div>
94
95 {{ for $item.children as $item }}
96         {{ inc $item.template }}{{ endinc }}
97 {{ endfor }}
98
99 {{ if $item.flatten }}
100 <div class="wall-item-comment-wrapper" >
101         $item.comment
102 </div>
103 {{ endif }}
104 </div>
105 {{if $item.comment_lastcollapsed}}</div>{{endif}}