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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: x at xebu dot org
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 19:01:35 2025 UTC