index.php 539 B

123456789101112131415
  1. <?php
  2. /* See license terms in /license.txt */
  3. /**
  4. * Generates the HTML page containing the iframe that loads the videoconference's Flash plugin
  5. */
  6. require_once '../inc/global.inc.php';
  7. api_protect_course_script();
  8. // Only allow conference or classroom modes. Others are likely to be attacks
  9. if ($_GET['type'] == 'conference' or $_GET['type'] == 'classroom') {
  10. $_SESSION["roomType"] = $_GET['type'];
  11. }
  12. ?>
  13. <span align="center">
  14. <iframe frameborder="0" scrolling="no" width="100%" height="100%" src="videoconference.php"></iframe>
  15. </span>