]> git.mxchange.org Git - friendica.git/blob - view/theme/dispy/wall_thread.tpl
basic updates for Dispy and Diabook to try to make them at least not broken with...
[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.previewing" id="wall-item-outside-wrapper-$item.id" >
10         <div class="wall-item-content-wrapper $item.indent" id="wall-item-content-wrapper-$item.id" >
11                 <div class="wall-item-info" id="wall-item-info-$item.id">
12                         <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id" 
13                                  onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" 
14                                  onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
15                                 <a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
16                                         <img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" />
17                                 </a>
18                                 <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>
19                                 <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
20                                         <ul>
21                                                 $item.item_photo_menu
22                                         </ul>
23                                 </div>
24                         </div>
25                         <div class="wall-item-photo-end"></div>
26                         <div class="wall-item-location" id="wall-item-location-$item.id">
27                                 {{ if $item.location }}<span class="icon globe"></span>$item.location {{ endif }}
28                         </div>
29                         <div class="wall-item-author">
30                                 <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>
31                         </div>
32                         <div class="wall-item-ago" id="wall-item-ago-$item.id">
33                                 $item.ago
34                         </div>
35                 </div>
36                 <div class="wall-item-tools" id="wall-item-tools-$item.id">
37                         <div class="wall-item-lock-wrapper">
38                                 {{ 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>
39                                 {{ else }}<div class="wall-item-lock"></div>{{ endif }}
40                         </div>
41                         <ul class="wall-item-subtools1">
42                                 {{ if $item.star }}
43                                 <li>
44                                         <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
45                                         <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
46                                 </li>
47                                 {{ endif }}
48                                 {{ if $item.vote }}
49                                 <li class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
50                                         <a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
51                                         <a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
52                                         {{ if $item.vote.share }}
53                                                 <a href="#" id="share-$item.id"
54                                                         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                                 </li>
57                                 {{ endif }}
58                         </ul><br style="clear:left;" />
59                         <ul class="wall-item-subtools2">
60                                 {{ if $item.filer }}
61                                 <li><a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item icon file-as" title="$item.filer"></a></li>
62                                 {{ endif }}
63                                 {{ if $item.plink }}
64                                 <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>
65                                 {{ endif }}
66                                 {{ if $item.edpost }}
67                                 <li><a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a></li>
68                                 {{ endif }}
69                                 <li class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id">
70                                 {{ if $item.drop.dropping }}<div><a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div>{{ endif }}
71                                 {{ if $item.drop.dropping }}<div><input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" /></div>{{ endif }}
72                                 </li>
73                         </ul>
74                         <div class="wall-item-delete-end"></div>
75                 </div>
76                 <div class="wall-item-content" id="wall-item-content-$item.id">
77                         <div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
78                         <div class="wall-item-title-end"></div>
79                         <div class="wall-item-body" id="wall-item-body-$item.id">
80                                 $item.body
81                                 <div class="body-tag">
82                                         {{ for $item.tags as $tag }}
83                                                 <span class='tag'>$tag</span>
84                                         {{ endfor }}
85                                 </div>
86                         </div>
87                 </div>
88         </div>
89         <div class="wall-item-wrapper-end"></div>
90         <div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
91         <div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
92         <div class="wall-item-comment-separator"></div>
93
94         {{ if $item.threaded }}
95         {{ if $item.comment }}
96         <div class="wall-item-comment-wrapper $item.indent" >
97                 $item.comment
98         </div>
99         {{ endif }}
100         {{ endif }}
101
102         {{ if $item.flatten }}
103         <div class="wall-item-comment-wrapper" >
104                 $item.comment
105         </div>
106         {{ endif }}
107
108 <div class="wall-item-outside-wrapper-end $item.indent" ></div>
109 </div>
110 {{ for $item.children as $item }}
111         {{ inc $item.template }}{{ endinc }}
112 {{ endfor }}
113
114 </div>
115 {{if $item.comment_lastcollapsed}}</div>{{endif}}