Skip to content

Commit a74c019

Browse files
authored
Merge pull request #698 from BioKIC/available-external-collection
change availability statement for external collections
2 parents c3a7143 + f4a74d6 commit a74c019

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

collections/individual/index.php

+6-2
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,13 @@ function initializeMap(){
324324
<div id="occur-div">
325325
<div id="availability-div">
326326
<?php
327-
if ($occArr['availability'] == 1) {
327+
if (in_array($occArr['collid'], array(44,74,79,80,82,83,95,97))){
328+
echo "<strong><span style='color:green;'>Contact holding institution for information about loans</span></strong>";
329+
}
330+
elseif ($occArr['availability'] == 1 ) {
328331
echo "<strong><span style='color:green;'>This sample is available for loan</span></strong>";
329-
} else {
332+
}
333+
else {
330334
echo "<strong><span style='color:red;'>This sample is NOT available for loan</span></strong>";
331335
}
332336
?>

0 commit comments

Comments
 (0)