|
@ -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 { |
|
|