1 <form name="form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
2 <table summary="" class="data" rules="cols" align="center" style="width: 95%;">
6 <th scope="col"> </th>
7 <th scope="col"><?php echo _AT('name'); ?></th>
8 <th scope="col"><?php echo _AT('parent'); ?></th>
9 <?php if (defined('AT_ENABLE_CATEGORY_THEMES') && AT_ENABLE_CATEGORY_THEMES) : ?>
10 <th scope="col"><?php echo _AT('theme'); ?></th>
17 <div class="row buttons">
18 <input type="submit" name="edit" value="<?php echo _AT('edit'); ?>" /> <input type="submit" name="delete" value="<?php echo _AT('delete'); ?>" />
26 if ($row = mysql_fetch_assoc($this->result)): ?>
29 $parent_cat_name = '';
30 if ($row['cat_parent']) {
32 $parent_cat_name = $this->row_cat['cat_name'];
35 <tr onmousedown="document.form['m<?php echo $row['cat_id']; ?>'].checked = true; rowselect(this);" id="r_<?php echo $row['cat_id']; ?>">
36 <td width="10"><input type="radio" name="cat_id" value="<?php echo $row['cat_id']; ?>" id="m<?php echo $row['cat_id']; ?>" /></td>
37 <td><label for="m<?php echo $row['cat_id']; ?>"><?php echo AT_print($row['cat_name'], 'course_cats.cat_name'); ?></label></td>
38 <td><?php echo AT_print($parent_cat_name, 'course_cats.cat_name'); ?></td>
39 <?php if (defined('AT_ENABLE_CATEGORY_THEMES') && AT_ENABLE_CATEGORY_THEMES) : ?>
40 <td><?php echo AT_print(get_theme_name($row['theme']), 'themes.title'); ?></td>
44 <?php } while ($row = mysql_fetch_assoc($this->result)); ?>
47 <td colspan="3"><?php echo _AT('none_found'); ?></td>