]> git.mxchange.org Git - friendica.git/blob - view/theme/smoothly/wall_thread.tpl
new file: view/theme/smoothly/search_item.tpl
[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="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                         </div>
74                 </div>
75                 <div class="wall-item-social" id="wall-item-social-$item.id">
76
77                         {{ if $item.has_folders }}
78                         <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name 
79                         <a href="$cat.removeurl" title="$remove">[$remove]</a> 
80                         {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
81                         </div>
82                         {{ endif }}
83
84                         {{ if $item.vote }}
85                         <div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
86                                 <a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
87                                 <a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
88                                 {{ if $item.vote.share }}
89                                 <a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>                             {{ endif }}
90                                 <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
91                         </div>
92                         {{ endif }}
93
94                         {{ if $item.plink }}
95                         <div class="wall-item-links-wrapper">
96                                 <a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link"></a>
97                         </div>
98                         {{ endif }}
99                  
100                         {{ if $item.star }}
101                         <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
102                         <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
103                         {{ endif }}
104         
105                 </div>
106
107                 <div class="wall-item-tools" id="wall-item-tools-$item.id">
108                         {{ if $item.edpost }}
109                         <a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
110                         {{ endif }}
111
112                         <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
113                                 {{ if $item.drop.dropping }}
114                                 <a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>
115                                 {{ endif }}
116                         </div>
117
118                         {{ if $item.drop.pagedrop }}
119                         <input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />                       {{ endif }}
120                         <div class="wall-item-delete-end"></div>
121                 </div>
122
123         </div>  
124         <div class="wall-item-wrapper-end"></div>
125         <div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
126         <div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
127
128         {{ if $item.threaded }}
129         {{ if $item.comment }}
130         <div class="wall-item-comment-wrapper $item.indent $item.shiny" >
131                 $item.comment
132         </div>
133         {{ endif }}
134         {{ endif }}
135 </div>
136
137 <div class="wall-item-outside-wrapper-end $item.indent $item.shiny" ></div>
138
139 {{ for $item.children as $item }}
140         {{ inc $item.template }}{{ endinc }}
141 {{ endfor }}
142
143 {{ if $item.flatten }}
144 <div class="wall-item-comment-wrapper" >
145         $item.comment
146 </div>
147 {{ endif }}
148 </div>
149 {{if $item.comment_lastcollapsed}}</div>{{endif}}