]> git.mxchange.org Git - friendica.git/blob - view/wall_thread.tpl
56e21bb828dd3c99edc185399c1521c0e7ce0f28
[friendica.git] / view / wall_thread.tpl
1 <div id="tread-wrapper-$item.id" class="tread-wrapper">
2                 {{if $item.comment_firstcollapsed}}
3                         <div class="hide-comments-outer">
4                         <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>
5                         </div>
6                         <div id="collapsed-comments-$item.id" class="collapsed-comments" style="display: none;">
7                 {{endif}}
8                 {{if $item.comment_lastcollapsed}}</div>{{endif}}
9
10 <a name="$item.id" ></a>
11 <div class="wall-item-outside-wrapper $item.indent$item.previewing" id="wall-item-outside-wrapper-$item.id" >
12         <div class="wall-item-content-wrapper $item.indent" id="wall-item-content-wrapper-$item.id" >
13                 <div class="wall-item-info" id="wall-item-info-$item.id">
14                         <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id" 
15                                  onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" 
16                                  onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
17                                 <a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
18                                         <img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" />
19                                 </a>
20                                 <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>
21                                 <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
22                                         <ul>
23                                                 $item.item_photo_menu
24                                         </ul>
25                                 </div>
26                         </div>
27                         <div class="wall-item-photo-end"></div>
28                         <div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
29                                 {{ 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>
30                                 {{ else }}<div class="wall-item-lock"></div>{{ endif }} 
31                                 <div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>                           
32                         </div>
33                 </div>
34                 <div class="wall-item-author">
35                                 <a href="$item.profile_url" target="redir" 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>
36                                 <div class="wall-item-ago" id="wall-item-ago-$item.id" >$item.ago</div>
37                                 
38                 </div>  
39                 <div class="wall-item-content" id="wall-item-content-$item.id" >
40                         <div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
41                         <div class="wall-item-title-end"></div>
42                         <div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
43                                         <div class="body-tag">
44                                                 {{ for $item.tags as $tag }}
45                                                         <span class='tag'>$tag</span>
46                                                 {{ endfor }}
47                                         </div>
48                         </div>
49                 </div>
50                 <div class="wall-item-tools" id="wall-item-tools-$item.id">
51                         {{ if $item.vote }}
52                         <div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
53                                 <a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
54                                 <a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
55                                 {{ 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 }}
56                                 <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
57                         </div>
58                         {{ endif }}
59                         {{ if $item.plink }}
60                                 <div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link$item.sparkle"></a></div>
61                         {{ endif }}
62                         {{ if $item.edpost }}
63                                 <a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
64                         {{ endif }}
65                          
66                         {{ if $item.star }}
67                         <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
68                         <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
69                         {{ endif }}
70                         {{ if $item.filer }}
71                         <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
72                         {{ endif }}                     
73                         <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
74                                 {{ 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 }}
75                         </div>
76                                 {{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
77                         <div class="wall-item-delete-end"></div>
78                 </div>
79         </div>
80         <div class="wall-item-wrapper-end"></div>
81         <div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
82         <div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
83         <div class="wall-item-comment-wrapper" >
84         $item.comment
85         </div>
86 <div class="wall-item-outside-wrapper-end$item.indent" ></div>
87 </div>
88 {{ for $item.children as $item }}
89         {{ inc $item.template }}{{ endinc }}
90 {{ endfor }}
91 </div>