changed git call from https to git readonly
[atutor.git] / mods / openmeetings / html / create_room.inc.php
1 <?php\r
2 /************************************************************************/\r
3 /* ATutor                                                                                                                               */\r
4 /************************************************************************/\r
5 /* Copyright (c) 2002-2008 by Greg Gay, Cindy Qi Li, Harris Wong                */\r
6 /* Adaptive Technology Resource Centre / University of Toronto                  */\r
7 /* http://atutor.ca                                                                                                             */\r
8 /*                                                                                                                                              */\r
9 /* This program is free software. You can redistribute it and/or                */\r
10 /* modify it under the terms of the GNU General Public License                  */\r
11 /* as published by the Free Software Foundation.                                                */\r
12 /************************************************************************/\r
13 // $Id: create_room.inc.php 7208 2008-01-09 16:07:24Z harrisw $\r
14 \r
15 //Get default values if POST is empty\r
16 $_POST = loadDefaultValues($_POST);     //openmeetings.inc.php\r
17 \r
18 ?>\r
19 <form action="<?php $_SERVER['PHP_SELF']; ?>" method="post">\r
20         <div class="input-form">\r
21                 <div class="row"><p><?php echo _AT('openmeetings_create_room_instr'); ?></p></div>\r
22         </div>\r
23         <div class="input-form">\r
24                 <?php include ('create_room.tmpl.php'); ?>\r
25 \r
26                 <div class="row buttons">\r
27                         <input type="submit" name="create_room" value="<?php echo _AT('openmeetings_create_room'); ?>"  />\r
28                 </div>\r
29         </div>\r
30 </form>\r
31 \r
32 <script type="text/javascript">\r
33         function om_toggler(name, enabled){\r
34                 var obj_w = document.getElementById(name + '_w');\r
35                 var obj_h = document.getElementById(name + '_h');\r
36                 if(enabled==true) {\r
37                         obj_w.disabled = "";    \r
38                         obj_h.disabled = "";    \r
39                 } else if (enabled==false){\r
40                         obj_w.disabled = "disabled";\r
41                         obj_h.disabled = "disabled";\r
42                 }\r
43         }\r
44 </script>\r