#30204 [NEW]: hardcoded html in navigation needs to be removed.
| From: | curt@php.net | Date: | Thu, 23 Sep 2004 02:05:07 +0000 |
| Subject: | #30204 [NEW]: hardcoded html in navigation needs to be removed. | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969364245@lists.php.net to get a copy of this message | ||
From: curt@php.net
Operating system: *
PHP version: Irrelevant
PHP Bug Type: Livedocs problem
Bug description: hardcoded html in navigation needs to be removed.
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 bug report at http://bugs.php.net/?id=30204&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30204&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30204&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30204&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30204&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30204&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30204&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30204&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30204&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30204&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30204&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30204&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30204&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30204&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30204&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30204&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30204&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30204&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30204&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30204&r=mysqlcfg