mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 04:03:40 +00:00
added pledgie plugin
This commit is contained in:
parent
a0a918369c
commit
a5418b8b56
1 changed files with 16 additions and 0 deletions
16
pledgie/pledgie.php
Normal file
16
pledgie/pledgie.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
/**
|
||||
* * Name: Pledgie
|
||||
* * Description: Show link to Friendica pledgie account for donating
|
||||
* * Version: 1.0
|
||||
* * Author: tony baldwin <tony@free-haven.org>
|
||||
* */
|
||||
|
||||
|
||||
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_active(&$a,&$b) { $b .= '<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\' /></a>'; }
|
||||
|
Loading…
Reference in a new issue