| 1 |
<?php |
<?php |
| 2 |
// $Id: xmlsitemap.module,v 1.20.2.45.2.113 2009/11/01 16:11:34 davereid Exp $ |
// $Id: xmlsitemap.module,v 1.20.2.45.2.114 2009/11/01 19:00:35 davereid Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @defgroup xmlsitemap XML sitemap: create sitemaps.org sitemaps. |
* @defgroup xmlsitemap XML sitemap: create sitemaps.org sitemaps. |
| 62 |
$checked = TRUE; |
$checked = TRUE; |
| 63 |
module_load_install('xmlsitemap'); |
module_load_install('xmlsitemap'); |
| 64 |
if (xmlsitemap_check_status() && user_access('administer site configuration')) { |
if (xmlsitemap_check_status() && user_access('administer site configuration')) { |
| 65 |
drupal_set_message($t('One or more problems were detected with your XML sitemap configuration. Please check the <a href="@status-report">status report</a> for more information.', array('@status-report' => url('admin/reports/status'))), 'error', FALSE); |
drupal_set_message(t('One or more problems were detected with your XML sitemap configuration. Please check the <a href="@status-report">status report</a> for more information.', array('@status-report' => url('admin/reports/status'))), 'error', FALSE); |
| 66 |
} |
} |
| 67 |
module_load_include('inc', 'xmlsitemap'); |
module_load_include('inc', 'xmlsitemap'); |
| 68 |
if ($blurb = _xmlsitemap_get_blurb()) { |
if ($blurb = _xmlsitemap_get_blurb()) { |