From: Stig Bakken Date: Thu, 3 Apr 2003 23:12:40 +0000 (+0000) Subject: * disable table borders in output to save width X-Git-Tag: RELEASE_0_5~156 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d4142b89653997ca6177d01b8c5c81c0903d68e;p=php * disable table borders in output to save width --- diff --git a/pear/PEAR/Frontend/CLI.php b/pear/PEAR/Frontend/CLI.php index da958b842c..ba30702813 100644 --- a/pear/PEAR/Frontend/CLI.php +++ b/pear/PEAR/Frontend/CLI.php @@ -254,7 +254,7 @@ class PEAR_Frontend_CLI extends PEAR function endTable() { - trigger_error("PEAR_Frontend_CLI::tableRow deprecated", E_USER_ERROR); + trigger_error("PEAR_Frontend_CLI::endTable deprecated", E_USER_ERROR); } function _endTable() @@ -275,6 +275,7 @@ class PEAR_Frontend_CLI extends PEAR } } } + $border = false; if (empty($border)) { $cellstart = ''; $cellend = ' '; @@ -358,7 +359,7 @@ class PEAR_Frontend_CLI extends PEAR if (isset($data['release_warnings'])) { $this->_displayLine(''); $this->_startTable(array( - 'border' => true, + 'border' => false, 'caption' => 'Release Warnings' )); $this->_tableRow(array($data['release_warnings']), null, array(1 => array('wrap' => 55))); @@ -394,7 +395,7 @@ class PEAR_Frontend_CLI extends PEAR $this->_endTable(); break; case 'config-show': - $data['border'] = true; + $data['border'] = false; $opts = array(0 => array('wrap' => 30), 1 => array('wrap' => 20), 2 => array('wrap' => 35)); @@ -417,7 +418,7 @@ class PEAR_Frontend_CLI extends PEAR case 'remote-info': $data = array( 'caption' => 'Package details:', - 'border' => true, + 'border' => false, 'data' => array( array("Latest", $data['stable']), array("Installed", $data['installed']),