function _ed_classified_settings_get_banner in Classified Ads 7.2
Same name and namespace in other branches
- 5.2 ed_classified_utils.inc \_ed_classified_settings_get_banner()
- 5 ed_classified_utils.inc \_ed_classified_settings_get_banner()
- 6.2 ed_classified_utils.inc \_ed_classified_settings_get_banner()
Get settings 'banner'
File
- ./
ed_classified_utils.inc, line 265 - Simple text-based classified ads module. Michael Curry, Exodus Development, Inc. exodusdev@gmail.com for more information, please visit http://exodusdev.com/drupal/modules/classified.module Copyright (c) 2006, 2007 Exodus Development, Inc. All Rights…
Code
function _ed_classified_settings_get_banner(&$form) {
$name = EDI_CLASSIFIED_MODULE_NAME;
$d = '<a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=exodus.paypal%40gmail.com&item_name=' . $name . '&item_number= ' . $name . '-donation&page_style=PayPal&no_shipping=1&return=http%3A%2F%2Fexodusdev.com%2Fproducts&cancel_return=http%3A%2F%2Fexodusdev.com%2Fproducts&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8"><img src="http://www.paypal.com/en_US/i/btn/x-click-but7.gif" alt="Support ongoing development!" title="Support ongoing development!"></a>';
$form['module_banner'] = array(
'#type' => 'markup',
'#value' => '<div style="border: solid 1px #eee; margin: .5em; padding: .5em;"><div style="float:right;">' . $d . '</div><strong>Module development by <a href="http://exodusdev.com">Exodus Development</a></strong>.<br/>',
);
$form['module_id'] = array(
'#type' => 'markup',
'#value' => EDI_CLASSIFIED_MODULE_VERSION . '<br/></div>',
);
}