|
|
@ -1336,7 +1336,7 @@ class BibEntry { |
|
|
|
function getDoiLink($iconurl=NULL) { |
|
|
|
$str = $this->getIconOrTxt('doi',$iconurl); |
|
|
|
if ($this->hasField('doi')) { |
|
|
|
return '<a'.get_target().' href="http://dx.doi.org/'.$this->getField('doi').'">'.$str.'</a>'; |
|
|
|
return '<a'.get_target().' href="https://dx.doi.org/'.$this->getField('doi').'">'.$str.'</a>'; |
|
|
|
} |
|
|
|
return ''; |
|
|
|
} |
|
|
@ -1345,7 +1345,7 @@ class BibEntry { |
|
|
|
function getGSLink($iconurl=NULL) { |
|
|
|
$str = $this->getIconOrTxt('citations',$iconurl); |
|
|
|
if ($this->hasField('gsid')) { |
|
|
|
return ' <a'.get_target().' href="http://scholar.google.com/scholar?cites='.$this->getField("gsid").'">'.$str.'</a>'; |
|
|
|
return ' <a'.get_target().' href="https://scholar.google.com/scholar?cites='.$this->getField("gsid").'">'.$str.'</a>'; |
|
|
|
} |
|
|
|
return ''; |
|
|
|
} |
|
|
@ -1901,7 +1901,7 @@ class BibEntry { |
|
|
|
|
|
|
|
// Fields that should be hyperlinks
|
|
|
|
// the order matters
|
|
|
|
$hyperlinks = array('url' => '%O', 'file' => '%O', 'pdf' => '%O', 'doi' => 'http://dx.doi.org/%O', 'gsid' => 'http://scholar.google.com/scholar?cites=%O'); |
|
|
|
$hyperlinks = array('url' => '%O', 'file' => '%O', 'pdf' => '%O', 'doi' => 'https://dx.doi.org/%O', 'gsid' => 'https://scholar.google.com/scholar?cites=%O'); |
|
|
|
|
|
|
|
$vals = array(); |
|
|
|
foreach ($hyperlinks as $field => $url) { |
|
|
|