1 <?php debug($this->gloss_results_row);
2 debug($this->related_word);
6 <form name="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
8 <table class="data" summary="" rules="cols" style="width: 90%;">
11 <th scope="col"> </th>
12 <th scope="col"><?php echo _AT('glossary_term'); ?></th>
13 <th scope="col"><?php echo _AT('glossary_definition'); ?></th>
14 <th scope="col"><?php echo _AT('glossary_related'); ?></th>
19 <td colspan="4"><input type="submit" name="edit" value="<?php echo _AT('edit'); ?>" /> <input type="submit" name="delete" value="<?php echo _AT('delete'); ?>" /></td>
24 <?php if(!empty($this->gloss_results_row)):?>
25 <?php foreach($this->gloss_results_row as $row): ?>
26 <tr onmousedown="document.form['m<?php echo $row['word_id']; ?>'].checked = true; rowselect(this);" id="r_<?php echo $row['word_id']; ?>">
27 <td valign="top" width="10"><input type="radio" name="word_id" value="<?php echo $row['word_id']; ?>" id="m<?php echo $row['word_id']; ?>" /></td>
28 <td valign="top"><label for="m<?php echo $row['word_id']; ?>"><?php echo AT_print($row['word'], 'glossary.word'); ?></label></td>
29 <td style="whitespace:nowrap;"><?php echo AT_print($row['definition'], 'glossary.definition'); ?></td>
30 <?php if(!empty($row['related_word_id'])):?>
31 <td valign="top"><?php //debug($this->related_word);
32 //echo AT_print($row[related_word_id], 'glossary.word'); ?></td>