(no commit message)
[atutor.git] / mods / _core / enrolment / create_course_list.php
1 <?php
2 /************************************************************************/
3 /* ATutor                                                                                                                               */
4 /************************************************************************/
5 /* Copyright (c) 2002-2010                                              */
6 /* Inclusive Design Institute                                           */
7 /* http://atutor.ca                                                     */
8 /* This program is free software. You can redistribute it and/or        */
9 /* modify it under the terms of the GNU General Public License          */
10 /* as published by the Free Software Foundation.                        */
11 /************************************************************************/
12 // $Id$
13
14 define('AT_INCLUDE_PATH', '../../../include/');
15 require (AT_INCLUDE_PATH.'vitals.inc.php');
16 authenticate(AT_PRIV_ENROLLMENT);
17
18 require(AT_INCLUDE_PATH.'header.inc.php');
19 $msg->printAll();
20 ?>
21 <div class="input-form">
22                 <fieldset class="group_form"><legend class="group_form"><?php echo _AT('list_create_course_list'); ?></legend>
23 <form action="mods/_core/enrolment/verify_list.php" method="post">
24 <input type="hidden" name="from" value="create" />
25 <div>
26
27         <div class="row">
28                 <?php echo _AT('import_sep_txt'); ?><br />
29                 <input type="radio" name="sep_choice" id="und" value="_" checked="checked" />
30                 <label for="und"><?php echo _AT('underscore'); ?></label>
31                 <input type="radio" name="sep_choice" id="per" value="." />
32                 <label for="per"><?php echo _AT('period'); ?></label>
33         </div>
34
35                 
36 <table class="data static" summary="" rules="cols">
37 <thead>
38 <tr>
39         <th>&nbsp;</th>
40         <th><?php echo _AT('first_name'); ?></th>
41         <th><?php echo _AT('last_name'); ?></th>
42         <th><?php echo _AT('email'); ?></th>
43 </tr>
44 </thead>
45
46 <tfoot>
47 <tr>
48         <td colspan="4">
49                 <input type="submit" name="submit" value="<?php echo _AT('list_add_course_list');  ?>" />
50                 <input type="submit" name="cancel" value="<?php echo _AT('cancel'); ?>" />
51         </td>
52 </tr>
53 </tfoot>
54
55 <tbody>
56 <?php for ($i=1; $i <= 5; $i++): ?>
57         <tr>
58                 <td><?php echo $i; ?></td>
59                 <td><input type="text" name="first_name<?php echo $i; ?>" /></td>
60                 <td><input type="text" name="last_name<?php echo $i; ?>" /></td>
61                 <td><input type="text" name="email<?php echo $i; ?>" /></td>
62         </tr>
63 <?php endfor; ?>
64 </tbody>
65
66 </table>
67 </form>
68 </fieldset>
69 </div>
70 <?php   require(AT_INCLUDE_PATH.'footer.inc.php');      ?>