Replace occurrences of % throughout the HTML with %% so as to be friendly
authorMichael Hampton <io_error@uncensored.citadel.org>
Thu, 14 Sep 2000 11:43:37 +0000 (11:43 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Thu, 14 Sep 2000 11:43:37 +0000 (11:43 +0000)
to HP/UX printf() and possibly others.

13 files changed:
webcit/ChangeLog
webcit/auth.c
webcit/graphics.c
webcit/mainmenu.c
webcit/messages.c
webcit/netconf.c
webcit/paging.c
webcit/roomops.c
webcit/siteconfig.c
webcit/sysmsgs.c
webcit/userlist.c
webcit/webcit.c
webcit/who.c

index 28c30b57cdeb2ca1891bc56bce5f6af078567740..8ea52dd12ac8db9ae783cdebc6093f780176492e 100644 (file)
@@ -1,4 +1,8 @@
 $Log$
+Revision 212.10  2000/09/14 11:43:37  error
+Replace occurrences of % throughout the HTML with %% so as to be friendly
+to HP/UX printf() and possibly others.
+
 Revision 212.9  2000/09/13 04:13:59  ajc
 * Completed the initial hack of the variable substitution template thingy.
   Check out static/login.html to see the first template.
@@ -477,3 +481,4 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
+
index 5ec9b829ee8c876ebec95a028d4892a1c2621dee..df051242c67f70302a400aaab1f7de089763f377 100644 (file)
@@ -276,7 +276,7 @@ void display_reg(int during_login)
 
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Enter registration info</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -379,7 +379,7 @@ void display_changepw(void)
 
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Change your password</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
index 043c96c534ac85f3692ca480c4b08724dadd1ddb..d2fa9994caa1a91eb8431cc1ceed2c6cfe03c576 100644 (file)
@@ -31,7 +31,7 @@ void display_graphics_upload(char *description, char *check_cmd, char *uplurl)
                return;
        }
        output_headers(1);
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Set/change %s</B>\n", description);
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -105,7 +105,7 @@ void select_floor_to_edit_pic(void)
 
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Select floor to edit label graphic</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
index 53af244cb6ac2c4226a9d8091fbd3dfa20b1c310..4d28b103b47845662df0e2118f0375e2af414c22 100644 (file)
@@ -98,10 +98,10 @@ void embed_main_menu(void)
 void embed_advanced_menu(void)
 {
 
-       wprintf("<TABLE WIDTH=100%><TR VALIGN=TOP><TD>");
+       wprintf("<TABLE WIDTH=100%%><TR VALIGN=TOP><TD>");
 
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Interaction</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -120,7 +120,7 @@ void embed_advanced_menu(void)
 
        wprintf("</TD><TD>");
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Your info</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -143,7 +143,7 @@ void embed_advanced_menu(void)
 
        wprintf("</TD></TR><TR VALIGN=TOP><TD>");
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=000077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Advanced room commands</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -166,7 +166,7 @@ void embed_advanced_menu(void)
        wprintf("</TD><TD>");
 
        if ((WC->axlevel >= 6) || (WC->is_room_aide)) {
-               wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007777><TR><TD>");
+               wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007777><TR><TD>");
                wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
                wprintf("<B>Administrative functions</B>\n");
                wprintf("</FONT></TD></TR></TABLE>\n");
@@ -192,7 +192,7 @@ void embed_advanced_menu(void)
        }
        wprintf("</TD></TR></TABLE>");
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770077><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Basic commands</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -229,7 +229,7 @@ void display_generic(void)
 {
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770077><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Enter a server command</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -271,7 +271,7 @@ void do_generic(void)
        serv_printf("%s", bstr("g_cmd"));
        serv_gets(buf);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770077><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Server command results</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
index eafa14212d1d68e24b90d1b89137739a095a7ece..5ce75793a4197a67c57c795dc9e9c9d8096b88a2 100644 (file)
@@ -102,7 +102,7 @@ void read_message(long msgnum, int is_summary) {
                wprintf("<STRONG>ERROR:</STRONG> %s<BR>\n", &buf[4]);
                return;
        }
-       wprintf("<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR=000077><TR><TD>\n");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR=000077><TR><TD>\n");
        wprintf("<FONT ");
        if (!is_summary) wprintf("SIZE=+1 ");
        wprintf("COLOR=\"FFFF00\"> ");
@@ -421,7 +421,7 @@ void post_message(void)
 void prompt_for_recipient()
 {
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Send private e-mail</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -511,7 +511,7 @@ void confirm_delete_msg(void)
 
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Confirm deletion of message</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -570,7 +570,7 @@ void confirm_move_msg(void)
 
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Confirm move of message</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
index e069fe6ac49456dcc234354cad651adb57ce0740..ee2095031028c24f7700ec29c4bb12a9654bb78b 100644 (file)
@@ -42,7 +42,7 @@ void display_edit_node(void)
        strcpy(node, bstr("node"));
 
        output_headers(1);
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=000077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Edit share list for ");
        escputs(node);
@@ -86,7 +86,7 @@ void display_netconf(void)
        char node[256];
 
        output_headers(1);
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Network configuration</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -96,7 +96,7 @@ void display_netconf(void)
        wprintf("Add a new node</A><BR>\n");
        wprintf("</CENTER>");
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=000077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Currently configured nodes</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -129,7 +129,7 @@ void display_confirm_unshare(void)
        char sroom[256];
 
        output_headers(1);
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Confirm unshare</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -156,7 +156,7 @@ void display_confirm_delete_node(void)
        char node[256];
 
        output_headers(1);
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Confirm delete</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -220,7 +220,7 @@ void display_add_node(void)
 {
 
        output_headers(1);
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Add a new node</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -278,7 +278,7 @@ void display_share(void)
        strcpy(node, bstr("node"));
 
        output_headers(1);
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Add a shared room</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
index ce7d05775e4b1e6158011c731095f6caa8ade509..1465e2545ae5abde9b71a4aa99d1c39afb675d96 100644 (file)
@@ -32,7 +32,7 @@ void display_page(void)
 
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Page another user</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -120,7 +120,7 @@ void do_chat(void)
 
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=000077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Real-time chat</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -157,7 +157,7 @@ void page_popup(void)
 
                extract(pagefrom, &buf[4], 3);
 
-               wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+               wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
                wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\""
                        "<B>Express message from ");
                escputs(pagefrom);
index cf3bc44d8859772c3edba06ca7f2f70db21879d5..4ece0e836ad2e7a4c671e5a76c14dfc5a2111a59 100644 (file)
@@ -226,7 +226,7 @@ void list_all_rooms_by_floor(void)
 
        output_headers(1);
 
-       wprintf("<TABLE width=100% border><TR><TH>Floor</TH>");
+       wprintf("<TABLE width=100%% border><TR><TH>Floor</TH>");
        wprintf("<TH>Rooms with new messages</TH>");
        wprintf("<TH>Rooms with no new messages</TH></TR>\n");
 
@@ -271,7 +271,7 @@ void list_all_rooms_by_floor(void)
 void zapped_list(void)
 {
        output_headers(1);
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Zapped (forgotten) rooms</B>\n");
        wprintf("</TD></TR></TABLE><BR>\n");
@@ -627,7 +627,7 @@ void display_editroom(void)
 
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=000077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Room administration</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -641,7 +641,7 @@ void display_editroom(void)
                "Edit this room's Info file</A>\n"
                "</UL>");
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=000077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Room editing</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -943,7 +943,7 @@ void display_entroom(void)
        }
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=000077><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Enter (create) a new room</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -1024,7 +1024,7 @@ void display_private(char *rname, int req_pass)
 
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Goto a private room</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -1098,7 +1098,7 @@ void display_zap(void)
 {
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Zap (forget) the current room</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
@@ -1163,7 +1163,7 @@ void confirm_delete_room(void)
                return;
        }
        output_headers(1);
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=770000><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Confirm deletion of room</B>\n");
        wprintf("</FONT></TD></TR></TABLE>\n");
index cc9433fc9a35cf42824f0c8ce839be89de36f826..2e5c29527c86a32c2123f4865ca7548d1606f74d 100644 (file)
@@ -39,7 +39,7 @@ void display_siteconfig(void)
        serv_printf("CONF get");
        serv_gets(buf);
        if (buf[0] != '1') {
-               wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");
+               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");
@@ -48,7 +48,7 @@ void display_siteconfig(void)
                return;
        }
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"<B>Site configuration");
        wprintf("</B></FONT></TD></TR></TABLE>\n");
 
index 0e3dc6a64c5a728c0774d4959c47b38709988fe7..5934e3db16b5bff84161152656109aa6ec7de023 100644 (file)
@@ -45,7 +45,7 @@ void display_edit(char *description, char *check_cmd,
        }
        output_headers(1);
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>Edit ");
        escputs(description);
index ca2fb3864987220bf45cc888a233718a01ecdc44..45ba3f421119d4aba3f915bb154e9fc7e144e0be 100644 (file)
@@ -57,7 +57,7 @@ void userlist(void)
                wprintf("<EM>%s</EM><BR>\n", &buf[4]);
                goto DONE;
        }
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>User list for ");
        escputs(serv_info.serv_humannode);
