Browse Source

Merged in ordonezalex/ckpool (pull request #6)

Fix HTML attribute typo: callpadding -> cellpadding
master
TheKano 9 years ago
parent
commit
bff0508350
  1. 2
      pool/page_addrmgt.php
  2. 4
      pool/page_blocks.php
  3. 2
      pool/page_ckp.php
  4. 8
      pool/page_events.php
  5. 2
      pool/page_ips.php
  6. 2
      pool/page_mpayouts.php
  7. 2
      pool/page_payments.php
  8. 2
      pool/page_percent.php
  9. 2
      pool/page_pplns.php
  10. 2
      pool/page_pplns2.php
  11. 2
      pool/page_shifts.php
  12. 2
      pool/page_stats.php
  13. 2
      pool/page_userinfo.php
  14. 2
      pool/page_workers.php
  15. 2
      pool/page_workmgt.php

2
pool/page_addrmgt.php

@ -8,7 +8,7 @@ function addrmgtuser($data, $user, $err)
$pg .= "<span class=err>$err<br><br></span>"; $pg .= "<span class=err>$err<br><br></span>";
$pg .= makeForm('addrmgt'); $pg .= makeForm('addrmgt');
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<thead><tr class=title>'; $pg .= '<thead><tr class=title>';
$pg .= '<td class=dc>#</td>'; $pg .= '<td class=dc>#</td>';
$pg .= '<td class=dl>Address</td>'; $pg .= '<td class=dl>Address</td>';

4
pool/page_blocks.php

@ -90,7 +90,7 @@ function doblocks($data, $user)
if ($ans['STATUS'] == 'ok' and isset($ans['s_rows']) and $ans['s_rows'] > 0) if ($ans['STATUS'] == 'ok' and isset($ans['s_rows']) and $ans['s_rows'] > 0)
{ {
$pg .= '<h1>Block Statistics</h1>'; $pg .= '<h1>Block Statistics</h1>';
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= "<thead><tr class=title>"; $pg .= "<thead><tr class=title>";
$pg .= "<td class=dl>Description</td>"; $pg .= "<td class=dl>Description</td>";
$pg .= "<td class=dr>Time</td>"; $pg .= "<td class=dr>Time</td>";
@ -169,7 +169,7 @@ function doblocks($data, $user)
$pg .= "&nbsp;Red&nbsp;</span>&nbsp;"; $pg .= "&nbsp;Red&nbsp;</span>&nbsp;";
$pg .= 'is bad luck. Higher Diff% and brighter red is worse luck.<br><br>'; $pg .= 'is bad luck. Higher Diff% and brighter red is worse luck.<br><br>';
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= "<thead><tr class=title>"; $pg .= "<thead><tr class=title>";
$pg .= "<td class=dr>#</td>"; $pg .= "<td class=dr>#</td>";
$pg .= "<td class=dl>Height</td>"; $pg .= "<td class=dl>Height</td>";

2
pool/page_ckp.php

@ -26,7 +26,7 @@ function dockp($data, $user)
$ans = repDecode($rep); $ans = repDecode($rep);
$pg .= 'TotalRAM: '.stnum($ans['totalram']).'<br>'; $pg .= 'TotalRAM: '.stnum($ans['totalram']).'<br>';
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<thead><tr class=title>'; $pg .= '<thead><tr class=title>';
$pg .= '<td class=dl>Name</td>'; $pg .= '<td class=dl>Name</td>';
$pg .= '<td class=dr>Initial</td>'; $pg .= '<td class=dr>Initial</td>';

8
pool/page_events.php

@ -20,7 +20,7 @@ What: <input type=text name=what size=10 value='$wh'>
$other = array('event_limits_hash_lifetime', $other = array('event_limits_hash_lifetime',
'ovent_limits_ipc_factor'); 'ovent_limits_ipc_factor');
$pg .= "<br><br><table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<br><br><table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<thead><tr class=title>'; $pg .= '<thead><tr class=title>';
$pg .= '<td class=dr>#</td>'; $pg .= '<td class=dr>#</td>';
$pg .= '<td class=dl>Name</td>'; $pg .= '<td class=dl>Name</td>';
@ -60,7 +60,7 @@ What: <input type=text name=what size=10 value='$wh'>
'ip_hi_time_limit' => 'IPHiLim', 'ip_hi_time_limit' => 'IPHiLim',
'lifetime' => 'Life'); 'lifetime' => 'Life');
$pg .= "<br><br><table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<br><br><table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<thead><tr class=title>'; $pg .= '<thead><tr class=title>';
$pg .= '<td class=dr>#</td>'; $pg .= '<td class=dr>#</td>';
$pg .= '<td class=dl>Name</td>'; $pg .= '<td class=dl>Name</td>';
@ -103,7 +103,7 @@ What: <input type=text name=what size=10 value='$wh'>
{ {
$ans = eventCmd($user, array('action' => 'events', 'list' => $wh)); $ans = eventCmd($user, array('action' => 'events', 'list' => $wh));
$pg .= "<br><br><table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<br><br><table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<thead><tr class=title>'; $pg .= '<thead><tr class=title>';
$pg .= '<td class=dr>#</td>'; $pg .= '<td class=dr>#</td>';
$pg .= '<td class=dl>List</td>'; $pg .= '<td class=dl>List</td>';
@ -148,7 +148,7 @@ What: <input type=text name=what size=10 value='$wh'>
{ {
$ans = eventCmd($user, array('action' => 'ovents')); $ans = eventCmd($user, array('action' => 'ovents'));
$pg .= "<br><br><table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<br><br><table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<thead><tr class=title>'; $pg .= '<thead><tr class=title>';
$pg .= '<td class=dr>#</td>'; $pg .= '<td class=dr>#</td>';
$pg .= '<td class=dl>Key</td>'; $pg .= '<td class=dl>Key</td>';

2
pool/page_ips.php

@ -6,7 +6,7 @@ function doips($data, $user)
$ans = eventCmd($user, array('action' => 'ips')); $ans = eventCmd($user, array('action' => 'ips'));
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<thead><tr class=title>'; $pg .= '<thead><tr class=title>';
$pg .= '<td class=dr>#</td>'; $pg .= '<td class=dr>#</td>';
$pg .= '<td class=dl>Group</td>'; $pg .= '<td class=dl>Group</td>';

2
pool/page_mpayouts.php

@ -11,7 +11,7 @@ function dompayouts($data, $user)
$pg .= makeLink('payments'); $pg .= makeLink('payments');
$pg .= "Payments</a> page for the payments you've been sent.<br><br>"; $pg .= "Payments</a> page for the payments you've been sent.<br><br>";
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<thead><tr class=title>'; $pg .= '<thead><tr class=title>';
$pg .= '<td class=dr>Block</td>'; $pg .= '<td class=dr>Block</td>';
$pg .= '<td class=dr>Block UTC</td>'; $pg .= '<td class=dr>Block UTC</td>';

2
pool/page_payments.php

@ -27,7 +27,7 @@ function dopayments($data, $user)
$ans = getPayments($user); $ans = getPayments($user);
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<thead><tr class=title>'; $pg .= '<thead><tr class=title>';
$pg .= '<td class=dl>Block</td>'; $pg .= '<td class=dl>Block</td>';
$pg .= '<td class=dl>Address</td>'; $pg .= '<td class=dl>Address</td>';

2
pool/page_percent.php

@ -143,7 +143,7 @@ function dopercent($data, $user)
{ {
$pg = '<h1>Address Percents</h1>'; $pg = '<h1>Address Percents</h1>';
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table cellpadding=0 cellspacing=0 border=0>\n";
$totshare = 0; $totshare = 0;
$totdiff = 0; $totdiff = 0;

2
pool/page_pplns.php

@ -231,7 +231,7 @@ Block: <input type=text name=blk size=10 value='$blkuse'>
$pg .= str_replace(' ', '&nbsp;', $msg)."</span><br>\n"; $pg .= str_replace(' ', '&nbsp;', $msg)."</span><br>\n";
} }
$pg .= "<br><table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<br><table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<tr class=title>'; $pg .= '<tr class=title>';
$pg .= '<td class=dl>Name</td>'; $pg .= '<td class=dl>Name</td>';
$pg .= '<td class=dr>Value</td>'; $pg .= '<td class=dr>Value</td>';

2
pool/page_pplns2.php

@ -235,7 +235,7 @@ Block: <input type=text name=blk size=10 value='$blkuse'>
$pg .= str_replace(' ', '&nbsp;', $msg)."</span><br>\n"; $pg .= str_replace(' ', '&nbsp;', $msg)."</span><br>\n";
} }
$pg .= "<br><table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<br><table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<tr class=title>'; $pg .= '<tr class=title>';
$pg .= '<td class=dl>Name</td>'; $pg .= '<td class=dl>Name</td>';
$pg .= '<td class=dr>Value</td>'; $pg .= '<td class=dr>Value</td>';

2
pool/page_shifts.php

@ -5,7 +5,7 @@ function doshifts($data, $user)
$ans = getShifts($user); $ans = getShifts($user);
$pg = "Click <a href='#payoutmark'>here</a> to jump to the start of the last payout<br><br>"; $pg = "Click <a href='#payoutmark'>here</a> to jump to the start of the last payout<br><br>";
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<thead><tr class=title>'; $pg .= '<thead><tr class=title>';
$pg .= '<td class=dl>Shift</td>'; $pg .= '<td class=dl>Shift</td>';
$pg .= '<td class=dl>Start UTC</td>'; $pg .= '<td class=dl>Start UTC</td>';

2
pool/page_stats.php

@ -65,7 +65,7 @@ function dostats($data, $user)
$ans = getAllUsers($user); $ans = getAllUsers($user);
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<thead><tr class=title>'; $pg .= '<thead><tr class=title>';
$pg .= '<td class=dl>Username</td>'; $pg .= '<td class=dl>Username</td>';
$pg .= '<td class=dr>Hash Rate 5m</td>'; $pg .= '<td class=dr>Hash Rate 5m</td>';

2
pool/page_userinfo.php

@ -20,7 +20,7 @@ function douserinfo($data, $user)
$ans = getUserInfo($user); $ans = getUserInfo($user);
$pg = '<h1>Block Acclaim</h1>'; $pg = '<h1>Block Acclaim</h1>';
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<thead><tr class=title>'; $pg .= '<thead><tr class=title>';
$pg .= '<td class=dl>User</td>'; $pg .= '<td class=dl>User</td>';
$pg .= '<td class=dr>Blocks</td>'; $pg .= '<td class=dr>Blocks</td>';

2
pool/page_workers.php

@ -7,7 +7,7 @@ function worktable()
{a=c.getAttribute('data-hid');if(a){if(b){c.className=a}else{c.className='hid'}}}}}"; {a=c.getAttribute('data-hid');if(a){if(b){c.className=a}else{c.className='hid'}}}}}";
$pg .= "</script>\n"; $pg .= "</script>\n";
$pg .= "Show Details for Invalids: <input type=checkbox onclick='wkdet(\"wkt\",this)'><br>"; $pg .= "Show Details for Invalids: <input type=checkbox onclick='wkdet(\"wkt\",this)'><br>";
$pg .= "<table id=wkt callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table id=wkt cellpadding=0 cellspacing=0 border=0>\n";
return $pg; return $pg;
} }
# #

2
pool/page_workmgt.php

@ -23,7 +23,7 @@ function workmgtuser($data, $user, $err)
} }
$pg .= makeForm('workmgt'); $pg .= makeForm('workmgt');
$pg .= "<table callpadding=0 cellspacing=0 border=0>\n"; $pg .= "<table cellpadding=0 cellspacing=0 border=0>\n";
$pg .= '<tr class=title>'; $pg .= '<tr class=title>';
$pg .= '<td class=dl>Worker Name</td>'; $pg .= '<td class=dl>Worker Name</td>';
$pg .= '<td class=dr>Minimum Diff</td>'; $pg .= '<td class=dr>Minimum Diff</td>';

Loading…
Cancel
Save