|
|
@ -95,6 +95,38 @@ |
|
|
|
<a href="/docs/post-status" class="small hidden" target="_blank" id="published-status-warning">read this first!</a> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td>Syndication:</td> |
|
|
|
<td> |
|
|
|
<select id="post-syndicate" class="form-select-small"> |
|
|
|
<option value="no">No</option> |
|
|
|
<option value="yes">Yes</option> |
|
|
|
</select> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
<label for="note_syndicate-to"><a href="javascript:reload_syndications()">Reload</a></label> |
|
|
|
<div id="syndication-container"> |
|
|
|
<?php |
|
|
|
if($this->syndication_targets) { |
|
|
|
echo '<ul>'; |
|
|
|
foreach($this->syndication_targets as $syn) { |
|
|
|
echo '<li>' |
|
|
|
. '<button data-syndicate-to="'.(isset($syn['uid']) ? htmlspecialchars($syn['uid']) : htmlspecialchars($syn['target'])).'" class="btn btn-default btn-block">' |
|
|
|
. ($syn['favicon'] ? '<img src="'.htmlspecialchars($syn['favicon']).'" width="16" height="16"> ' : '') |
|
|
|
. htmlspecialchars($syn['target']) |
|
|
|
. '</button>' |
|
|
|
. '</li>'; |
|
|
|
} |
|
|
|
echo '</ul>'; |
|
|
|
} else { |
|
|
|
?><div class="bs-callout bs-callout-warning">No syndication targets were found on your site.
|
|
|
|
Your server can provide a <a href="/docs/syndication">list of supported syndication targets</a> that will appear as buttons here.</div><?php |
|
|
|
} |
|
|
|
?>
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<tr> |
|
|
|
<td>Publish:</td> |
|
|
|
<td><input type="text" class="form-field-small" id="post-publish-date" value="now" placeholder="YYYY-MM-DD hh:mm:ss"></td> |
|
|
|