Explorar el Código

added display of the number of records if pagination is not required

Roman Dmitriev hace 2 años
padre
commit
2078a9f718
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      html/inc/common.php

+ 3 - 0
html/inc/common.php

@@ -3908,6 +3908,9 @@ function print_row_at_pages($name, $value)
 function print_navigation($url, $page, $displayed, $count_records, $total)
 {
     if ($total <= 1) {
+        print "<div align=left class=records >";
+        print "| Total records: $count_records";
+        print "</div>";
         return;
     }
     $v_char = "?";