/**********************************************************************/ /** Microsoft Windows NT **/ /** Copyright(c) Microsoft Corp., 1994 **/ /**********************************************************************/ /* dirlist.cxx This module contains the code for producing an HTML directory listing FILE HISTORY: Johnl 09-Sep-1994 Created MuraliK 06-Dec-1995 Added support to use WIN32_FIND_DATA */ #include "w3p.hxx" #include // // Private constants. // // // Private globals. // CHAR g_achToParentText[100]; DWORD g_fDirFlagsSet = FALSE; // // Private Manifests // // // The first part of the HTML document, %s is the URL // #define HTML_DIR_HEADER "%s - %s" \ "

%s - %s

" \ "
\r\n\r\n
"

//
//  The footer for an HTML document
//

#define HORZ_RULE                   "

" // // These constants define the field width for the directory listing // #define PAD_LONG_DATE 29 #define PAD_SHORT_DATE 10 #define PAD_TIME 8 #define PAD_FILESIZE 12 // // Space between columns // #define COL_SPACE " " #define PAD_COL_SPACING (sizeof(COL_SPACE) - 1) // // A wsprintf format string that prints the file format like: // //