cvs: pear /Log/Log win.php

From: Date: Thu, 02 Mar 2006 03:06:44 +0000
Subject: cvs: pear /Log/Log win.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38833@lists.php.net to get a copy of this message
jon Thu Mar 2 03:06:44 2006 UTC Modified files: /pear/Log/Log win.php Log: Set the row alignment using CSS instead of inside every <tr> element that we write. This simplifies the output a bit. http://cvs.php.net/viewcvs.cgi/pear/Log/Log/win.php?r1=1.17&r2=1.18&diff_format=u Index: pear/Log/Log/win.php diff -u pear/Log/Log/win.php:1.17 pear/Log/Log/win.php:1.18 --- pear/Log/Log/win.php:1.17 Sat Feb 26 14:48:59 2005 +++ pear/Log/Log/win.php Thu Mar 2 03:06:43 2006 @@ -1,8 +1,8 @@ <?php /** - * $Header: /repository/pear/Log/Log/win.php,v 1.17 2005/02/26 14:48:59 chagenbu Exp $ + * $Header: /repository/pear/Log/Log/win.php,v 1.18 2006/03/02 03:06:43 jon Exp $ * - * @version $Revision: 1.17 $ + * @version $Revision: 1.18 $ * @package Log */ @@ -127,6 +127,7 @@ $win.document.writeln('td,th { font-size: 8pt; }'); $win.document.writeln('td,th { border-bottom: #999999 solid 1px; }'); $win.document.writeln('td,th { border-right: #999999 solid 1px; }'); +$win.document.writeln('tr { text-align: left; vertical-align: top; }'); $win.document.writeln('</style>'); $win.document.writeln('</head>'); $win.document.writeln('<body>'); @@ -233,7 +234,7 @@ list($usec, $sec) = explode(' ', microtime()); /* Build the output line that contains the log entry row. */ - $line = '<tr align="left" valign="top">'; + $line = '<tr>'; $line .= sprintf('<td>%s.%s</td>', strftime('%T', $sec), substr($usec, 2, 2)); if (!empty($this->_ident)) {

« previous php.pear.cvs (#38833) next »