<?php
/**
* Name: Pledgie
- * Description: Show link to Friendica pledgie account for donating
+ * Description: Show link to a pledgie account for donating
* Version: 1.1
* Author: tony baldwin <tony@free-haven.org>
* Hauke Altmann <https://snarl.de/profile/tugelblend>
function pledgie_active(&$a,&$b) {
$campaign = get_config('pledgie-campaign','text');
$describe = get_config('pledgie-describe','text');
- $b .= '<div style="position: fixed; bottom: 5px; left: 60px;">';
- $b .= $describe . '<br/><a href=\'http://www.pledgie.com/campaigns/';
+ $b .= '<div style="position: fixed; padding:5px; border-style:dotted; border-width:1px; background-color: white; line-height: 1; bottom: 5px; left: 20px; z-index: 1000; width: 150px; font-size: 12px;">';
+ $b .= $describe . '<br/><a href="https://pledgie.com/campaigns/';
$b .= $campaign;
- $b .= '\'><img alt=\'Click here to lend your support to: ' . $describe . '!\' src=\'http://www.pledgie.com/campaigns/';
+ $b .= '"><img alt="Click here to lend your support to: ' . $describe . '!" src="https://pledgie.com/campaigns/';
$b .= $campaign;
- $b .= '.png?skin_name=chrome\' border=\'0\' target=\'_blank\' /></a></div>';
-}
\ No newline at end of file
+ $b .= '.png?skin_name=chrome" border="0" target="_blank" /></a></div>';
+}