From: Friendika Date: Fri, 11 Nov 2011 04:14:00 +0000 (-0800) Subject: buglink - first commit X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9d42d6a7aac3b72cace8f450bfa795b401c145de;p=friendica-addons.git buglink - first commit --- diff --git a/buglink.tgz b/buglink.tgz new file mode 100644 index 00000000..9d27ee62 Binary files /dev/null and b/buglink.tgz differ diff --git a/buglink/bug-x.gif b/buglink/bug-x.gif new file mode 100644 index 00000000..10936caa Binary files /dev/null and b/buglink/bug-x.gif differ diff --git a/buglink/buglink.php b/buglink/buglink.php new file mode 100644 index 00000000..8091f2f6 --- /dev/null +++ b/buglink/buglink.php @@ -0,0 +1,21 @@ + + */ + + +function buglink_install() { + register_hook('page_end', 'addon/buglink/buglink.php', 'buglink_active'); +} + +function piwik_uninstall() { + unregister_hook('page_end', 'addon/buglink/buglink.php', 'buglink_active'); +} + + +function buglink_active(&$a,&$b) { + $b .= '
' . t('Report Bug') . '
'; +} \ No newline at end of file