Add .editorconfig
[tt-rss-micropub.git] / settings.phtml
1 <div dojoType="dijit.layout.AccordionPane" title="Micropub">
2  <div>
3   <h2>Registered identities</h2>
4   <table width="100%">
5    <thead>
6     <tr class="title">
7      <td width="5%">Default</td>
8      <td>Identity URL</td>
9     </tr>
10    </thead>
11    <tbody>
12     <?php foreach ($accounts as $accurl => $account) { ?>
13      <tr>
14       <td align='center'>
15        <input disabled='1' dojoType="dijit.form.CheckBox" type="checkbox"/>
16       </td>
17       <td>
18        <a href="<?= htmlspecialchars($accurl) ?>"><?= htmlspecialchars($accurl) ?></a>
19       </td>
20      </tr>
21     <?php } ?>
22    </tbody>
23   </table>
24  </div>
25
26  <div>
27   <h2>Add new identity</h2>
28   <form method="post" action="backend.php">
29    <input type="hidden" name="op" value="pluginhandler"/>
30    <input type="hidden" name="plugin" value="micropub"/>
31    <input type="hidden" name="method" value="action"/>
32    <input type="hidden" name="mode"   value="authorize"/>
33
34    <input name="url" type="url" size="40" dojoType="dijit.form.TextBox" required="1"/>
35    <button type="submit">Authorize</button>
36   </form>
37  </div>
38 </div>