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.

43 lines
2.9 KiB

  1. <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
  2. <form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
  3. <input type="hidden" name="type" value="$type" />
  4. <input type="hidden" name="profile_uid" value="$profile_uid" />
  5. <input type="hidden" name="parent" value="$parent" />
  6. <input type="hidden" name="return" value="$return_path" />
  7. <input type="hidden" name="jsreload" value="$jsreload" />
  8. <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
  9. <div class="comment-edit-photo" id="comment-edit-photo-$id" >
  10. <a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
  11. </div>
  12. <div class="comment-edit-photo-end"></div>
  13. <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);tautogrow($id);cmtBbOpen($id);" >$comment</textarea>
  14. <div class="comment-edit-bb-$id" style="display:none;">
  15. <a class="icon bb-image" style="cursor: pointer;" title="$edimg" onclick="insertFormatting('$comment','img',$id);">img</a>
  16. <a class="icon bb-url" style="cursor: pointer;" title="$edurl" onclick="insertFormatting('$comment','url',$id);">url</a>
  17. <a class="icon bb-video" style="cursor: pointer;" title="$edvideo" onclick="insertFormatting('$comment','video',$id);">video</a>
  18. <a class="icon underline" style="cursor: pointer;" title="$eduline" onclick="insertFormatting('$comment','u',$id);">u</a>
  19. <a class="icon italic" style="cursor: pointer;" title="$editalic" onclick="insertFormatting('$comment','i',$id);">i</a>
  20. <a class="icon bold" style="cursor: pointer;" title="$edbold" onclick="insertFormatting('$comment','b',$id);">b</a>
  21. <a class="icon quote" style="cursor: pointer;" title="$edquote" onclick="insertFormatting('$comment','quote',$id);">quote</a>
  22. </div>
  23. {{ if $qcomment }}
  24. <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
  25. <option value=""></option>
  26. {{ for $qcomment as $qc }}
  27. <option value="$qc">$qc</option>
  28. {{ endfor }}
  29. </select>
  30. {{ endif }}
  31. <div class="comment-edit-text-end"></div>
  32. <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >
  33. <input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" />
  34. <span onclick="preview_comment($id);" id="comment-edit-preview-link-$id" class="fakelink">$preview</span>
  35. <div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>
  36. </div>
  37. <div class="comment-edit-end"></div>
  38. </form>
  39. </div>