Browse Source

fix syndication for bookmarks

pull/52/head
Aaron Parecki 9 years ago
parent
commit
29f0c9b054
  1. 7
      views/new-bookmark.php

7
views/new-bookmark.php

@ -39,7 +39,12 @@
if($this->syndication_targets) { if($this->syndication_targets) {
echo '<ul>'; echo '<ul>';
foreach($this->syndication_targets as $syn) { foreach($this->syndication_targets as $syn) {
echo '<li><button data-syndication="'.$syn['target'].'" class="btn btn-default btn-block"><img src="'.$syn['favicon'].'" width="16" height="16"> '.$syn['target'].'</button></li>';
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>'; echo '</ul>';
} else { } else {

Loading…
Cancel
Save