Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.3

Request #10015 static toc margin
Submitted: 2007-02-03 01:40 UTC
From: mfn at fs-etit dot de Assigned:
Status: Open Package: Text_Wiki (version 1.2.0RC1)
PHP Version: 5.1.4 OS: Windows/Linux
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mfn at fs-etit dot de
New email:
PHP Version: Package Version: OS:

 

 [2007-02-03 01:40 UTC] mfn at fs-etit dot de (mfn)
Description: ------------ In PEAR/Text/Wiki/Render/Xhtml/Toc.php the margin for the headings is defined static Line 37 var $min = 2; When you add 'min' => 2 to the conf Array its possible to change its value when needed. Delete line 37. After line 55 insert: $min = $this->getConf('min'); Line 104 has to be changed to: $pad = ($level - $min); Test script: --------------- Modified Toc.php : http://phpfi.com/199813

Comments