function hosting_supporting_aegir_block in Hosting 7.3
Same name and namespace in other branches
- 7.4 hosting.module \hosting_supporting_aegir_block()
Build a 'Support Aegir' block.
1 call to hosting_supporting_aegir_block()
- hosting_block_view in ./
hosting.module - Implements hook_block_view().
File
- ./
hosting.module, line 669 - Hosting module.
Code
function hosting_supporting_aegir_block() {
if (user_access('administer hosting')) {
$output = "\n\n <p>Aegir will always cost you nothing to use, but that doesn't mean it costs us nothing to make.</p>\n\n <p><strong>Aegir needs your continued support to grow and thrive.</strong></p>\n\n <p>If you feel that Aegir has added significant value to your business or endeavour, please consider donating!</p>\n <p><strong>How much is Aegir worth to you?</strong></p>\n <a href=\"http://www.aegirproject.org/#support\" target=_blank>Donate Now ... </a>\n <a href=\"http://www.aegirproject.org/#support\" target=_blank>or get more info.</a>\n\n <footer style=\"font-size: smaller;\">This block is only displayed to you, the superuser.</footer>\n ";
return $output;
}
}