From e4a55560f02ff963acbbf3b2af83eb7d4c94a7f5 Mon Sep 17 00:00:00 2001 From: kanoi Date: Sat, 31 Jan 2015 21:07:42 +1100 Subject: [PATCH] php - add colour explanation to the blocks page --- pool/page_blocks.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pool/page_blocks.php b/pool/page_blocks.php index a0d6e92f..4040ed5b 100644 --- a/pool/page_blocks.php +++ b/pool/page_blocks.php @@ -75,6 +75,19 @@ function doblocks($data, $user) else $pg = '

Blocks

'; + list($fg, $bg) = pctcolour(25.0); + $pg .= ""; + $pg .= " Green  "; + $pg .= 'is good luck. Lower Diff% and bright green is best luck.
'; + list($fg, $bg) = pctcolour(100.0); + $pg .= ""; + $pg .= " 100%  "; + $pg .= 'is expected average. '; + list($fg, $bg) = pctcolour(400.0); + $pg .= ""; + $pg .= " Red  "; + $pg .= 'is bad luck. Higher Diff% and bright red is worse luck.

'; + $pg .= "\n"; $pg .= ""; $pg .= "";
#