diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-12-01 23:50:20 +0100 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-12-01 23:50:20 +0100 |
commit | 5fdb8d8f43e15b9581e8320153eb2e8c24cedac8 (patch) | |
tree | 05f9192f178fd698c0a62c9582b0c5d5592f6d67 /_includes/commentreplyform.html | |
parent | dodal https predlog - hostname fix (diff) | |
download | sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.tar sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.tar.gz sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.tar.bz2 sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.tar.lz sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.tar.xz sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.tar.zst sijanec.eu-5fdb8d8f43e15b9581e8320153eb2e8c24cedac8.zip |
Diffstat (limited to '_includes/commentreplyform.html')
-rw-r--r-- | _includes/commentreplyform.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/_includes/commentreplyform.html b/_includes/commentreplyform.html new file mode 100644 index 0000000..99ffaf3 --- /dev/null +++ b/_includes/commentreplyform.html @@ -0,0 +1,18 @@ +{% comment %} + argv: thisid,uid + return: html form + langstrings used: comment.taplaceholder, basic.nepodpiraiframe +{% endcomment %} +{% capture return %} + <form target=comstatus{{ argv[1] }} action=/api?m=commentreply method=POST class=commentform > + <input type=text name=vzdevek placeholder="Vzdevek pošiljatelja" /> + <input type=submit name=submit value=Objavi! /> + <textarea placeholder="{{ site.data.lang.comment.taplaceholder }}" name=message ></textarea> + {% comment %} + assign thisid = "comment|" | append: comment.author | append: "|" | append: comment.date <!-- rajši imamo xss-safe nonce !!! thisid se generira prej --> + {% endcomment %} + <input type=hidden name=parent value="{{ argv[0] | replace: '"', """ }}" /> + <input type=hidden name=is-submitter-human value=true /> + <iframe id=comstatus{{ argv[1] }}>{{ site.data.lang.basic.nepodpiraiframe }}</iframe> + </form> +{% endcapture %} |