]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/wallwall_item.tpl
Merge https://github.com/friendica/friendica into pull
[friendica.git] / view / theme / diabook / wallwall_item.tpl
1 {{ if $item.indent }}{{ else }}
2 <div class="wall-item-decor">
3         <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
4 </div>
5 {{ endif }}
6 <div class="wall-item-container $item.indent">
7         <div class="wall-item-item">
8                 <div class="wall-item-info">
9                         <div class="contact-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
10                                 <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="contact-photo-link" id="wall-item-ownerphoto-link-$item.id">
11                                         <img src="$item.owner_photo" class="contact-photo $item.osparkle" id="wall-item-ownerphoto-$item.id" alt="$item.owner_name" />
12                                 </a>
13                         </div>
14                         <div class="contact-photo-wrapper mframe wwfrom"
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="contact-photo-link" id="wall-item-photo-link-$item.id">
18                                         <img src="$item.thumb" class="contact-photo$item.sparkle" id="wall-item-photo-$item.id" alt="$item.name" />
19                                 </a>
20                                 <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>
21                                 <ul class="contact-menu menu-popup" id="wall-item-photo-menu-$item.id">
22                                 $item.item_photo_menu
23                                 </ul>
24                                 
25                         </div>
26                 </div>
27                         <div class="wall-item-actions-author">
28                                 <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>
29                                 $item.to <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a>
30                                  $item.vwall <span class="wall-item-ago">- &nbsp;
31                         {{ 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 }}
32                         {{ if $item.lock }} - <span class="fakelink" style="color: #999" onclick="lockview(event,$item.id);">$item.lock</span> {{ endif }}
33                         </span>
34                         </div>
35                 <div class="wall-item-content">
36                         {{ if $item.title }}<h2><a href="$item.plink.href">$item.title</a></h2>{{ endif }}
37                         $item.body
38                 </div>
39         </div>
40         <div class="wall-item-bottom">
41                 <div class="wall-item-links">
42                 </div>
43                 <div class="wall-item-tags">
44                         {{ for $item.tags as $tag }}
45                                 <span class='tag'>$tag</span>
46                         {{ endfor }}
47                 </div>
48         </div>
49         <div class="wall-item-bottom">
50                 <div class="">
51
52                 </div>
53                 <div class="wall-item-actions">
54
55                         <div class="wall-item-actions-social">
56                         
57                         
58                         {{ if $item.vote }}
59                                 <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>
60                                 <a href="#" id="dislike-$item.id" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
61                         {{ endif }}
62                                                 
63                         {{ if $item.vote.share }}
64                                 <a href="#" id="share-$item.id" class="icon recycle" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>
65                         {{ endif }}     
66
67
68                         {{ if $item.star }}
69                                 <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle">
70                                 <img src="images/star_dummy.png" class="icon star" alt="$item.star.do" /> </a>
71                                 <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
72                         {{ endif }}     
73                         
74                         {{ if $item.filer }}
75                         <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item icon file-as" title="$item.star.filer"></a>
76                         {{ endif }}     
77                         
78                         {{ if $item.plink }}<a class="icon link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}
79                         
80                                         
81                                         
82                         </div>
83                         
84                         <div class="wall-item-actions-tools">
85
86                                 {{ if $item.drop.dropping }}
87                                         <input type="checkbox" title="$item.drop.select" name="itemselected[]" class="item-select" value="$item.id" />
88                                         <a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drop" title="$item.drop.delete">$item.drop.delete</a>
89                                 {{ endif }}
90                                 {{ if $item.edpost }}
91                                         <a class="icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
92                                 {{ endif }}
93                         </div>
94                         <div class="wall-item-location">$item.location&nbsp;</div>
95                 </div>
96         </div>
97         <div class="wall-item-bottom">
98                 <div class="wall-item-links"></div>
99                 <div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
100                 <div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>      
101         </div>
102 </div>
103
104 <div class="wall-item-comment-wrapper" >
105         $item.comment
106 </div>