blob: f222b56b919d030faf33b2362730781687d9c75a [file] [log] [blame]
droyaddb32f2008-06-03 15:11:51 +00001<h1><?= $pageTitle ?></h1>
2<form method="post">
3<table>
4<tr><td>Show only this project</td>
5 <td><select name="project_version">
6 <option value="">All projects</option>
7<?php
8 while($myrow = mysql_fetch_assoc($rs_p_list)) {
9 $selected = "";
10 if($myrow['project_id'] . "|" . $myrow['version'] == $PROJECT_ID . "|" . $VERSION) {
11 $selected = 'selected="selected"';
12 }
13 echo "<option value='" . $myrow['project_id'] . "|" . $myrow['version'] . "' $selected>" . $myrow['project_id'] . " " . $myrow['version'] . "</option>";
14 }
15 ?></select></td>
16 <td>Show only this language</td>
17 <td><select name="language_id">
18 <option value="All">All languages</option>
19<?php
20 while($myrow = mysql_fetch_assoc($rs_l_list)) {
21 $selected = "";
22 if($myrow['language_id'] == $LANGUAGE_ID) {
23 $selected = 'selected="selected"';
24 }
25 echo "<option value='" . $myrow['language_id'] . "' $selected>" . $myrow['name'] . "</option>";
26 }
27 ?></select></td>
28 <td>Show last <select name="limit">
29 <option value="25">25</option>
30 <option value="50">50</option>
31 <option value="100">100</option>
32 <option value="200">200</option>
33 <option value="500">500</option>
34 <option value="1000">1000</option>
35</select> translations</td></tr>
36<tr><td>Layout <select name="layout">
37 <option value="list" <?= $LAYOUT == "list" ? "selected='selected'" : "" ?>>list</option>
38 <option value="table" <?= $LAYOUT == "table" ? "selected='selected'" : "" ?>>table</option>
39</select></td>
40 </tr>
41 <tr><td colspan="4"><input type="submit" value="Apply filter" /></td></tr></table></form>