소스 검색

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

Roman Dmitriev 2 년 전
부모
커밋
2078a9f718
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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 = "?";