]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/wallwall_thread.tpl
Corrected titlebar notifications in Diabook
[friendica.git] / view / theme / diabook / wallwall_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 {{ if $item.indent }}{{ else }}
9 <div class="wall-item-decor">
10         <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
11 </div>
12 {{ endif }}
13 <div class="wall-item-container $item.indent">
14         <div class="wall-item-item">
15                 <div class="wall-item-info">
16                         <div class="contact-photo-wrapper"
17                                 onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" 
18                                 onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
19                                 <a href="$item.profile_url" target="redir" title="$item.linktitle" class="contact-photo-link" id="wall-item-photo-link-$item.id">
20                                         <img src="$item.thumb" class="contact-photo$item.sparkle" id="wall-item-photo-$item.id" alt="$item.name" />
21                                 </a>
22                                 <a href="#" rel="#wall-item-photo-menu-$item.id" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-$item.id">menu</a>
23                                 <ul class="contact-menu menu-popup" id="wall-item-photo-menu-$item.id">
24                                 $item.item_photo_menu
25                                 </ul>
26                                 
27                         </div>
28                 </div>
29                         <div class="wall-item-actions-author">
30                                 <a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle">$item.name</span></a> 
31                         <span class="wall-item-ago">-
32                         {{ if $item.plink }}<a class="link$item.sparkle" title="$item.plink.title" href="$item.plink.href" style="color: #999">$item.ago</a>{{ else }} $item.ago {{ endif }}
33                         {{ if $item.lock }} - <span class="fakelink" style="color: #999" onclick="lockview(event,$item.id);">$item.lock</span> {{ endif }}
34                         </span>
35                         </div>
36                 <div class="wall-item-content">
37                         {{ if $item.title }}<h2><a href="$item.plink.href">$item.title</a></h2>{{ endif }}
38                         $item.body
39                 </div>
40         </div>
41         <div class="wall-item-bottom">
42                 <div class="wall-item-links">
43                 </div>
44                 <div class="wall-item-tags">
45                         {{ for $item.tags as $tag }}
46                                 <span class='tag'>$tag</span>
47                         {{ endfor }}
48                 </div>
49         </div>
50         <div class="wall-item-bottom">
51                 <div class="">
52
53                 </div>
54                 <div class="wall-item-actions">
55
56                         <div class="wall-item-actions-social">
57                         
58                         
59                         {{ if $item.vote }}
60                                 <a href="#" id="like-$item.id" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false">$item.vote.like.1</a>
61                                 <a href="#" id="dislike-$item.id" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
62                         {{ endif }}
63                                                 
64                         {{ if $item.vote.share }}
65                                 <a href="#" id="share-$item.id" class="icon recycle" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>
66                         {{ endif }}     
67
68
69                         {{ if $item.star }}
70                                 <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle">
71                                 <img src="images/star_dummy.png" class="icon star" alt="$item.star.do" /> </a>
72                                 <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>                                   
73                         {{ endif }}     
74                         
75                         {{ if $item.filer }}
76                         <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item icon file-as" title="$item.star.filer"></a>
77                         {{ endif }}                             
78                         
79                         {{ if $item.plink }}<a class="icon link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}
80                         
81                                         
82                                         
83                         </div>
84                         
85                         <div class="wall-item-actions-tools">
86
87                                 {{ if $item.drop.dropping }}
88                                         <input type="checkbox" title="$item.drop.select" name="itemselected[]" class="item-select" value="$item.id" />
89                                         <a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drop" title="$item.drop.delete">$item.drop.delete</a>
90                                 {{ endif }}
91                                 {{ if $item.edpost }}
92                                         <a class="icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
93                                 {{ endif }}
94                         </div>
95                         <div class="wall-item-location">$item.location&nbsp;</div>
96                 </div>
97         </div>
98         <div class="wall-item-bottom">
99                 <div class="wall-item-links"></div>
100                 <div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
101                 <div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>      
102         </div>
103 </div>
104
105 {{ if $item.threaded }}
106 {{ if $item.comment }}
107 <div class="wall-item-comment-wrapper $item.indent" >
108         $item.comment
109 </div>
110 {{ endif }}
111 {{ endif }}
112
113 {{ if $item.flatten }}
114 <div class="wall-item-comment-wrapper" >
115         $item.comment
116 </div>
117 {{ endif }}
118
119
120 {{ for $item.children as $item }}
121         {{ inc $item.template }}{{ endinc }}
122 {{ endfor }}
123
124 </div>
125 {{if $item.comment_lastcollapsed}}</div>{{endif}}