diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 253fca9..4201d6a 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -1483,6 +1483,18 @@ class BibEntry { $str = ''; + + #Adding link to PDF file exported by Zotero + if ($this->hasField('file')) { + + $file = $this->getField("file"); + $file = explode(":", $file); + $file = $file[1]; + + $str .= ' [PDF file]'; + } + + if (BIBTEXBROWSER_BIBTEX_LINKS) { // we add biburl and title to be able to retrieve this important information // using Xpath expressions on the XHTML source