bug fix: pledgie.css only works for admin pages

This commit is contained in:
hauke 2015-05-18 22:00:49 +02:00
parent 82de719e5d
commit 0d03981d9c
3 changed files with 1 additions and 11 deletions

Binary file not shown.

View file

@ -26,13 +26,3 @@
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;
}

View 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/';