// Gsitemap: Add sitemap index url

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13940 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-03-07 16:56:31 +00:00
parent b5485012a2
commit eec8653b30
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -353,6 +353,10 @@ XML;
if (!$result = Db::getInstance()->executeS($sql))
return '';
$this->_html .= '<h2>'.$this->l('Sitemap index').$shop['domain'].$shop['uri'].'</h2>';
$this->_html .= '<p>'.$this->l('Your Google sitemap file is online at the following address:').'<br />
<a href="'.Tools::getShopDomain(true, true).__PS_BASE_URI__.'sitemap.xml" target="_blank"><b>'.Tools::getShopDomain(true, true).__PS_BASE_URI__.'sitemap.xml</b></a></p><br />';
$info = pathinfo(GSITEMAP_FILE);
foreach ($result as $shop)
{