Skip to content

Commit

Permalink
add part
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisLambrechts committed Jan 30, 2025
1 parent e12039e commit b9975de
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion themes/base/view/common/resource-values.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ endif;
$cite = explode(" $$ ",$cite->asHtml());

if(isset($cite[5])):
$sort_cites[trim($cite[0]).trim($cite[5])] = $cite;
$sort_cites[trim($cite[0]).trim($cite[6])] = $cite;
else:
$sort_cites[] = $cite;
endif;
Expand Down Expand Up @@ -159,6 +159,11 @@ endif;
//fol
$label = trim($rels[2]);
}

if($label && $rels[5]):
//part
$label = $label." (".trim($rels[5]).")";
endif;

if(str_contains($rels[4],"http") && $auth):
$link = str_replace(" link:","",$rels[4]);
Expand Down

0 comments on commit b9975de

Please sign in to comment.