4 * Description: Show link to Friendica bug site at bottom of page
6 * Author: Mike Macgirvin <mike@macgirvin.com>
10 use Friendica\Core\Hook;
13 function buglink_install()
15 Hook::register('page_end', 'addon/buglink/buglink.php', 'buglink_active');
18 function buglink_uninstall()
20 Hook::unregister('page_end', 'addon/buglink/buglink.php', 'buglink_active');
23 function buglink_active(App $a, &$b)
25 $b .= '<div id="buglink_wrapper" style="position: fixed; bottom: 5px; left: 5px;"><a href="https://github.com/friendica/friendica/issues" target="_blank" rel="noopener noreferrer" title="' . DI::l10n()->t('Report Bug') . '"><img src="addon/buglink/bug-x.gif" alt="' . DI::l10n()->t('Report Bug') . '" /></a></div>';