浏览代码

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>
 			</td>
 		</tr>
 		</tr>
 	<?php endwhile; ?>
 	<?php endwhile; ?>
+	</tbody>
+<?php if ($result->num_rows > 0): ?>
+		<tfoot>
+		<tr>
+			<th><?php echo $result->num_rows;?> Redirects</th>
+		</tr>
+		</tfoot>
+	<?php endif; ?>
 </table>
 </table>