drupal_set_message(t('A rebuild is not necessary. If you are just wanting to regenerate the XML sitemap files, you can <a href="@link-cron">run cron manually</a>.',array('@link-cron'=>url('admin/reports/status/run-cron',array('query'=>drupal_get_destination())))),'warning');
}
}
...
...
@@ -220,7 +220,7 @@ function xmlsitemap_rebuild_form() {
returnconfirm_form(
$form,
t('Are you sure you want to rebuild the sitemap?'),
'admin/settings/xmlsitemap',
'admin/config/search/xmlsitemap',
'',
t('Rebuild sitemap'),
t('Cancel')
...
...
@@ -240,7 +240,7 @@ function xmlsitemap_rebuild_form_submit($form, &$form_state) {
$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/settings/xmlsitemap/rebuild')));
$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')));
@@ -43,9 +43,9 @@ function xmlsitemap_help($path, $arg) {
$sitemaps=xmlsitemap_get_sitemaps(TRUE);
$output.=format_plural(count($sitemaps),'Your sitemap is located at: !sitemaps','Your sitemaps are located at: !sitemaps',array('!sitemaps'=>theme('item_list',$sitemaps)));
break;
case'admin/settings/xmlsitemap':
case'admin/config/search/xmlsitemap':
break;
case'admin/settings/xmlsitemap/rebuild':
case'admin/config/search/xmlsitemap/rebuild':
$output.='<p>'.t("This action rebuilds your site's XML sitemap and regenerates the cached files, and may be a lengthy process. If you just installed XML sitemap, this can be helpful to import all your site's content into the sitemap. Otherwise, this should only be used in emergencies.").'</p>';
$output.=t('In order to verify site ownership with the search engines listed below, it is highly recommended to download and install the <a href="@site-verify">Site verification module</a>.',array('@site-verify'=>'http://drupal.org/project/site_verify'));
}
...
...
@@ -21,7 +21,7 @@ function xmlsitemap_engines_help($path, $arg) {