www/rec_forum.php

changeset 392
544d7d0183b2
parent 359
98354ef399cd
child 399
6f1cde4215d3
--- a/www/rec_forum.php	Fri May 31 22:58:03 2019 +0200
+++ b/www/rec_forum.php	Sun Jun 02 12:48:54 2019 +0200
@@ -142,7 +142,9 @@
 	$ibu    = calc_IBU($item['h_useat'], $item['h_form'], $preboil_sg, floatval($row['batch_size']), $amount, $time, $alpha, $row['ibu_method']);
 	$moment = $hopuse[$item['h_useat']];
         if ($item['h_useat'] == 2) {    // Boil
-        	$moment = "Kook ".$time." minuten";
+        	$moment = "Koken ".$time." minuten";
+	} else if ($item['h_useat'] == 5) {	// Dryhop
+		$moment   = 'Koudhop '.sprintf("%.0f", $time / 1440).' dagen';
         }
 
 	echo sprintf("%s %-7s %5.1f %5.1f %6.1f %-20s", $name, $hopform[$item['h_form']], $alpha, $ibu, $amount, $moment);

mercurial