فهرست منبع

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)
 function print_navigation($url, $page, $displayed, $count_records, $total)
 {
 {
     if ($total <= 1) {
     if ($total <= 1) {
+        print "<div align=left class=records >";
+        print "| Total records: $count_records";
+        print "</div>";
         return;
         return;
     }
     }
     $v_char = "?";
     $v_char = "?";