Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
4.9 KiB

10 years ago
10 years ago
  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. </div>
  25. </div>
  26. <div class="wall-item-actions-author">
  27. <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>
  28. $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>
  29. $item.vwall <span class="wall-item-ago">- &nbsp;
  30. {{ 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 }}
  31. {{ if $item.lock }} - <span class="fakelink" style="color: #999" onclick="lockview(event,$item.id);">$item.lock</span> {{ endif }}
  32. </span>
  33. </div>
  34. <div class="wall-item-content">
  35. {{ if $item.title }}<h2><a href="$item.plink.href">$item.title</a></h2>{{ endif }}
  36. $item.body
  37. </div>
  38. </div>
  39. <div class="wall-item-bottom">
  40. <div class="wall-item-links">
  41. </div>
  42. <div class="wall-item-tags">
  43. {{ for $item.tags as $tag }}
  44. <span class='tag'>$tag</span>
  45. {{ endfor }}
  46. </div>
  47. </div>
  48. <div class="wall-item-bottom">
  49. <div class="">
  50. </div>
  51. <div class="wall-item-actions">
  52. <div class="wall-item-actions-social">
  53. {{ if $item.vote }}
  54. <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>
  55. <a href="#" id="dislike-$item.id" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
  56. {{ endif }}
  57. {{ if $item.vote.share }}
  58. <a href="#" id="share-$item.id" class="icon recycle" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>
  59. {{ endif }}
  60. {{ if $item.star }}
  61. <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle">
  62. <img src="images/star_dummy.png" class="icon star" alt="$item.star.do" /> </a>
  63. <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
  64. {{ endif }}
  65. {{ if $item.filer }}
  66. <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item icon file-as" title="$item.star.filer"></a>
  67. {{ endif }}
  68. {{ if $item.plink }}<a class="icon link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}
  69. </div>
  70. <div class="wall-item-actions-tools">
  71. {{ if $item.drop.dropping }}
  72. <input type="checkbox" title="$item.drop.select" name="itemselected[]" class="item-select" value="$item.id" />
  73. <a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drop" title="$item.drop.delete">$item.drop.delete</a>
  74. {{ endif }}
  75. {{ if $item.edpost }}
  76. <a class="icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
  77. {{ endif }}
  78. </div>
  79. <div class="wall-item-location">$item.location&nbsp;</div>
  80. </div>
  81. </div>
  82. <div class="wall-item-bottom">
  83. <div class="wall-item-links"></div>
  84. <div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
  85. <div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
  86. </div>
  87. </div>
  88. <div class="wall-item-comment-wrapper" >
  89. $item.comment
  90. </div>