index.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?php
  2. /*
  3. Download page
  4. Copyright (C) 2015, 2016 Leah Rowe <info@minifree.org>
  5. This document is released under Creative Commons Attribution-ShareAlike
  6. 4.0 International license.
  7. See <https://creativecommons.org/licenses/by-sa/4.0/legalcode>
  8. */
  9. header('Content-type: text/html; charset=utf-8');
  10. ob_start();
  11. include_once "../common/variables.php";
  12. include_once "../common/functions.php";
  13. ?>
  14. <!DOCTYPE html>
  15. <html>
  16. <head>
  17. <link rel="stylesheet" type="text/css" href="../common/css/main.css" />
  18. <title><?php echo gettext("Download libreboot"); ?></title>
  19. </head>
  20. <body>
  21. <div>
  22. <h1><?php echo gettext("Download libreboot (stable releases)"); ?></h1>
  23. <p>
  24. <strong>
  25. <?php echo gettext("The latest stable release is"); ?> <?php echo $lbRelease[0][0][0]; ?>,
  26. <?php echo gettext("released on"); ?> <?php echo $lbRelease[0][0][1]; ?> and can be
  27. found at <a href="#https">#https</a>.
  28. </strong> <a href="../"><?php echo gettext("Back to home page"); ?></a>
  29. </p>
  30. <p>
  31. If you're more interested in libreboot development, go to the <a href="../git/">libreboot development page</a>, which
  32. also includes links to the Git repositories. Visit <a href="../tasks/">../tasks/</a> for tasks currently on the TODO list.
  33. </p>
  34. <h2>GPG signing key</h2>
  35. <p>
  36. See <a href="../gpg/">../gpg/</a> for info.
  37. </p>
  38. <h2>Do you have a mirror?</h2>
  39. <p>
  40. Let us know! We will add it here. Instructions for how to mirror libreboot
  41. releases can be found <a href="../rsync/">here</a>.
  42. </p>
  43. <h2 id="https">HTTPS mirrors</h2>
  44. <p>
  45. These mirrors are recommended, since they use TLS (https://) encryption.
  46. </p>
  47. <?php
  48. echo mirrorList($lbHttpsMirror, gettext("HTTPS mirrors not added yet."),0,count($lbHttpsMirror));
  49. ?>
  50. <h2 id="http">HTTP mirrors</h2>
  51. <p>
  52. WARNING: these mirrors are non-HTTPS which means that they are unencrypted. Your traffic could be subject
  53. to interference by adversaries. Make especially sure to check the GPG signatures, assuming
  54. that you have the right key. Of course, you should do this anyway, even if
  55. using HTTPS.
  56. </p>
  57. <?php
  58. /* show HTTP mirrors */
  59. echo mirrorList($lbHttpMirror, gettext("HTTP mirrors not added yet."),0,count($lbHttpMirror));
  60. ?>
  61. <h2 id="ftp">FTP mirrors</h2>
  62. <p>
  63. WARNING: FTP is also unencrypted, like HTTP. The same risks are present.
  64. </p>
  65. <?php
  66. /* show FTP mirrors */
  67. echo mirrorList($lbFtpMirror,gettext("FTP mirrors not added yet."),0,count($lbFtpMirror));
  68. ?>
  69. </div>
  70. <?php
  71. include "../common/ccs.php";
  72. include "../common/footer.php";
  73. ?>
  74. </body>
  75. </html>
  76. <?php
  77. $strHtml = ob_get_clean();
  78. echo miniHtml($strHtml);
  79. ?>