remove old readme
[atutor.git] / themes / default / admin / users / instructor_requests.tmpl.php
1
2 <form name="form" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
3 <table class="data" summary="Table listing instructor requests" rules="cols">
4 <thead>
5 <tr>
6         <th scope="col">&nbsp;</th>
7         <th scope="col"><?php echo _AT('login_name');     ?></th>
8         <th scope="col"><?php echo _AT('first_name');   ?></th>
9         <th scope="col"><?php echo _AT('last_name');    ?></th>
10         <th scope="col"><?php echo _AT('email');        ?></th>
11         <th scope="col"><?php echo _AT('notes');        ?></th>
12 </tr>
13 </thead>
14 <tfoot>
15 <tr>
16         <td colspan="6">
17         <input type="submit" name="deny" value="<?php echo _AT('deny'); ?>" /> 
18         <input type="submit" name="approve" value="<?php echo _AT('approve'); ?>" /></td>
19 </tr>
20 </tfoot>
21 <tbody>
22 <?php
23         if ($row = mysql_fetch_assoc($this->result)) {
24                 do {
25                         echo '<tr onkeydown ="document.form[\'i'.$row['member_id'].'\'].checked = true;rowselect(this);" onmousedown="document.form[\'i'.$row['member_id'].'\'].checked = true;rowselect(this);" id="r_'.$row['member_id'].'">';
26                         echo '<td><input type="radio" name="id" value="'.$row['member_id'].'" id="i'.$row['member_id'].'" /></td>';
27                         echo '<td><label for="i'.$row['member_id'].'">'.AT_print($row['login'], 'members.login').'</label></td>';
28                         echo '<td>'.AT_print($row['first_name'], 'members.first_name').'</td>';
29                         echo '<td>'.AT_print($row['last_name'], 'members.last_name').'</td>';
30                         echo '<td>'.AT_print($row['email'], 'members.email').'</td>';
31                         
32                         echo '<td>'.AT_print($row['notes'], 'instructor_approvals.notes').'</td>';
33
34                         echo '</tr>';
35                 } while ($row = mysql_fetch_assoc($this->result));
36         } else {
37                 echo '<tr><td colspan="6">'._AT('none_found').'</td></tr>';
38         }
39 ?>
40 </tbody>
41 </table>
42 </form>