From acb5f1b20af1124a9c9a92a65fc8606094f78d62 Mon Sep 17 00:00:00 2001 From: tenox Date: Wed, 24 Aug 2016 16:57:46 -0700 Subject: minor UI changes --- dir.c | 66 +++++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index 2573949..e6242ef 100644 --- a/dir.c +++ b/dir.c @@ -46,7 +46,7 @@ void dir_icoinita(void) { regcomp(®_med, "\\.(mp3|mp4|vaw|mov|avi|ivr|mkv)$", REG_EXTENDED | REG_ICASE)!=0 || regcomp(®_pdf, "\\.(pdf|ps|eps|ai)$", REG_EXTENDED | REG_ICASE)!=0 || regcomp(®_txt, "\\.(txt|asc|nfo|me|log|htm|html|shtml|js|jsp|php|xml|dtd|css|bas|c|h|cpp|cmd|bat|sh|ksh|awk|reg|log|bak|cfg|py)$", REG_EXTENDED | REG_ICASE)!=0 || - regcomp(®_exe, "\\.(exe|cmd|vbs|bat|com|pif)$", REG_EXTENDED | REG_ICASE)!=0 + regcomp(®_exe, "\\.(exe|com|pif)$", REG_EXTENDED | REG_ICASE)!=0 ) error("Unable to compile regex."); } @@ -164,7 +164,7 @@ void dirlist(void) { "font-family: Tahoma, Arial, Geneva, sans-serif; font-size:11px; }\n" ".hovout { border: none; padding: 0px; background-color: transparent; color: #0000CE; }\n" ".hovin { border: none; padding: 0px; background-color: transparent; color: #FF0000; }\n" - "//-->\n" + "-->\n" "\n" "\n" "\n" @@ -223,73 +223,73 @@ void dirlist(void) { // fprintf(cgiOut, "\n"\ - "\n"\ - "\n"\ - "\n"\ - "
\n"\ - "\n"\ - "\"Dir Up\n"\ - "\n"\ + "\n" + "\n" + "\n" + "\n", cgiScriptName, sortby, virt_parent, token, ICONSURL); fprintf(cgiOut, - "\n"\ - "\n", cgiScriptName, sortby, token, ICONSURL); fprintf(cgiOut, - "\n"\ - "\n", cgiScriptName, sortby, virt_dirname, token, ICONSURL); fprintf(cgiOut, "\n"\ - "\n", ICONSURL, (js) ? "onMouseOver=\"this.className='hovin';\" onMouseOut=\"this.className='hovout';\"" : ""); fprintf(cgiOut, - "\n"\ - "\n", ICONSURL, (js) ? "onMouseOver=\"this.className='hovin';\" onMouseOut=\"this.className='hovout';\"" : ""); fprintf(cgiOut, - "\n"\ - "\n", cgiScriptName, virt_dirname, token, ICONSURL); fprintf(cgiOut, "\n"\ - "\n", cgiScriptName, virt_dirname, token, ICONSURL); fprintf(cgiOut, - "\n"\ + "\n" "
\n" + "" + "\"Dir Up" + "\n" "\n"\ - "\n"\ - "\"Home\" Home\n"\ - "\n"\ + "\n" + "\n" + "" + "\"Home\" Home" + "\n" "\n"\ - "\n"\ - "\"Reload\" Refresh\n"\ - "\n"\ + "\n" + "\n" + "" + "\"Reload\" Refresh" + "\n" "\n"\ + "\n" "\n" "\n" "\n"\ + "\n" + "\n" "\n" "\n" "\n"\ - "\n"\ - "\"New New Folder\n"\ - "\n"\ + "\n" + "\n" + "\n" + "\"New New Folder\n" + "\n" "\n"\ - "\n"\ - "\"New New File\n"\ - "\n"\ + "\n" + "" + "\"New New File" + "\n" "\n" "\n" "\n" @@ -536,7 +536,7 @@ void dirlist(void) { "