@@ -103,23 +103,23 @@ function xmlsitemap_requirements($phase) {
$requirements['xmlsitemap_file_size']['description']=$t('You have exceeded the maximum sitemap file size of @size. If possible, decrease the number of links per sitemap page.',array('@size'=>format_size(XMLSITEMAP_MAX_SITEMAP_FILESIZE)));
'value'=>$generated_last?$t('Last attempted generation on !date (!interval ago).',array('!date'=>format_date($generated_last,'small'),'!interval'=>format_interval($generated_ago))):$t('Cached files have not been generated yet.'),
$requirements['xmlsitemap_generated']['description']=$t('The XML sitemap data is out of sync and needs to be <a href="@link-rebuild">completely rebuilt<a>.',array('@link-rebuild'=>url('admin/config/search/xmlsitemap/rebuild')));
@@ -593,7 +593,7 @@ function xmlsitemap_link_save(array $link) {
$existing=db_query_range("SELECT loc, access, status, lastmod, priority, changefreq, changecount, language FROM {xmlsitemap} WHERE type = :type AND id = :id",0,1,array(':type'=>$link['type'],':id'=>$link['id']))->fetchAssoc();
// Check if this is a changed link and set the regenerate flag if necessary.
drupal_set_message(t('XML sitemap settings have been modified and the files should be regenerated. You can <a href="@run-cron">run cron manually</a> to regenerate the cached files.',array('@run-cron'=>url('admin/reports/status/run-cron',array('query'=>drupal_get_destination())))),'warning',FALSE);