added support for linking to home pages of editors (suggested by Sebastian Schöps)
This commit is contained in:
+1
-1
@@ -1172,7 +1172,7 @@ class BibEntry {
|
|||||||
function getFormattedEditors() {
|
function getFormattedEditors() {
|
||||||
$editors = array();
|
$editors = array();
|
||||||
foreach ($this->getEditors() as $editor) {
|
foreach ($this->getEditors() as $editor) {
|
||||||
$editors[]=$this->formatAuthor($editor);
|
$editors[]=$this->addHomepageLink($this->formatAuthor($editor));
|
||||||
}
|
}
|
||||||
if (COMMA_NAMES) {$sep = '; ';} else {$sep = ', ';}
|
if (COMMA_NAMES) {$sep = '; ';} else {$sep = ', ';}
|
||||||
return implode($sep, $editors).', '.(count($editors)>1?'eds.':'ed.');
|
return implode($sep, $editors).', '.(count($editors)>1?'eds.':'ed.');
|
||||||
|
|||||||
Reference in New Issue
Block a user