help.php 725 B

123456789101112131415161718192021222324252627
  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>