File: comment.html

package info (click to toggle)
bibledit-cloud 5.1.036-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 250,636 kB
  • sloc: xml: 915,934; ansic: 261,349; cpp: 92,628; javascript: 32,542; sh: 4,915; makefile: 586; php: 69
file content (25 lines) | stat: -rw-r--r-- 1,080 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<p><a href="index">translate("Back to chapter")</a></p>
<p>translate("Summary"): ##summary##</p>
<div>##content##</div>
<hr>
<form action="comment?id=##id##" name="form" method="post">
  <p>translate("Add a comment to this note:")</p>
  <textarea name="comment" id="comment" class="width100"></textarea>
  <p>
    <input type="submit" name="submit" value=translate("Save") onClick="this.value = 'translate ("Please wait")'; return true;" />
    <input type="submit" name="cancel" value=translate("Cancel") />
  </p>
</form>
<script src="/nicedit/nicedit.min.js?##VERSION##"></script>
<script type="text/javascript">
  area1 = new nicEditor({fullPanel : true}).panelInstance('comment',{hasPanel : true});
  document.body.addEventListener ("paste", function (event) {
    var data = event.clipboardData.getData ('Text');
    event.preventDefault();
    data = data.replace (/\n/g, "<br>");
    document.execCommand ("insertHTML", false, data);
  });
  document.addEventListener("DOMContentLoaded", function(e) {
    document.querySelector(".nicEdit-main").focus ();
  });
</script>