Quellcode durchsuchen

Fix missing count of redirects in foot of table

ohartl vor 9 Jahren
Ursprung
Commit
a6191f0e6d
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
  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>