mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-19 21:23:41 +00:00
layout adjustements for pledgie box
This commit is contained in:
parent
acb84127bc
commit
f79cd95672
2 changed files with 12 additions and 2 deletions
|
@ -26,3 +26,13 @@
|
||||||
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;
|
||||||
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Name: Pledgie
|
* Name: Pledgie
|
||||||
* Description: Show link to Friendica pledgie account for donating
|
* Description: Show link to a pledgie account for donating
|
||||||
* Version: 1.1
|
* Version: 1.1
|
||||||
* Author: tony baldwin <tony@free-haven.org>
|
* Author: tony baldwin <tony@free-haven.org>
|
||||||
* Hauke Altmann <https://snarl.de/profile/tugelblend>
|
* Hauke Altmann <https://snarl.de/profile/tugelblend>
|
||||||
|
@ -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 style="position: fixed; bottom: 5px; left: 60px;">';
|
$b .= '<div id="pledgie-box">';
|
||||||
$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