From ad8ea3b74c3a949551d19d5ac80eaab6d050f7e6 Mon Sep 17 00:00:00 2001 From: Markus Jochim Date: Fri, 19 Sep 2014 18:52:18 +0200 Subject: [PATCH] Added result count to every bibliography section in academic display, total count in normal display --- bibtexbrowser.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 86e0e60..aa5fa40 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -2694,6 +2694,12 @@ class SimpleDisplay { echo 'Options: '.@implode(',',$this->options).'
'; } + if ($this->headingLevel == BIBTEXBROWSER_HTMLHEADINGLEVEL) { + echo "\n".count($this->entries)." "; + if (count($this->entries) == 1) echo __('result'); + else echo __('results'); + echo "\n"; + } print_header_layout(); $count = count($this->entries);