PageRenderTime 43ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/jappixmini/jappix/php/static.php

https://github.com/chiefdome/friendica-addons
PHP | 40 lines | 20 code | 7 blank | 13 comment | 3 complexity | 554650aeb5410986d58a5b89d5663e3c MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-3.0, GPL-2.0
  1. <?php
  2. /*
  3. Jappix - An open social platform
  4. This is the Jappix Static PHP/HTML code
  5. -------------------------------------------------
  6. License: AGPL
  7. Author: Vanaryon
  8. Last revision: 27/05/11
  9. */
  10. // Someone is trying to hack us?
  11. if(!defined('JAPPIX_BASE'))
  12. exit;
  13. ?>
  14. <!DOCTYPE html>
  15. <?php htmlTag($locale); ?>
  16. <head>
  17. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  18. <title><?php echo htmlspecialchars(SERVICE_NAME); ?> &bull; <?php _e("Static content server"); ?></title>
  19. <link rel="shortcut icon" href="./favicon.ico" />
  20. </head>
  21. <body>
  22. <h1><?php echo htmlspecialchars(SERVICE_NAME); ?> - <?php _e("Static content server"); ?></h1>
  23. <p><?php printf(T_("This is the static content server for %1s, ā€œ%2sā€."), htmlspecialchars(SERVICE_NAME), htmlspecialchars(SERVICE_DESC)); ?></p>
  24. <?php if(showManagerLink()) { ?>
  25. <p><a href="./?m=manager<?php echo keepGet('m', false); ?>"><?php _e("Manager"); ?></a></p>
  26. <?php } ?>
  27. </body>
  28. </html>
  29. <!-- Jappix Static <?php echo $version; ?> - An open social platform -->