index.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. /*
  3. Download page
  4. Copyright (C) 2015 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("Mirroring libreboot"); ?></title>
  19. </head>
  20. <body>
  21. <div>
  22. <h1><?php echo gettext("Mirroring libreboot"); ?></h1>
  23. <p>
  24. <?php echo gettext("Create a directory in your web directory (e.g. libreboot/) and put one of these in your crontab:"); ?>
  25. </p>
  26. <?php
  27. echo rsyncList($lbRsyncServer, gettext("No mirrors available in this range."), 0, count($lbRsyncServer));
  28. ?>
  29. <p>
  30. <?php echo gettext("Are you running a mirror? Contact the libreboot project, and the link will be added to the <a href='../download/'>download</a> page."); ?>
  31. </p>
  32. <p>
  33. <a href="../"><?php echo gettext("Back to home page"); ?></a>
  34. </p>
  35. </div>
  36. <?php
  37. include "../common/ccs.php";
  38. include "../common/footer.php";
  39. ?>
  40. </body>
  41. </html>
  42. <?php
  43. $strHtml = ob_get_clean();
  44. echo miniHtml($strHtml);
  45. ?>