From f35c77fa59dbcd8170355abea9bc3af33bb1c900 Mon Sep 17 00:00:00 2001 From: kanoi Date: Sun, 25 Oct 2015 00:58:01 +1100 Subject: [PATCH] php - set better visual defaults --- pool/page_luck.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/pool/page_luck.php b/pool/page_luck.php index 411d6b85..9a806743 100644 --- a/pool/page_luck.php +++ b/pool/page_luck.php @@ -29,12 +29,6 @@ function doluck($data, $user) else $ans = getBlocks($user); - $iCrap = strpos($_SERVER['HTTP_USER_AGENT'],'iP'); - if ($iCrap) - $vlines = false; - else - $vlines = true; - $pg = '

Pool Avg Block Luck History


'; if ($ans['STATUS'] == 'ok' and isset($ans['rows']) and $ans['rows'] > 0) @@ -53,9 +47,7 @@ function doluck($data, $user) 'tkey' => 'time key', 'tlines' => 'time lines', 'over' => 'key overlap', 'smooth' => 'smooth', 'utc' => 'utc'); - $xon = array('skey' => 1, 'utc' => 1); - if ($vlines === true) - $xon['slines'] = 1; + $xon = array('skey' => 1, 'tkey' => 1, 'tlines' => 1, 'utc' => 1); $pg .= '
'; foreach ($cbx as $nam => $txt)