#30204 [Opn->Csd]: hardcoded html in navigation needs to be removed.
| From: | iliaa@php.net | Date: | Wed, 09 Feb 2005 20:03:51 +0000 |
| Subject: | #30204 [Opn->Csd]: hardcoded html in navigation needs to be removed. | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969366468@lists.php.net to get a copy of this message | ||
ID: 30204
Updated by: iliaa@php.net
Reported By: curt@php.net
-Status: Open
+Status: Closed
Bug Type: Livedocs problem
Operating System: *
PHP Version: Irrelevant
Assigned To: ilia
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-09-23 04:05:02] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30204&edit=1