Added result count to every bibliography section in academic display, total count in normal display
This commit is contained in:
committed by
Martin Monperrus
parent
de16482f56
commit
ad8ea3b74c
@@ -2694,6 +2694,12 @@ class SimpleDisplay {
|
||||
echo 'Options: '.@implode(',',$this->options).'<br/>';
|
||||
}
|
||||
|
||||
if ($this->headingLevel == BIBTEXBROWSER_HTMLHEADINGLEVEL) {
|
||||
echo "\n<span class=\"count\">".count($this->entries)." ";
|
||||
if (count($this->entries) == 1) echo __('result');
|
||||
else echo __('results');
|
||||
echo "</span>\n";
|
||||
}
|
||||
print_header_layout();
|
||||
|
||||
$count = count($this->entries);
|
||||
|
||||
Reference in New Issue
Block a user