php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30204 hardcoded html in navigation needs to be removed.
Submitted: 2004-09-23 04:05 UTC Modified: 2005-02-09 21:03 UTC
From: curt@php.net Assigned: ilia (profile)
Status: Closed Package: Livedocs problem
PHP Version: Irrelevant OS: *
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: curt@php.net
New email:
PHP Version: OS:

 

 [2004-09-23 04:05 UTC] curt@php.net
Description:
------------
In order to generate a menu similar to php's, the generation of the menu needs to by flexible, Here is a patch that will allow this:

http://www.powertrip.co.za/livedocs/viewpatch.php?patch=12

Summary of Changes:
* create new constansts, that are defined in the html_format.php:

  NAV_TRUNCATE - 0 for no truncation, otherwise truncates at
  number specified. (defaults to 25)

  NAV_SPACE - the character to use for spaces between navigation words. (default  )

  NAV_START - html to be used before navigation should be started.

  NAV_END - html used after navigation

  NAV_CHILDREN_EMBEDED - where to place children navigation items. if true, under the currently selected item, otherwise at the end of the list. (defaults to false)

* new optionional nav_item() function. used to wrap special
  html around a navigation element.

* special css classes on navigation items that get folded.
  (header up home)

* special css class on the last child,if CHILDREN_EMBEDED is true.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-09 21:03 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC