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