]> git.mxchange.org Git - friendica-addons.git/commitdiff
bug fix: pledgie.css only works for admin pages
authorhauke <hauke@grlg.org>
Mon, 18 May 2015 20:00:49 +0000 (22:00 +0200)
committerhauke <hauke@grlg.org>
Mon, 18 May 2015 20:00:49 +0000 (22:00 +0200)
pledgie.tgz
pledgie/pledgie.css
pledgie/pledgie.php

index 1c753bc22b220f77809d898fe2ec79392fc86c24..b0cd9126248e9d660a6ee685345fcf81f440edbc 100644 (file)
Binary files a/pledgie.tgz and b/pledgie.tgz differ
index 4cbabe6edab4f9d35c0202b50035c604169df02b..9cb9896d34344c31ffdc9b0b0307781793b21db6 100755 (executable)
        margin-top: 25px;
        font-size: 20px;
 }
-
-#pledgie-box {
-       position: fixed; 
-       bottom: 5px; 
-       left: 20px; 
-       z-index: 1000;
-       width: 150px;
-       font-size: 12px;
-       font-weight: bold;
-}
index f682853ba67ec3ad92c484e336a9e4e1e0fa2d78..376885388185d1e700ce497ff1ded1ec9f2e8b61 100644 (file)
@@ -70,7 +70,7 @@ 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 id="pledgie-box">';
+       $b .= '<div style="position: fixed; bottom: 5px; left: 20px; z-index: 1000;     width: 150px; font-size: 12px; font-weight: bold;">';
        $b .= $describe . '<br/><a href=\'http://www.pledgie.com/campaigns/';
        $b .= $campaign;
        $b .= '\'><img alt=\'Click here to lend your support to: ' . $describe .  '!\' src=\'http://www.pledgie.com/campaigns/';