|
|
@ -107,27 +107,6 @@ |
|
|
|
</select> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr class="form-group"> |
|
|
|
<td> |
|
|
|
<label for="note_syndicate-to"><a href="javascript:reload_syndications()">Reload</a></label></td> |
|
|
|
<td 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>'; |
|
|
|
} |
|
|
|
?>
|
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<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> |
|
|
@ -165,6 +144,5 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<script src="/editor-files/editor.js"></script> |
|
|
|
<script><?= partial('partials/syndication-js') ?></script>
|
|
|
|
</body> |
|
|
|
</html> |