help.php 731 B

1234567891011121314151617181920212223242526272829
  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. require_once '../inc/global.inc.php';
  12. $help_name = isset($_GET['open']) ? Security::remove_XSS($_GET['open']) : null;
  13. if (empty($help_name)) {
  14. api_not_allowed(true);
  15. }
  16. ?>
  17. <a class="btn btn-default" href="<?php echo api_get_path(WEB_CODE_PATH); ?>help/faq.php">
  18. <?php echo get_lang('AccessToFaq'); ?>
  19. </a>
  20. <div class="page-header">
  21. <h3><?php echo get_lang('H'.$help_name); ?></h3>
  22. </div>
  23. <?php echo get_lang($help_name.'Content'); ?>
  24. <hr>
  25. <a class="btn btn-default" href="<?php echo api_get_path(WEB_CODE_PATH); ?>help/faq.php">
  26. <?php echo get_lang('AccessToFaq'); ?>
  27. </a>