Browse Source

turn off post-by-email

pull/135/merge
Aaron Parecki 4 years ago
parent
commit
fd758f2ce5
  1. 1
      views/dashboard.php
  2. 18
      views/email.php

1
views/dashboard.php

@ -27,7 +27,6 @@
<?php if(supports_post_type($this->user, 'review')): ?>
<li><a href="/review">⭐️</a></li>
<?php endif; ?>
<li><a href="/email">✉️</a></li>
<li><a href="/settings"></a></li>
</ul>
<div style="clear:both;"></div>

18
views/email.php

@ -1,22 +1,6 @@
<div class="narrow">
<?= partial('partials/header') ?>
<div class="jumbotron" style="margin-top: 20px;">
<p>
Send email or MMS to<br>
<a href="mailto:<?= $this->user->email_username . '@' . Config::$hostname ?>"><?= $this->user->email_username . '@' . Config::$hostname ?></a>
</p>
</div>
<div style="width: 80%; margin: 0 auto;">
<h3>Email Subject</h3>
<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>
<h3>Email and MMS body</h3>
<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>
<h3>Photo</h3>
<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>
</div>
<p>This feature is not available.</p>
</div>
Loading…
Cancel
Save