@@ -116,7 +116,7 @@ void showuser(void)
        output_headers(1);
 
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"<B>User profile");
        wprintf("</B></FONT></TD></TR></TABLE>\n");
 
index 9751dd47d078bea0ebf4e7abad587ed43dc2bcef..a854240f630160050c0ced623badbaf3de3e916b 100644 (file)
@@ -174,7 +174,7 @@ void wDumpContent(int print_standard_html_footer)
 {
        if (WC->fake_frames) {
                wprintf("<CENTER><FONT SIZE=-1>"
-                       "<TABLE border=0 width=100%><TR>"
+                       "<TABLE border=0 width=100%%><TR>"
                        "<TD><A HREF=\"/ungoto\">"
                        "<IMG SRC=\"/static/back.gif\" BORDER=0>"
                        "Ungoto</A></TD>");
@@ -364,13 +364,13 @@ void output_headers(int controlcode)
 
        if (print_standard_html_head == 1) {
                wprintf("<A NAME=\"TheTop\"></A>"
-                       "<TABLE border=0 width=100%>"
+                       "<TABLE border=0 width=100%%>"
                        "<TR VALIGN=TOP><TD VALIGN=LEFT CELLPADDING=0>");
 
                display_menubar(0);
 
                wprintf("</TD><TD VALIGN=TOP>"
-                       "<TABLE border=0 width=100%><TR VALIGN=TOP>"
+                       "<TABLE border=0 width=100%%><TR VALIGN=TOP>"
                        "<TD>\n");
 
                embed_room_banner(NULL);
@@ -514,7 +514,7 @@ void convenience_page(char *titlebarcolor, char *titlebarmsg, char *messagetext)
 {
        wprintf("HTTP/1.0 200 OK\n");
        output_headers(1);
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=%s><TR><TD>", titlebarcolor);
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=%s><TR><TD>", titlebarcolor);
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"");
        wprintf("<B>%s</B>\n", titlebarmsg);
        wprintf("</FONT></TD></TR></TABLE><BR>\n");
index dadbf041c632f01ba227efa9a28427c77ffbec32..ab2ad90bd00602ad7e18cc18345c507da91d58e3 100644 (file)
@@ -59,12 +59,12 @@ void whobbs(void)
                "</SCRIPT>\n"
        );
 
-       wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
+       wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=007700><TR><TD>");
        wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"<B>Users currently on ");
        escputs(serv_info.serv_humannode);
        wprintf("</B></FONT></TD></TR></TABLE>\n");
 
-       wprintf("<CENTER>\n<TABLE BORDER=1 WIDTH=100%>\n<TR>\n");
+       wprintf("<CENTER>\n<TABLE BORDER=1 WIDTH=100%%>\n<TR>\n");
        wprintf("<TH>Session ID</TH>\n");
        wprintf("<TH>User Name</TH>\n");
        wprintf("<TH>Room</TH>");
@@ -184,7 +184,7 @@ void edit_me(void)
 
                output_headers(3);
 
-               wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=000077><TR><TD>");
+               wprintf("<TABLE WIDTH=100%% BORDER=0 BGCOLOR=000077><TR><TD>");
                wprintf("<FONT SIZE=+1 COLOR=\"FFFFFF\"><B>");
                wprintf("Edit your session display");
                wprintf("</B></FONT></TD></TR></TABLE>\n");
@@ -197,7 +197,7 @@ void edit_me(void)
 
                wprintf("<FORM METHOD=\"POST\" ACTION=\"/edit_me\">\n");
 
-               wprintf("<TABLE border=0 width=100%>\n");
+               wprintf("<TABLE border=0 width=100%%>\n");
 
                wprintf("<TR><TD><B>Room name:</B></TD>\n<TD>");
                wprintf("<INPUT TYPE=\"text\" NAME=\"fake_roomname\" MAXLENGTH=\"64\">\n");