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.

93 lines
4.5KB

  1. {{ if $item.indent }}{{ else }}
  2. <div class="wall-item-decor">
  3. <span class="icon star $item.isstarred" id="starred-$item.id" title="$item.star.starred">$item.star.starred</span>
  4. {{ if $item.lock }}<span class="icon lock fakelink" onclick="lockview(event,$item.id);" title="$item.lock">$item.lock</span>{{ endif }}
  5. <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
  6. </div>
  7. {{ endif }}
  8. <div class="wall-item-container $item.indent">
  9. <div class="wall-item-item">
  10. <div class="wall-item-info">
  11. <div class="contact-photo-wrapper"
  12. onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')"
  13. onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
  14. <a href="$item.profile_url" target="redir" title="$item.linktitle" class="contact-photo-link" id="wall-item-photo-link-$item.id">
  15. <img src="$item.thumb" class="contact-photo$item.sparkle" id="wall-item-photo-$item.id" alt="$item.name" />
  16. </a>
  17. <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>
  18. <ul class="contact-menu menu-popup" id="wall-item-photo-menu-$item.id">
  19. $item.item_photo_menu
  20. </ul>
  21. </div>
  22. </div>
  23. <div class="wall-item-actions-author">
  24. <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>
  25. <span class="wall-item-ago">-
  26. {{ if $item.plink }}<a class="link" title="$item.plink.title" href="$item.plink.href" style="color: #999">$item.ago</a>{{ else }} $item.ago {{ endif }}
  27. {{ if $item.lock }} - <span class="fakelink" style="color: #999" onclick="lockview(event,$item.id);">$item.lock</span> {{ endif }}
  28. </span>
  29. </div>
  30. <div class="wall-item-content">
  31. {{ if $item.title }}<h2><a href="$item.plink.href">$item.title</a></h2>{{ endif }}
  32. $item.body
  33. </div>
  34. </div>
  35. <div class="wall-item-bottom">
  36. <div class="wall-item-links">
  37. </div>
  38. <div class="wall-item-tags">
  39. {{ for $item.tags as $item.tag }}
  40. <span class='tag'>$item.tag</span>
  41. {{ endfor }}
  42. </div>
  43. </div>
  44. <div class="wall-item-bottom">
  45. <div class="">
  46. {{ if $item.plink }}<a class="icon s16 link" title="$item.plink.title" href="$item.plink.href">$item.plink.title</a>{{ endif }}
  47. </div>
  48. <div class="wall-item-actions">
  49. <div class="wall-item-location">$item.location&nbsp;</div>
  50. <div class="wall-item-actions-social">
  51. {{ if $item.star }}
  52. <a href="#" id="star-$item.id" class="icon unstarred" onclick="dostar($item.id); return false;" class="$item.star.classdo" title="$item.star.do">$item.star.do</a>
  53. <a href="#" id="unstar-$item.id" class="icon star" onclick="dostar($item.id); return false;" class="$item.star.classundo" title="$item.star.undo">$item.star.undo</a>
  54. <a href="#" id="tagger-$item.id" class="icon tagged" onclick="itemTag($item.id); return false;" class="$item.star.classtagger" title="$item.star.tagger">$item.star.tagger</a>
  55. {{ endif }}
  56. {{ if $item.vote }}
  57. <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>
  58. <a href="#" id="dislike-$item.id" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
  59. {{ endif }}
  60. {{ if $item.vote.share }}
  61. <a href="#" id="share-$item.id" class="icon recycle" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>
  62. {{ endif }}
  63. </div>
  64. <div class="wall-item-actions-tools">
  65. {{ if $item.drop.dropping }}
  66. <input type="checkbox" title="$item.drop.select" name="itemselected[]" class="item-select" value="$item.id" />
  67. <a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drop" title="$item.drop.delete">$item.drop.delete</a>
  68. {{ endif }}
  69. {{ if $item.edpost }}
  70. <a class="icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
  71. {{ endif }}
  72. </div>
  73. </div>
  74. </div>
  75. <div class="wall-item-bottom">
  76. <div class="wall-item-links"></div>
  77. <div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
  78. <div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
  79. </div>
  80. </div>
  81. <div class="wall-item-comment-wrapper" >
  82. $item.comment
  83. </div>