1 <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
2 <div class="input-form">
4 <h3><label for="ctid"><?php echo _AT('select_parent_topic'); ?></label></h3>
8 <select name="ctid" id="ctid">
9 <option value="0"><?php echo _AT('top_level'); ?></option>
16 <div class="row buttons">
17 <input type="submit" name="sub_content" value="<?php echo _AT('view_sub_topics'); ?>" />
22 <form name="form" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
23 <div class="table-surround">
24 <table class="data" summary="Parent topics and subtopics">
27 <th scope="col"> </th>
28 <th scope="col">#</th>
29 <th scope="col"><?php echo _AT('title'); ?></th>
30 <th scope="col"><?php echo _AT('num_pages'); ?></th>
36 <input type="submit" name="edit" value="<?php echo _AT('edit'); ?>" />
37 <input type="submit" name="view" value="<?php echo _AT('view'); ?>" />
38 <input type="submit" name="usage" value="<?php echo _AT('usage'); ?>" />
39 <input type="submit" name="sub_content" value="<?php echo _AT('sub_topics'); ?>" />
40 <input type="submit" name="delete" value="<?php echo _AT('delete'); ?>" />
45 <?php if (!empty($this->content)): ?>
46 <?php foreach ($this->content as $row): ?>
47 <tr onkeydown="document.form['c<?php echo $row['content_id']; ?>'].checked = true; rowselect(this);" onmousedown="document.form['c<?php echo $row['content_id']; ?>'].checked = true; rowselect(this);" id="r_<?php echo $row['content_id']; ?>">
48 <td><input type="radio" name="ctid" value="<?php echo $row['content_id']; ?>" id="c<?php echo $row['content_id']; ?>" /></td>
49 <td><?php echo $row['ordering']; ?></td>
50 <td><label for="c<?php echo $row['content_id']; ?>"><?php echo AT_print($row['title'], 'content.title'); ?></label></td>
51 <td><?php echo count($this->all_content[$row['content_id']]); ?></td>
56 <td colspan="5"><?php echo _AT('none_found'); ?></td>