|
|
@ -85,25 +85,6 @@ |
|
|
|
<td>Slug:</td> |
|
|
|
<td><input type="text" class="form-field-small" id="post-slug"></td> |
|
|
|
</tr> |
|
|
|
<?php if($this->syndication_targets): ?>
|
|
|
|
<tr id="syndication-targets" class="form-group" style="margin-top: 1em;"> |
|
|
|
<td><label for="note_syndicate-to">Syndicate</label></td> |
|
|
|
<td id="syndication-container"> |
|
|
|
<?php |
|
|
|
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> |
|
|
|
<?php endif ?>
|
|
|
|
<tr> |
|
|
|
<td>Status:</td> |
|
|
|
<td> |
|
|
|