X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fgraphics.c;h=e08d7150f600d007e487ddf3ac8963a05dd1eaaa;hb=e85a46714a5934ad9b3d1d424c045fc7047e3984;hp=1844c0581ff7c8b4c9cda50412c4e183043d6104;hpb=af5de020a96277b9869e89cd52916c66c76effb4;p=citadel.git diff --git a/webcit/graphics.c b/webcit/graphics.c index 1844c0581..e08d7150f 100644 --- a/webcit/graphics.c +++ b/webcit/graphics.c @@ -27,8 +27,9 @@ void display_graphics_upload(char *description, char *check_cmd, char *uplurl) { wprintf("\n"); wprintf("
\n"); + + wprintf("
\n", uplurl, bstr("which_room")); wprintf("Please select a file to upload:
\n"); - wprintf("\n", uplurl); wprintf("\n"); wprintf("
"); wprintf("\n"); @@ -82,3 +83,27 @@ void do_graphics_upload(char *upl_cmd) { return; } } + + + +void select_floor_to_edit_pic(void) { + int a; + + printf("HTTP/1.0 200 OK\n"); + output_headers(1); + + wprintf("
"); + wprintf("Select floor to edit label graphic\n"); + wprintf("
\n"); + + load_floorlist(); + for (a=0; a<128; ++a) if (strlen(floorlist[a])>0) { + wprintf("", a); + escputs(floorlist[a]); + wprintf("\n"); + } + + wprintf("\n"); + wDumpContent(); + }