Feature #2315
closeddir-listing.external-js
Description
Append option to dir-listing module to import a javascript external file in the dir-listing default html page.
For example: <script type="text/javascript" src="script.js"></script>.
This patch is append to release 1.4.28
Files
Updated by molyland over 13 years ago
- Assignee deleted (
molyland) - % Done changed from 0 to 100
Updated by ghost_1987 about 13 years ago
- Status changed from New to Patch Pending
Please add this feature into official source tree for the next release
Updated by spaam about 13 years ago
thats not a patch.. run svn diff and send us the output from that command.
svn diff > adding_external_js.patch or something.
Updated by molyland about 13 years ago
- File mod_dirlisting_patch.txt mod_dirlisting_patch.txt added
This is the proposed patch for mod_dirlisting.c (changeset 2799)
Updated by gstrauss over 8 years ago
- Related to Feature #613: client-selectable directory list sorting, patch included added
Updated by gstrauss over 8 years ago
- Status changed from Patch Pending to Need Feedback
A directive dir-listing.head-insert would be more generic. It would be similar to IndexHeadInsert from Apache 2.4 which inserts an configured string into head section.
I realize that your patch modeled off of dir-listing.external-css. The reason dir-listing.external-css can not be fold into a more generic dir-listing.head-insert is that if dir-listing.external-css is not specified, then mod_dirlisting provides a default CSS.
Note: this would only be enabled if dir-listing.auto-layout = "enable" (which is the default)
(and when updating this patch, please also read the previous feedback instructing not to renumber the options)
Updated by gstrauss over 8 years ago
- Status changed from Need Feedback to Patch Pending
- Target version changed from 1.4.x to 1.4.42
Updated by gstrauss over 8 years ago
- Status changed from Patch Pending to Fixed
Applied in changeset cfa3d27fc3f6c62350ea12f52a95e1c54ee547b7.
Also available in: Atom