4 * Description: Show link to Friendica bug site at bottom of page
6 * Author: Mike Macgirvin <mike@macgirvin.com>
8 use Friendica\Core\Addon;
9 use Friendica\Core\L10n;
11 function buglink_install()
13 Addon::registerHook('page_end', 'addon/buglink/buglink.php', 'buglink_active');
16 function buglink_uninstall()
18 Addon::unregisterHook('page_end', 'addon/buglink/buglink.php', 'buglink_active');
21 function buglink_active(&$a, &$b)
23 $b .= '<div id="buglink_wrapper" style="position: fixed; bottom: 5px; left: 5px;"><a href="https://github.com/friendica/friendica/issues" target="_blank" title="' . L10n::t('Report Bug') . '"><img src="addon/buglink/bug-x.gif" alt="' . L10n::t('Report Bug') . '" /></a></div>';