getSiteMapIndexUrl() public static method

get sitemaps index file url
public static getSiteMapIndexUrl ( )
Example #1
0
function PageCodeSitemap()
{
    global $aPages;
    $oForm = new BxDolAdmFormSitemap();
    $aList = BxDolSiteMapsQuery::getAllActiveSystemsFromCache();
    $aListForTemplate = array();
    foreach ($aList as $i => $a) {
        $aListForTemplate[] = array('title_translated' => _t($a['title']));
    }
    $s = $GLOBALS['oAdmTemplate']->parseHtmlByName('sitemap.html', array('form' => $oForm->getCode(), 'desc' => _t('_sys_sitemap_desc', BxDolSiteMaps::getSiteMapIndexUrl()), 'bx_repeat:list' => $aListForTemplate));
    return DesignBoxAdmin($GLOBALS['sPageTitle'], $s);
}