Browse Source

*** empty log message ***

replace/c24a8d1de403113542ba0936e844151de2785013
Martin Monperrus 17 years ago
parent
commit
c6c35e0e0c
  1. 10
      bibtexbrowser.php

10
bibtexbrowser.php

@ -157,6 +157,7 @@ define('YEAR', 'year');
// we ensure that the pages won't get polluted // we ensure that the pages won't get polluted
// if future versions of PHP change warning mechanisms... // if future versions of PHP change warning mechanisms...
@error_reporting(E_ERROR); @error_reporting(E_ERROR);
// default bib file, if no file is specified in the query string. // default bib file, if no file is specified in the query string.
@ -764,7 +765,14 @@ class BibEntry {
} }
echo ' <i>('.implode(', ',$editors).', '.(count($editors)>1?'eds.':'ed.').')</i>'; echo ' <i>('.implode(', ',$editors).', '.(count($editors)>1?'eds.':'ed.').')</i>';
} }
echo ", ".$this->getYear().".";
echo ", ".$this->getYear();
if ($this->hasField('comment')) {
echo " (".$this->getField("comment").")";
}
echo ".";
echo " <a {$href}>[bib]</a>"; echo " <a {$href}>[bib]</a>";
if ($this->hasField('url')) { if ($this->hasField('url')) {

Loading…
Cancel
Save