php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22334 small correction in pres2 for table in plainhtml
Submitted: 2003-02-20 11:53 UTC Modified: 2004-01-19 11:03 UTC
From: x at xebu dot org Assigned:
Status: Not a bug Package: Website problem
PHP Version: 4CVS-2003-02-20 (stable) OS: Linux
Private report: No CVE-ID: None
 [2003-02-20 11:53 UTC] x at xebu dot org
In fact may not be a bug.

To use plainhtml output in pres2 w/ php 4.1.2 i've done those changes (see below) to have tables w/multiple columns.

(I know, 4.1.2 is far from the highest php. But the pres2 is from the php4CVS of yesterday  evening. You do as you wish)

in objects.php:

1818c1818
<                       $i = 1;
---
>                       $i = 0;
1820c1820
<                               if(!($i % $this->columns)) {
---
>                               if(($i % $this->columns)==0) {
1826c1826
<                               if(($i % $this->columns)==0) {
---
>                               if(($i % $this->columns)!=0) {

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-20 11:57 UTC] philip@php.net
reclassified -> phpweb.

p.s. unified diffs are preferred
 [2004-01-19 11:03 UTC] goba@php.net
This patch is not relevant anymore, objects.php was changed significantly...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 02:01:29 2024 UTC