help.php 726 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * This script displays a help window.
  5. *
  6. * @package chamilo.help
  7. */
  8. require_once __DIR__.'/../inc/global.inc.php';
  9. $help_name = isset($_GET['open']) ? Security::remove_XSS($_GET['open']) : null;
  10. if (empty($help_name)) {
  11. api_not_allowed(true);
  12. }
  13. ?>
  14. <a class="btn btn-default" href="<?php echo api_get_path(WEB_CODE_PATH); ?>help/faq.php">
  15. <?php echo get_lang('AccessToFaq'); ?>
  16. </a>
  17. <div class="page-header">
  18. <h3><?php echo get_lang('H'.$help_name); ?></h3>
  19. </div>
  20. <?php echo get_lang($help_name.'Content'); ?>
  21. <hr>
  22. <a class="btn btn-default" href="<?php echo api_get_path(WEB_CODE_PATH); ?>help/faq.php">
  23. <?php echo get_lang('AccessToFaq'); ?>
  24. </a>