Actions
Feature #1458
closedSeveral listing enhancements
ASK QUESTIONS IN Forums:
Description
The start point for this patch is the will to get an official ubuntu repository (fr.archive.ubuntu.com) from apache to lighty. For this, we have to keep some of the mechanisms ubuntu gives us and transfer them from apache to lighty. I tried to implement some of the mod_autoindex things in lighty mod_dirlisting, keeping in mind that it should stay light.
The patch attached basically changes the following things :- add dir-listing.encode-header and dir-listing.encode-readme, these options are booleans. It gives the ability to provide a valid html file as HEADER.txt and README.txt, these files are just printed before and after the actual listing. A further enhancement would be to choose the name of those files.
- add dir-listing.auto-layout, this option is a boolean. When disabled, it will remove the html part lighty was automatically outputing as the start of the page and the end (from <DOCTYPE to <body> and </body></html>). This lets the possibility to take care of those parts in the header and readme files.
- add dir-listing.pre-list, this option is a boolean. When enable, it will replace the <div></div> around the listing by < pre > < /pre > keeping the same css class.
Files
Updated by stbuehler about 16 years ago
- Target version changed from 1.4.20 to 1.4.21
Updated by icy almost 16 years ago
- Target version changed from 1.4.21 to 1.4.22
- Patch available set to Yes
Updated by stbuehler almost 16 years ago
- Target version changed from 1.4.22 to 1.4.23
Updated by stbuehler over 15 years ago
I don't see why we need pre instead of div; and we should drop the footer if auto-layout is disabled.
Updated by stbuehler over 15 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset r2478.
Updated by gstrauss over 8 years ago
- Related to Feature #1183: mod_dirlist.c supporting default_css added
Actions
Also available in: Atom