diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-11-27 11:20:59 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-11-27 12:26:58 +0200 |
commit | 193673fa4ca986a8503dded44019f3b0eac30084 (patch) | |
tree | 441a292813ee0b009b995da8a28cbf9619f29778 /templates/editcomment.tmpl | |
parent | 0fcccd0e80382492b7346a2f13ca593577855418 (diff) | |
download | obnam.org-193673fa4ca986a8503dded44019f3b0eac30084.tar.gz |
add local copies of ikiwiki templates
Diffstat (limited to 'templates/editcomment.tmpl')
-rw-r--r-- | templates/editcomment.tmpl | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/templates/editcomment.tmpl b/templates/editcomment.tmpl new file mode 100644 index 0000000..703564e --- /dev/null +++ b/templates/editcomment.tmpl @@ -0,0 +1,43 @@ +<div class="editcomment"> +<TMPL_VAR MESSAGE> +<br /> +<TMPL_VAR FORM-START> +<TMPL_VAR FIELD-DO> +<TMPL_VAR FIELD-SID> +<TMPL_VAR FIELD-PAGE> +<TMPL_UNLESS NAME=USERNAME> +<TMPL_IF NAME=ALLOWAUTHOR> +<label for="author" class="block">Name:</label> +<TMPL_VAR NAME=FIELD-AUTHOR> (optional, or <a rel="nofollow" href="<TMPL_VAR SIGNINURL>">signin</a>) +<br/> +<label for="url" class="block">Website:</label> +<TMPL_VAR NAME=FIELD-URL> (optional) +<br /> +<label for="url" class="block">Email:</label> +<TMPL_VAR NAME=FIELD-EMAIL> <TMPL_VAR FIELD-ANONSUBSCRIBE> +<br /> +<TMPL_ELSE> +(You might want to <a rel="nofollow" href="<TMPL_VAR SIGNINURL>">Signin</a> first?) +<br /> +</TMPL_IF> +</TMPL_UNLESS> +<label for="subject" class="block">Subject:</label> +<TMPL_VAR FIELD-SUBJECT><br /> +<label for="editcontent" class="block">Comment:</label> +<TMPL_VAR FIELD-EDITCONTENT><br /> +<TMPL_VAR FORM-SUBMIT> <TMPL_VAR FIELD-TYPE> <TMPL_VAR HELPONFORMATTINGLINK> +<TMPL_VAR FIELD-SUBSCRIBE><br /> +<TMPL_VAR NAME="FORM-END"> +<TMPL_VAR WMD_PREVIEW> + +<TMPL_IF NAME="PAGE_PREVIEW"> +<hr /> +<div class="header"> +<span>Comment preview:</span> +</div><!-- .header --> +<div id="preview"> +<TMPL_VAR PAGE_PREVIEW> +</div><!-- #preview --> +</TMPL_IF> + +</div><!-- .editcomment --> |