ソースを参照

Fix missing count of redirects in foot of table

ohartl 9 年 前
コミット
a6191f0e6d
1 ファイル変更8 行追加0 行削除
  1. 8 0
      include/php/pages/admin/listredirects.php

+ 8 - 0
include/php/pages/admin/listredirects.php

@@ -71,4 +71,12 @@ if(!$result = $db->query($sql)){
 			</td>
 		</tr>
 	<?php endwhile; ?>
+	</tbody>
+<?php if ($result->num_rows > 0): ?>
+		<tfoot>
+		<tr>
+			<th><?php echo $result->num_rows;?> Redirects</th>
+		</tr>
+		</tfoot>
+	<?php endif; ?>
 </table>