help.php 776 B

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