Mirror of Quill
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.1 KiB

  1. <div class="narrow">
  2. <?= partial('partials/header') ?>
  3. <div class="jumbotron" style="margin-top: 20px;">
  4. <p>
  5. Send email or MMS to<br>
  6. <a href="mailto:<?= $this->user->email_username . '@' . Config::$hostname ?>"><?= $this->user->email_username . '@' . Config::$hostname ?></a>
  7. </p>
  8. </div>
  9. <div style="width: 80%; margin: 0 auto;">
  10. <h3>Email Subject</h3>
  11. <p>If you add a subject line to your email, it will be sent as the "name" property which indicates to your Micropub endpoint that this is a blog post.</p>
  12. <h3>Email and MMS body</h3>
  13. <p>The text of your email or MMS will be send as the "content" property, which is the main contents of your post. Plaintext only for now.</p>
  14. <h3>Photo</h3>
  15. <p>If you attach a photo to your email or MMS, it will be sent to your Micropub endpoint. (Only one photo is currently supported.)</p>
  16. </div>
  17. <div>
  18. <?php if($this->test_response): ?>
  19. <h4>Last response from your Micropub endpoint</h4>
  20. <pre id="test_response" style="width: 100%; min-height: 280px;"><?= htmlspecialchars($this->test_response) ?></pre>
  21. <?php endif; ?>
  22. </div>
  23. </div>