3 <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>" name="form">
4 <table class="data" summary="View and edit frequently asked questions for the course" style="width: 90%;">
8 <th style="width: 100%;"><?php echo _AT('name'); ?></th>
13 <td colspan="2"><input type="submit" name="edit" value="<?php echo _AT('edit'); ?>" />
14 <input type="submit" name="delete" value="<?php echo _AT('delete'); ?>" /></td>
17 <?php if (!empty($this->faq_topics)): ?>
18 <?php foreach ($this->faq_topics as $topic_id => $row): ?>
19 <tr onmousedown="document.form['t<?php echo $row['topic_id']; ?>'].checked = true; rowselect(this);" id="r_<?php echo $row['topic_id']; ?>_0">
20 <th style="border-top:1pt solid #e0e0e0;"><input type="radio" name="item" id="t<?php echo $row['topic_id']; ?>" value="<?php echo $row['topic_id']; ?>" /></th>
21 <th style="border-top:1pt solid #e0e0e0;"><?php echo AT_print($row['name'], 'faqs.topic'); ?></th>
24 <?php if (!empty($row['entry_rows'])): ?>
25 <?php foreach($row['entry_rows'] as $question_row): ?>
26 <tr onmousedown="document.form['q<?php echo $question_row['entry_id']; ?>'].checked = true; rowselect(this);" id="r_<?php echo $row['topic_id']; ?>_<?php echo $question_row['entry_id']; ?>">
27 <td><input type="radio" name="item" id="q<?php echo $question_row['entry_id']; ?>" value="<?php echo $question_row['entry_id']; ?>q" /></td>
28 <td><?php echo AT_print($question_row['question'], 'faqs.question'); ?></td>
35 <td><?php echo _AT('no_questions'); ?></td>
45 <td colspan="2"><strong><?php echo _AT('none_found'); ?></strong></td>