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