www/prod_forum.php

changeset 399
6f1cde4215d3
parent 392
544d7d0183b2
child 449
a1d6b9eec988
--- a/www/prod_forum.php	Wed Jun 05 15:12:14 2019 +0200
+++ b/www/prod_forum.php	Wed Jun 05 15:39:37 2019 +0200
@@ -141,10 +141,10 @@
         $alpha  = floatval($item['h_alpha']);
 	$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 = "Koken ".$time." minuten";
+        if (($item['h_useat'] == 2) || ($item['h_useat'] == 4)) {    // Boil or Whirlpool
+        	$moment = $hopuse[$item['h_useat']].' '.$time." minuten";
 	} else if ($item['h_useat'] == 5) {	// Dryhop
-		$moment   = 'Koudhop '.sprintf("%.0f", $time / 1440).' dagen';
+		$moment = $hopuse[$item['h_useat']].' '.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