]> git.mxchange.org Git - friendica.git/blob - view/wallwall_item.tpl
Merge pull request #15 from fabrixxm/master
[friendica.git] / view / wallwall_item.tpl
1 {{ if $indent }}{{ else }}
2 <div class="wall-item-decor">
3         <span class="icon s22 star $isstarred" id="starred-$id" title="$star.starred">$star.starred</span>
4         {{ if $lock }}<span class="icon s22 lock fakelink" onclick="lockview(event,$id);" title="$lock">$lock</span>{{ endif }} 
5         <img id="like-rotator-$id" class="like-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
6 </div>
7 {{ endif }}
8 <div class="wall-item-container $indent">
9         <div class="wall-item-item">
10                 <div class="wall-item-info">
11                         <div class="wall-item-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-$id" >
12                                 <a href="$owner_url" target="redir" title="$olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$id">
13                                         <img src="$owner_photo" class="wall-item-photo$osparkle" id="wall-item-ownerphoto-$id" alt="$owner_name" />
14                                 </a>
15                         </div>
16                         <div class="wall-item-photo-wrapper mframe wwfrom"
17                                 onmouseover="if (typeof t$id != 'undefined') clearTimeout(t$id); openMenu('wall-item-photo-menu-button-$id')" 
18                                 onmouseout="t$id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$id\'); closeMenu(\'wall-item-photo-menu-$id\');',200)">
19                                 <a href="$profile_url" target="redir" title="$linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$id">
20                                         <img src="$thumb" class="wall-item-photo$sparkle" id="wall-item-photo-$id" alt="$name" />
21                                 </a>
22                                 <a href="#" rel="#wall-item-photo-menu-$id" class="fakelink wall-item-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-$id">menu</a>
23                                 <ul class="wall-item-menu menu-popup" id="wall-item-photo-menu-$id">
24                                 $item_photo_menu
25                                 </ul>
26                                 
27                         </div>  
28                         <div class="wall-item-location">$location</div> 
29                 </div>
30                 <div class="wall-item-content">
31                         {{ if $title }}<h2><a href="$plink.href">$title</a></h2>{{ endif }}
32                         $body
33                 </div>
34         </div>
35         <div class="wall-item-bottom">
36                 <div class="wall-item-links">
37                         {{ if $plink }}<a class="icon s16 link" title="$plink.title" href="$plink.href">$plink.title</a>{{ endif }}
38                 </div>
39                 <div class="wall-item-actions">
40                         <div class="wall-item-actions-author">
41                                 <a href="$profile_url" target="redir" title="$linktitle" class="wall-item-name-link"><span class="wall-item-name$sparkle">$name</span></a> <span class="wall-item-ago">$ago</span>
42                                  <br/>$to <a href="$owner_url" target="redir" title="$olinktitle" class="wall-item-name-link"><span class="wall-item-name$osparkle" id="wall-item-ownername-$id">$owner_name</span></a> $vwall
43                                  
44                         </div>
45                         
46                         <div class="wall-item-actions-social">
47                         {{ if $star }}
48                                 <a href="#" id="star-$id" onclick="dostar($id); return false;"  class="$star.classdo"  title="$star.do">$star.do</a>
49                                 <a href="#" id="unstar-$id" onclick="dostar($id); return false;"  class="$star.classundo"  title="$star.undo">$star.undo</a>
50                         {{ endif }}
51                         
52                         {{ if $vote }}
53                                 <a href="#" id="like-$id" title="$vote.like.0" onclick="dolike($id,'like'); return false">$vote.like.1</a>
54                                 <a href="#" id="dislike-$id" title="$vote.dislike.0" onclick="dolike($id,'dislike'); return false">$vote.dislike.1</a>
55                         {{ endif }}
56                                                 
57                         {{ if $vote.share }}
58                                 <a href="#" id="share-$id" title="$vote.share.0" onclick="jotShare($id); return false">$vote.share.1</a>
59                         {{ endif }}                     
60                         </div>
61                         
62                         <div class="wall-item-actions-tools">
63
64                                 {{ if $drop.dropping }}
65                                         <input type="checkbox" title="$drop.select" name="itemselected[]" value="$id" />
66                                         <a href="item/drop/$id" onclick="return confirmDelete();" class="icon delete s16" title="$drop.delete">$drop.delete</a>
67                                 {{ endif }}
68                                 {{ if $edpost }}
69                                         <a class="icon edit s16" href="$edpost.0" title="$edpost.1"></a>
70                                 {{ endif }}
71                         </div>
72                         
73                 </div>
74         </div>
75 </div>
76 <div class="wall-item-comment-wrapper" >
77         $comment
78 </div>