CD or DVD discs.', array(_r('https://wiki.mageia.org/en/Writing_CD_and_DVD_images')), ' '); ?>
USB drive.', array('href="' . _r('https://wiki.mageia.org/en/Installation_Media#Dump_Mageia_ISO_on_a_USB_flash_drive') . '"')); echo '

'; _g('To dump a Mageia installation ISO on a USB stick, you may try one of several tools:', array(''),'p'); echo '

UEFI, a procedure is available in the wiki.', array(_r('http://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface'),_r('https://wiki.mageia.org/en/Installing_on_systems_with_UEFI_firmware' /*this will be changed to tooltip, so no more url*/))) ;?>

$values) { $release = explode("-", $section); if (isset($release[1])) { $release = $release[1]; } else { $release = ""; } $name = $values['name']; if (isset($values['torrent'])) { $torrent = $values['torrent']; } else { $torrent = ""; } if (isset($values['magnet'])) { $magnet = $values['magnet']; } else { $magnet = ""; } preg_match("/\D*(\d+.*)/", $values['size'], $product_size); $size = $product_size[1]; if ($release == $current) { $tableCurrent .= TableContent($section, $name, $torrent, $magnet, $size); } elseif ($release == $cauldron || $release == "Cauldron") { $tableCauldron .= TableContent($section, $name, $torrent, $magnet, $size); } else { $tableArchives .= TableContent($section, $name, $torrent, $magnet, $size); } }; function TableContent($url, $name, $torrent, $magnet, $size){ $table = sprintf('%s',$url, $name); $table .= $torrent ? sprintf('torrent', $url) : ''; $table .= $magnet ? sprintf('magnet', $magnet) : ''; $table .= sprintf('%s'. PHP_EOL, $size); return $table; }; function allDiv($release, $Trelease, $table){ $div = sprintf("
\n\t

%s

" . PHP_EOL, $release,$Trelease); $div .= ''; $div .= sprintf('' . PHP_EOL); echo $div .= sprintf('%s
' . _r("iso image") . '' . _r("torrent link") . '' . _r("magnet link") . '' . _r("size") . '
' . PHP_EOL, $table); } ?>