| 1 |
<?php |
<?php |
| 2 |
// $Id: xmlsitemap.module,v 1.20.2.45.2.111 2009/10/03 15:53:11 davereid Exp $ |
// $Id: xmlsitemap.module,v 1.20.2.45.2.112 2009/10/03 21:54:45 davereid Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @defgroup xmlsitemap XML sitemap: create sitemaps.org sitemaps. |
* @defgroup xmlsitemap XML sitemap: create sitemaps.org sitemaps. |
| 60 |
static $checked = FALSE; |
static $checked = FALSE; |
| 61 |
if (!$checked && arg(0) == 'admin' && strpos($path, 'xmlsitemap') !== FALSE) { |
if (!$checked && arg(0) == 'admin' && strpos($path, 'xmlsitemap') !== FALSE) { |
| 62 |
$checked = TRUE; |
$checked = TRUE; |
| 63 |
module_load_include('inc', 'xmlsitemap'); |
module_load_install('xmlsitemap'); |
| 64 |
xmlsitemap_check_status(); |
xmlsitemap_check_status(); |
| 65 |
|
module_load_include('inc', 'xmlsitemap'); |
| 66 |
if ($blurb = _xmlsitemap_get_blurb()) { |
if ($blurb = _xmlsitemap_get_blurb()) { |
| 67 |
$output .= '<div class="form-item"><div class="description">' . $blurb . '</div></div>'; |
$output .= '<div class="form-item"><div class="description">' . $blurb . '</div></div>'; |
| 68 |
} |
} |