]> git.mxchange.org Git - friendica-addons.git/blobdiff - pledgie/pledgie.php
RU translation of fromapp addon THX pztrn
[friendica-addons.git] / pledgie / pledgie.php
index af72a45fb68f8c34bebccdaa91627787e595c736..fdc727b14456a6dde2d22a748a1f0baa95739d5b 100644 (file)
@@ -1,7 +1,7 @@
 <?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>
@@ -70,10 +70,10 @@ function pledgie_addon_settings_post(&$a,&$b) {
 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>';
+}