function _xmlsitemap_get_blurb in XML sitemap 7.2
Same name and namespace in other branches
- 8 xmlsitemap.module \_xmlsitemap_get_blurb()
- 6.2 xmlsitemap.inc \_xmlsitemap_get_blurb()
- 2.x xmlsitemap.module \_xmlsitemap_get_blurb()
Fetch a short blurb string about module maintainership and sponsors.
This message will be FALSE in 'official' releases.
1 call to _xmlsitemap_get_blurb()
- xmlsitemap_help in ./
xmlsitemap.module - Implements hook_help().
File
- ./
xmlsitemap.inc, line 15 - Miscellaneous functions for the xmlsitemap module.
Code
function _xmlsitemap_get_blurb($check_version = TRUE) {
static $blurb;
if (!isset($blurb)) {
$blurb = FALSE;
if (!$check_version || ($version = _xmlsitemap_get_version()) && preg_match('/dev|unstable|alpha|beta|HEAD/i', $version)) {
$sponsors = array(
l(t('Symantec'), 'http://www.symantec.com/'),
l(t('WebWise Solutions'), 'http://www.webwiseone.com/'),
l(t('Volacci'), 'http://www.volacci.com/'),
l(t('lanetro'), 'http://www.lanetro.com/'),
l(t('Coupons Dealuxe'), 'http://couponsdealuxe.com/'),
);
// Don't extract the following string for translation.
$blurb = '<div class="description"><p>Thank you for helping test the XML sitemap module rewrite. Please consider helping offset developer free time by <a href="http://davereid.chipin.com/">donating</a> or if your company is interested in sponsoring the rewrite or a specific feature, please <a href="http://davereid.net/contact">contact the developer</a>. Thank you to the following current sponsors: ' . implode(', ', $sponsors) . ', and all the individuals that have donated. This message will not be seen in the stable versions.</p></div>';
// http://drupalmodules.com/module/xml-sitemap
}
}
return $blurb;
}