X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fmainmenu.c;h=c780ef4ef666d9d34ddd25bdb153dd510fe2a2ac;hb=c90b9009ad3b2411389d3dad969c19ec17688268;hp=1ef9dc62542acdf9c9a7eef7217f94fd2dcba459;hpb=05b7980adba4f517c3fc30d3ce97adb5c337c750;p=citadel.git diff --git a/webcit/mainmenu.c b/webcit/mainmenu.c index 1ef9dc625..c780ef4ef 100644 --- a/webcit/mainmenu.c +++ b/webcit/mainmenu.c @@ -16,7 +16,8 @@ * menu of commands (just the menu html itself) */ -void embed_main_menu(void) { +void embed_main_menu(void) +{ wprintf("
"); /* start of first column */
@@ -25,29 +26,28 @@ void embed_main_menu(void) {
wprintf(" \n"); wprintf("Where can I go from here? \n"); wprintf("...with unread messages \n"); wprintf("(come back here later) \n"); - wprintf("(oops! Back to %s) | \n"); /* start of second column */ - + + wprintf(" | \n"); /* start of second column */
+
wprintf("
(post in this room)"); wprintf(" | "); /* start of third column */ + wprintf(" | "); /* start of third column */
wprintf("
|
");
+ wprintf("
|
"); + wprintf("Basic commands\n"); + wprintf(" |
"); wprintf("Enter a server command\n"); @@ -246,9 +248,10 @@ void display_generic(void) { wprintf("\n"); wDumpContent(1); - } +} -void do_generic(void) { +void do_generic(void) +{ char buf[256]; char gcontent[256]; char *junk; @@ -257,8 +260,7 @@ void do_generic(void) { if (strcasecmp(bstr("sc"), "Send command")) { display_main_menu(); return; - } - + } serv_printf("%s", bstr("g_cmd")); serv_gets(buf); @@ -275,40 +277,35 @@ void do_generic(void) { escputs(buf); wprintf(" |