]> code.citadel.org Git - citadel.git/blobdiff - webcit/floors.c
* Repaired all my b0rken COLOR tags
[citadel.git] / webcit / floors.c
index 1b9d36d41cb0431f77e67bce9e083d3a667520d3..e923065a3811fcd45f105b8380bc049b19338d90 100644 (file)
@@ -49,18 +49,17 @@ void display_floorconfig(char *prepend_html)
        serv_printf("LFLR");    /* FIXME put a real test here */
        serv_gets(buf);
        if (buf[0] != '1') {
-               wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
-               wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
-               wprintf("<B>Error</B>\n");
-               wprintf("</FONT></TD></TR></TABLE><BR>\n");
+               wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#770000\"><TR><TD>");
+               wprintf("<SPAN CLASS=\"titlebar\">Error</SPAN>\n");
+               wprintf("</TD></TR></TABLE><BR>\n");
                wprintf("%s<BR>\n", &buf[4]);
                wDumpContent(1);
                return;
        }
 
-       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>"
-               "<FONT SIZE=+1 COLOR=\"FFFFFF\"<B>Floor configuration"
-               "</B></FONT></TD></TR></TABLE>\n"
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=\"#007700\"><TR><TD>"
+               "<SPAN CLASS=\"titlebar\">Floor configuration</SPAN>"
+               "</TD></TR></TABLE>\n"
        );
 
        wprintf("<TABLE BORDER=1 WIDTH=100%>\n"
@@ -79,11 +78,13 @@ void display_floorconfig(char *prepend_html)
                        wprintf("</TD><TD>"
                                "<A HREF=\"/delete_floor?floornum=%d\">"
                                "<FONT SIZE=-1>(delete floor)</A>"
-                               "</FONT><BR><FONT SIZE=-1>"
-                               "<A HREF=\"/display_editfloorpic&"
-                               "which_floor=%d\">(edit graphic)</A>",
-                               floornum, floornum);
+                               "</FONT><BR>", floornum
+                       );
                }
+               wprintf("<FONT SIZE=-1>"
+                       "<A HREF=\"/display_editfloorpic&"
+                       "which_floor=%d\">(edit graphic)</A>",
+                       floornum);
                wprintf("</TD></TR></TABLE>");
                wprintf("</TD>");