forked from Wavyzz/dolibarr
Show name of sitemap file
This commit is contained in:
@@ -140,7 +140,7 @@ DefineListOfAltLanguagesInWebsiteProperties=Define list of all available languag
|
||||
GenerateSitemaps=Generate website sitemap file
|
||||
ConfirmGenerateSitemaps=If you confirm, you will erase the existing sitemap file...
|
||||
ConfirmSitemapsCreation=Confirm sitemap generation
|
||||
SitemapGenerated=Sitemap file generated
|
||||
SitemapGenerated=Sitemap file <b>%s</b> generated
|
||||
ImportFavicon=Favicon
|
||||
ErrorFaviconType=Favicon must be png
|
||||
ErrorFaviconSize=Favicon must be sized 16x16, 32x32 or 64x64
|
||||
|
||||
@@ -2260,7 +2260,7 @@ if ($action == 'generatesitemaps' && $usercanedit) {
|
||||
|
||||
$domtree->formatOutput = true;
|
||||
|
||||
$xmlname = 'sitemap.'.$websitekey.'.xml';
|
||||
$xmlname = 'sitemap.xml';
|
||||
|
||||
$sql = "SELECT wp.rowid, wp.type_container , wp.pageurl, wp.lang, wp.fk_page, wp.tms as tms,";
|
||||
$sql .= " w.virtualhost, w.fk_default_home";
|
||||
@@ -2396,7 +2396,7 @@ if ($action == 'generatesitemaps' && $usercanedit) {
|
||||
if (!empty($conf->global->MAIN_UMASK)) {
|
||||
@chmod($tempdir.$xmlname, octdec($conf->global->MAIN_UMASK));
|
||||
}
|
||||
setEventMessages($langs->trans("SitemapGenerated"), null, 'mesgs');
|
||||
setEventMessages($langs->trans("SitemapGenerated", $xmlname), null, 'mesgs');
|
||||
} else {
|
||||
setEventMessages($object->error, $object->errors, 'errors');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user