Merge pull request #255 from annando/1502-pledgie-deactivated

Pledgie isn't active anymore, so this addon is deactivated
pull/257/head
Tobias Diekershoff 2015-04-06 14:31:11 +02:00
commit 0f430ccb42
1 changed files with 4 additions and 3 deletions

View File

@ -4,13 +4,14 @@
* * Description: Show link to Friendica pledgie account for donating * * Description: Show link to Friendica pledgie account for donating
* * Version: 1.0 * * Version: 1.0
* * Author: tony baldwin <tony@free-haven.org> * * Author: tony baldwin <tony@free-haven.org>
* Status: Unsupported
* */ * */
function pledgie_install() { register_hook('page_end', 'addon/pledgie/pledgie.php', 'pledgie_active'); } function pledgie_install() { register_hook('page_end', 'addon/pledgie/pledgie.php', 'pledgie_active'); }
function pledgie_uninstall() { unregister_hook('page_end', 'addon/pledgie/pledgie.php', 'pledgie_active'); } function pledgie_uninstall() { unregister_hook('page_end', 'addon/pledgie/pledgie.php', 'pledgie_active'); }
function pledgie_active(&$a,&$b) { $b .= '<div style="position: fixed; bottom: 5px; left: 60px;"><a href=\'http://www.pledgie.com/campaigns/18417\'><img alt=\'Click here to lend your support to: Beyond Social Networking and make a donation at www.pledgie.com !\' src=\'http://www.pledgie.com/campaigns/18417.png?skin_name=chrome\' border=\'0\' target=\'_blank\' /></a></div>'; } function pledgie_active(&$a,&$b) {
//$b .= '<div style="position: fixed; bottom: 5px; left: 60px;"><a href=\'http://www.pledgie.com/campaigns/18417\'><img alt=\'Click here to lend your support to: Beyond Social Networking and make a donation at www.pledgie.com !\' src=\'http://www.pledgie.com/campaigns/18417.png?skin_name=chrome\' border=\'0\' target=\'_blank\' /></a></div>';
}