|
|
@ -110,9 +110,9 @@ |
|
|
|
<label for="note_syndicate-to"><a href="javascript:reload_syndications()">Reload</a></label></td> |
|
|
|
<td id="syndication-container"> |
|
|
|
<?php |
|
|
|
if($this->user->syndication_targets) { |
|
|
|
if($this->syndication_targets) { |
|
|
|
echo '<ul>'; |
|
|
|
foreach($this->user->syndication_targets as $syn) { |
|
|
|
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"> ' : '') |
|
|
|