From 0477a0720841098ff1fa396e80b6259d827e437c Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 1 Nov 2009 00:53:09 +1300 Subject: [PATCH] Multi-Lingual FTP directory listing This replaces hard-coded FTP directory page with dynamically loaded 'error page' same as all other FTP result HTML outputs. This has the added benefit of making the page HTML standards compliant, CSS branded, and presentable in any of the auto-negotiated languages. --- doc/release-notes/release-3.2.sgml | 8 +- errors/errorpage.css | 9 + errors/templates/ERR_DIR_LISTING | 6 +- src/MemBuf.h | 4 +- src/cache_cf.cc | 4 + src/cf.data.pre | 10 - src/err_type.h | 1 + src/errorpage.cc | 9 +- src/errorpage.h | 2 + src/ftp.cc | 390 ++++++++++------------------- 10 files changed, 157 insertions(+), 286 deletions(-) diff --git a/doc/release-notes/release-3.2.sgml b/doc/release-notes/release-3.2.sgml index e2ca6a7b69..36c6affe96 100644 --- a/doc/release-notes/release-3.2.sgml +++ b/doc/release-notes/release-3.2.sgml @@ -335,12 +335,8 @@ This section gives a thorough account of those changes in three categories: Removed tags