2 <form name="form" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
3 <div class="table-surround">
4 <table class="data" summary="Course forums" >
7 <th scope="col"> </th>
8 <th scope="col"><?php echo _AT('title'); ?></th>
9 <!-- REMOVED FOR MOBILE<th scope="col"><?php// echo _AT('description'); ?></th> -->
10 <th scope="col"><?php echo _AT('courses');
16 <td colspan="4"><input type="submit" name="edit" value="<?php echo _AT('edit'); ?>" /> <input type="submit" name="delete" value="<?php echo _AT('delete'); ?>" /></td>
23 <th colspan="4"><?php echo _AT('shared_forums'); ?></th>
26 foreach ($this->shared_forums as $forum) {
29 <!-- <tr onmousedown="document.form[\'f'.$forum['forum_id'].'\'].checked = true; rowselect(this);" id="r_'.$forum['forum_id'].'"></tr> -->
30 <tr onkeydown="document.form['f<?php echo $forum['id']; ?>'].checked = true; rowselect(this);" onmousedown="document.form['f<?php echo $forum['id']; ?>'].checked = true; rowselect(this);" id="r_<?php echo $forum['id']; ?>">
31 <td><input type="radio" name="id" value= "<?php echo $forum['id']; ?>" id="f<?php echo $forum['id']; ?>"</td>
32 <td><label for="f<?php echo $forum['id']; ?>"> <?php echo AT_print($forum['title'], 'forums.title'); ?> </label></td>
33 <!-- REMOVED FOR MOBILE<td><?php // echo AT_print($forum['desc'], 'forums.description'); ?></td> -->
34 <td> <?php foreach ($forum["courses"] as $course) {echo $course. " ";} ?>
42 <th colspan="4"><?php echo _AT('unshared_forums'); ?></th>
44 <?php if ($this->num_nonshared) : ?>
45 <?php foreach ($this->all_forums['nonshared'] as $forum) : ?>
46 <tr onkeydown="document.form['f<?php echo $forum['forum_id']; ?>'].checked = true; rowselect(this);" onmousedown="document.form['f<?php echo $forum['forum_id']; ?>'].checked = true; rowselect(this);" id="r_<?php echo $forum['forum_id']; ?>">
47 <td><input type="radio" name="id" value="<?php echo $forum['forum_id']; ?>" id="f<?php echo $forum['forum_id']; ?>" /></td>
48 <td><label for="f<?php echo $forum['forum_id']; ?>"><?php echo AT_print($forum['title'], 'forums.title'); ?></label></td>
49 <!-- REMOVED FOR MOBILE <td><?php // echo AT_print($forum['description'], 'forums.description'); ?></td> -->
50 <td><?php echo $this->system_courses[$forum['course_id']]['title']; ?></td>
55 <td colspan="4"><strong><?php echo _AT('no_forums'); ?></strong></td>