echo ' <td>', htmlspecialchars($row['status']); if ($row['status'] == 'Feedback' && $row['unchanged'] > 0) { printf("<br />%d day%s", $row['unchanged'], $row['unchanged'] > 1 ? 's' : ''); } echo '</td>', "\n"; /// PHP version echo ' <td>', htmlspecialchars($row['php_version']), '</td>'; // OS echo ' <td>', $row['php_os'] ? htmlspecialchars($row['php_os']) : ' ', '</td>', "\n"; // Short description echo ' <td><a href="bug.php?id=', $row['id'], '">', $row['sdesc'] ? htmlspecialchars($row['sdesc']) : ' ', '</a></td>', "\n"; // Assigned to echo ' <td>', $row['assign'] ? "<a href=\"{$clean_link}&assign=" . urlencode($row['assign']) . '">' . htmlspecialchars($row['assign']) . '</a>' : ' ', '</td>'; echo " </tr>\n"; } show_prev_next($begin, $rows, $total_rows, $link, $limit); echo "</table>\n\n"; } response_footer(); exit; } } display_bug_error($errors); display_bug_error($warnings, 'warnings', 'WARNING:'); ?> <form id="asearch" method="get" action="search.php"> <table id="primary" width="100%"> <tr valign="top"> <th>Find bugs</th> <td style="white-space: nowrap">with all or any of the w<span class="accesskey">o</span>rds</td> <td style="white-space: nowrap"><input type="text" name="search_for" value="<?php
?> &reorder_by=sdesc">Summary</a></th> <th class="results"><a href="<?php echo $this->link; ?> &reorder_by=assign">Assigned</a></th> </tr> <?php foreach ($this->results as $row) { echo ' <tr valign="top" class="' . $this->tla[$row['status']] . '">' . "\n"; /* Bug ID */ echo ' <td align="center"><a href="bug.php?id=' . $row['id'] . '">' . $row['id'] . '</a>'; echo '<br /><a href="bug.php?id=' . $row['id'] . '&edit=1" class="edit">(edit)</a></td>' . "\n"; /* Date */ echo ' <td align="center">' . date('Y-m-d H:i:s', strtotime($row['ts1'])) . '</td>' . "\n"; echo ' <td>', htmlspecialchars($row['package_name']), '</td>' . "\n"; echo ' <td>', htmlspecialchars(@$this->types[$row['bug_type']]), '</td>' . "\n"; echo ' <td>', htmlspecialchars($row['status']); if ($row['status'] == 'Feedback' && isset($row['unchanged']) && $row['unchanged'] > 0) { printf("<br />%d day%s", $row['unchanged'], $row['unchanged'] > 1 ? 's' : ''); } echo '</td>' . "\n"; echo ' <td>', htmlspecialchars($row['package_version']), '</td>'; echo ' <td>', htmlspecialchars($row['php_version']), '</td>'; echo ' <td>', $row['php_os'] ? htmlspecialchars($row['php_os']) : ' ', '</td>' . "\n"; echo ' <td>', $row['sdesc'] ? clean($row['sdesc']) : ' ', '</td>' . "\n"; echo ' <td>', $row['assign'] ? htmlspecialchars($row['assign']) : ' ', '</td>' . "\n"; echo " </tr>\n"; } show_prev_next($this->begin, $this->rows, $this->total_rows, $this->link, $this->limit); echo "</table>\n\n";