IndieWebCamp Demo state
[tt-rss-micropub.git] / commentform.phtml
1 <div class="form">
2  <h2>Reply to this post</h2>
3  <form method="post" action="backend.php">
4   <input type="hidden" name="op" value="pluginhandler"/>
5   <input type="hidden" name="plugin" value="micropub"/>
6   <input type="hidden" name="method" value="action"/>
7   <input type="hidden" name="mode"   value="post"/>
8
9   <input type="hidden" name="replyTo" value="<?= htmlspecialchars($article['link']) ?>"/>
10   <label for="micropub-me">Identity:</label>
11   <select id="micropub-me" name="me" size="1">
12    <?php foreach ($accounts as $url) { ?>
13     <option value="<?= htmlspecialchars($url) ?>"><?= htmlspecialchars($url) ?></option>
14    <?php } ?>
15   </select><br/>
16   <textarea name="content" rows="4" cols="60"></textarea><br/>
17   <button type="submit">Post comment</button>
18  </form>
19 </div>
20
21 <div class="reply" style="text-align: right">
22  or 
23  <a href="<?= htmlspecialchars($quillUrl) ?>" class="mpbutton dijitButton" target="_blank">
24   Reply with Quill
25  </a>
26 </div>