mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 06:03:41 +00:00
bug fix: pledgie.css only works for admin pages
This commit is contained in:
parent
82de719e5d
commit
0d03981d9c
3 changed files with 1 additions and 11 deletions
BIN
pledgie.tgz
BIN
pledgie.tgz
Binary file not shown.
|
@ -26,13 +26,3 @@
|
||||||
margin-top: 25px;
|
margin-top: 25px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pledgie-box {
|
|
||||||
position: fixed;
|
|
||||||
bottom: 5px;
|
|
||||||
left: 20px;
|
|
||||||
z-index: 1000;
|
|
||||||
width: 150px;
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ function pledgie_addon_settings_post(&$a,&$b) {
|
||||||
function pledgie_active(&$a,&$b) {
|
function pledgie_active(&$a,&$b) {
|
||||||
$campaign = get_config('pledgie-campaign','text');
|
$campaign = get_config('pledgie-campaign','text');
|
||||||
$describe = get_config('pledgie-describe','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 .= $describe . '<br/><a href=\'http://www.pledgie.com/campaigns/';
|
||||||
$b .= $campaign;
|
$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=\'http://www.pledgie.com/campaigns/';
|
||||||
|
|
Loading…
Reference in a new issue