Explorar o código

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

Roman Dmitriev %!s(int64=2) %!d(string=hai) anos
pai
achega
2078a9f718
Modificáronse 1 ficheiros con 3 adicións e 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 = "?";