added a background image based on Pauls SAMBA logo but manipulated a
authorAndrew Tridgell <tridge@samba.org>
Sat, 14 Mar 1998 23:55:27 +0000 (23:55 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sat, 14 Mar 1998 23:55:27 +0000 (23:55 +0000)
little with GIMP

source/web/swat.c
swat/images/background.gif [new file with mode: 0644]

index 422259a05a292967bd5be45a1d91a9375aa2a005..d479df9c35eb237511143e0549be485bddae761f 100644 (file)
@@ -45,7 +45,7 @@ static void print_header(void)
        printf("Expires: 0\r\n");
        printf("Content-type: text/html\r\n\r\n");
        printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2//EN\">\n");
-       printf("<HTML>\n<HEAD>\n<TITLE>Samba Web Administration Tool</TITLE>\n</HEAD>\n<BODY>\n\n");
+       printf("<HTML>\n<HEAD>\n<TITLE>Samba Web Administration Tool</TITLE>\n</HEAD>\n<BODY background=\"%simages/background.gif\">\n\n", cgi_rooturl());
 }
 
 
diff --git a/swat/images/background.gif b/swat/images/background.gif
new file mode 100644 (file)
index 0000000..46c8796
Binary files /dev/null and b/swat/images/background.gif differ