|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-07 12:37 UTC] goba@php.net
[2002-06-07 12:47 UTC] mitja at doticni dot net
[2002-06-07 12:52 UTC] goba@php.net
[2002-06-07 13:29 UTC] mitja at doticni dot net
[2002-06-07 14:17 UTC] goba@php.net
[2002-07-06 12:37 UTC] goba@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 21:00:01 2025 UTC |
After #17644 is done, the manual pages could be reworked so that only one page per language is needed, instead of two (print/non-print). I suggest this is done so that the printable version is seen when the file is passed straight to browser (something.html), and the displayable version is shown when the same file is processed through PHP. Something like this: <!--<? manualHeader(...); if ($print) { ?>--> print-only stuff <!--<? } ?>--> stuff common to both <!--<? if (!$hidenotes) { ?>--> notes <!--<? } manualFooter(...); ?>--> Then, non-existing directories could be used for the displayable version, which would pass the request through error.php, which would include the neccesary logic. This would cut the number of files on the site in half, and the disk space requirements for a mirror (together with #17644) even more. Additionally, it would be easy to both show and not show notes in the printable layout, again with using no additional files on the servers.