#define ICP_DATA_SZ (sizeof(icp_databe_t))
#define ICP_MESSAGE_SZ (sizeof(icp_message_t))
#define ICP_MESSAGE_SZ (sizeof(icp_message_t))
+
+#define ICON_MENU "anthony-dir.gif"
+#define ICON_DIRUP "anthony-dirup.gif"
+#define ICON_LINK "anthony-link.gif"
/*
- * $Id: ftp.cc,v 1.134 1997/07/19 01:33:55 wessels Exp $
+ * $Id: ftp.cc,v 1.135 1997/07/19 07:18:00 wessels Exp $
*
* DEBUG: section 9 File Transfer Protocol (FTP)
* AUTHOR: Harvest Derived
if (!strcmp(line, "..")) {
sprintf(icon, "<IMG BORDER=0 SRC=\"%s%s\" ALT=\"%-6s\">",
"http://internal.squid/icons/",
- "menu",
+ ICON_DIRUP,
"[DIR]");
sprintf(link, "<A HREF=\"%s\">%s</A>", "../", "Parent Directory");
sprintf(html, "%s %s\n", icon, link);
case 'd':
sprintf(icon, "<IMG SRC=\"%s%s\" ALT=\"%-6s\">",
"http://internal.squid/icons/",
- "menu",
+ ICON_MENU,
"[DIR]");
sprintf(link, "<A HREF=\"%s/\">%s</A>%s",
ename,
case 'l':
sprintf(icon, "<IMG SRC=\"%s%s\" ALT=\"%-6s\">",
"http://internal.squid/icons/",
- mimeGetIcon(parts->link),
+ ICON_LINK,
"[LINK]");
sprintf(link, "<A HREF=\"%s\">%s</A>%s",
ename,
/*
- * $Id: mime.cc,v 1.33 1997/07/19 01:33:57 wessels Exp $
+ * $Id: mime.cc,v 1.34 1997/07/19 07:18:01 wessels Exp $
*
* DEBUG: section 25 MIME Parsing
* AUTHOR: Harvest Derived
MimeTableTail = &m->next;
}
fclose(fp);
+ mimeLoadIconFile(ICON_MENU);
+ mimeLoadIconFile(ICON_DIRUP);
+ mimeLoadIconFile(ICON_LINK);
}
static void