You are here

function TableDiffFormatter::_block_header in Diff 5

Overrides DiffFormatter::_block_header

File

./DiffEngine.php, line 1043

Class

TableDiffFormatter
Wikipedia Table style diff formatter. @todo document @private @subpackage DifferenceEngine

Code

function _block_header($xbeg, $xlen, $ybeg, $ylen) {
  $r = '<tr><td colspan="2" align="left"><strong>' . t('Line @line', array(
    '@line' => $xbeg,
  )) . "</strong></td>\n" . '<td colspan="2" align="left"><strong>' . t('Line @line', array(
    '@line' => $ybeg,
  )) . "</strong></td></tr>\n";
  return $r;
}