From 391f60664807f3c795050572177b1c0aad65a38b Mon Sep 17 00:00:00 2001 From: Kano Date: Thu, 5 Jul 2012 23:34:00 +1000 Subject: [PATCH] miner.php allow alternating line colours (off by default) --- miner.php | 273 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 165 insertions(+), 108 deletions(-) diff --git a/miner.php b/miner.php index 65a82e69..c1d0a6e3 100644 --- a/miner.php +++ b/miner.php @@ -128,6 +128,8 @@ global $colourtable; $colourtable = array( 'body bgcolor' => '#ecffff', 'td color' => 'blue', + 'td.two color' => 'blue', + 'td.two background' => '#ecffff', 'td.h color' => 'blue', 'td.h background' => '#c4ffff', 'td.err color' => 'black', @@ -153,6 +155,9 @@ $showndate = false; global $rigerror; $rigerror = array(); # +global $rownum; +$rownum = 0; +# function getcss($cssname, $dom = false) { global $colourtable, $colouroverride; @@ -216,6 +221,7 @@ function htmlhead($checkapi, $rig, $pg = null) Mine