-function pledgie_active(&$a,&$b) {
- //$b .= '<div style="position: fixed; bottom: 5px; left: 60px;"><a href=\'http://www.pledgie.com/campaigns/18417\'><img alt=\'Click here to lend your support to: Beyond Social Networking and make a donation at www.pledgie.com !\' src=\'http://www.pledgie.com/campaigns/18417.png?skin_name=chrome\' border=\'0\' target=\'_blank\' /></a></div>';
+ /* Add our stylesheet to the page so we can make our settings look nice */
+
+ $a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/pledgie/pledgie.css' . '" media="all" />' . "\r\n";
+
+ $campaign = get_config('pledgie-campaign','text');
+ $describe = get_config('pledgie-describe','text');
+
+ if(! $campaign)
+ $campaign = '';
+
+ if(! describe)
+ $describe = '';
+
+ $s .= '<div class="settings-block">';
+ $s .= '<h3>' . t('"pledgie" Settings') . '</h3>';
+ $s .= '<div id="pledgie-wrapper">';
+ $s .= '<label id="pledgie-label" for="pledgie-campaign">' . t('Pledgie campaign number to use for donations') . ' </label>';
+ $s .= '<input id="pledgie-campaign" type="text" name="pledgie-campaign" value="' . $campaign . '">';
+ $s .= '</div><div class="clear"></div>';
+
+ $s .= '<div id="pledgie-wrapper">';
+ $s .= '<label id="pledgie-label" for="pledgie-describe">' . t('Description of the Pledgie campaign') . ' </label>';
+ $s .= '<input id="pledgie-describe" type="text" name="pledgie-describe" value="' . $describe . '">';
+ $s .= '</div><div class="clear"></div>';
+
+ $s .= '<div class="settings-submit-wrapper" ><input type="submit" id="pledgie-submit" name="pledgie-submit" class="settings-submit" value="' . t('Save Settings') . '" /></div></div>';
+
+ return;