Browse Source

fix syndication for bookmarks

pull/52/head
Aaron Parecki 5 years ago
parent
commit
29f0c9b054
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      views/new-bookmark.php

+ 6
- 1
views/new-bookmark.php View File

@ -39,7 +39,12 @@
if($this->syndication_targets) {
echo '<ul>';
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>';
} else {

Loading…
Cancel
Save