From 7b1c97e5c92d8625305bed78cfb461471a889b74 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Sun, 28 Nov 2010 13:54:50 +0100 Subject: [PATCH] updated bibtexbrowser-style-janos.php with the new API --- bibtexbrowser-style-janos.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bibtexbrowser-style-janos.php b/bibtexbrowser-style-janos.php index ac8a678..9cff186 100755 --- a/bibtexbrowser-style-janos.php +++ b/bibtexbrowser-style-janos.php @@ -53,11 +53,7 @@ function JanosBibliographyStyle(&$bibentry) { //// ******* EDITOR $editor=''; if ($bibentry->hasField(EDITOR)) { - $editors = array(); - foreach ($bibentry->getEditors() as $ed) { - $editors[]=formatAuthor($ed); - } - $editor = implode(', ',$editors).', '.(count($editors)>1?'eds.':'ed.'); + $editors = $bibentry->getFormattedEditors(); } if ($booktitle!='') { @@ -106,4 +102,4 @@ function JanosBibliographyStyle(&$bibentry) { return $result; } -?> \ No newline at end of file +?>