]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/smcvpostcomment_embed.tmpl
Add initial version of a postcomment plugin (temporarily namespaced as smcvpostcomment)
[ikiwiki.git] / templates / smcvpostcomment_embed.tmpl
diff --git a/templates/smcvpostcomment_embed.tmpl b/templates/smcvpostcomment_embed.tmpl
new file mode 100644 (file)
index 0000000..2db055d
--- /dev/null
@@ -0,0 +1,11 @@
+<form action="<TMPL_VAR CGIURL>" method="get">
+<div class="smcvpostcommentembed">
+<input type="hidden" name="do" value="smcvpostcomment" />
+<input type="hidden" name="page" value="<TMPL_VAR PAGE>" />
+<input type="submit" name="submit" value="Post a comment"
+  <TMPL_IF NAME=DISABLED>disabled="disabled"</TMPL_IF> />
+<TMPL_IF NAME=DISABLED>
+<label for="submit">(<TMPL_VAR NAME=DISABLED>)</label>
+</TMPL_IF>
+</div>
+</form>