true';
}
if ($lang == 'us') {
$prefAws = 'true';
}
$resultXml = '';
$mirrorLinks = crm_hardlock::getMirrorLinks();
$resultXml .= "";
foreach ($mirrorLinks as $mirrorLink) {
$url = crm_hardlock::generateDownloadUrl($mirrorLink['link'], $year, $ltString);
$resultXml .= "";
if ($mirrorLink['id'] == 2) {
$resultXml .= $prefAws;
}
if ($mirrorLink['id'] == 3) {
$resultXml .= $prefAzure;
}
$resultXml .= "{$url}";
if ($mirrorLink['comment'] != '') {
$resultXml .= "" . $mirrorLink['comment'] . "";
}
$resultXml .= "";
}
$resultXml .= "";
echo $resultXml;