From 2f6e05965fdc21660875658856721b6de74306fd Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 14 May 2009 19:34:30 +0000 Subject: [PATCH] * mainmenu.c: removed C code that had been commented out and replaced with a template. Are there any more of these? --- webcit/mainmenu.c | 181 ---------------------------------------------- 1 file changed, 181 deletions(-) diff --git a/webcit/mainmenu.c b/webcit/mainmenu.c index 965f98f60..1ce5e5ee6 100644 --- a/webcit/mainmenu.c +++ b/webcit/mainmenu.c @@ -13,144 +13,6 @@ void display_main_menu(void) output_headers(1, 0, 0, 0, 1, 0); DoTemplate(HKEY("display_main_menu"), NULL, &NoCtx); end_burst(); - -/* - char buf[SIZ]; - output_headers(1, 1, 1, 0, 0, 0); - - wprintf("
" - "" - "" - "
\n"); - - svput("BOXTITLE", WCS_STRING, _("Basic commands")); - do_template("beginbox", NULL); - - / * start of first column * / - wprintf("\n"); - - / * start of second column * / - - wprintf("\n"); - - / * start of third column * / - - wprintf("\n"); - - wprintf(" "); - - do_template("endbox", NULL); - - wprintf("
"); - - print_menu_box(_("Your info"), "adminitems", 8, - "display_preferences", _("Change your preferences and settings"), - "display_reg", _("Update your contact information"), - "display_changepw", _("Change your password"), - "display_editbio", _("Enter your 'bio'"), - "display_editpic", _("Edit your online photo"), - "display_sieve", _("View/edit server-side mail filters"), - "display_pushemail", _("Edit your push email settings"), - "display_openids", _("Manage your OpenIDs") - ); - - wprintf(""); - - snprintf(buf, SIZ, _("Zap (forget) this room (%s)"), WC->wc_roomname); - - if ( (WC->axlevel >= 6) || (WC->is_room_aide) || (WC->is_mailbox) ) - print_menu_box(_("Advanced room commands"),"adminitems", 5, - "display_editroom", _("Edit or delete this room"), - "display_private", _("Go to a 'hidden' room"), - "display_entroom", _("Create a new room"), - "display_zap",buf, - "zapped_list",_("List all forgotten rooms")); - else - print_menu_box(_("Advanced room commands"),"adminitems", 4, - "display_private", _("Go to a 'hidden' room"), - "display_entroom", _("Create a new room"), - "display_zap",buf, - "zapped_list",_("List all forgotten rooms")); - - wprintf("
"); - wDumpContent(2); -*/ } @@ -163,49 +25,6 @@ void display_aide_menu(void) output_headers(1, 0, 0, 0, 1, 0); DoTemplate(HKEY("display_aide_menu"), NULL, &NoCtx); end_burst(); -/* - output_headers(1, 1, 2, 0, 0, 0); - - wprintf("
\n"); - wprintf("

"); - wprintf(_("System Administration Menu")); - wprintf("

"); - wprintf("
\n"); - - wprintf("
"); - - wprintf("
" - " " - "
"); - - print_menu_box(_("Global Configuration"), "adminitems", 4, - "display_siteconfig", _("Edit site-wide configuration"), - "display_inetconf",_("Domain names and Internet mail configuration"), - "display_netconf", _("Configure replication with other Citadel servers"), - "display_smtpqueue", _("View the outbound SMTP queue")); - - wprintf(""); - - print_menu_box(_("User account management"), "adminitems", 2, - "select_user_to_edit", _("Add, change, delete user accounts"), - "validate", _("Validate new users")); - - wprintf("
"); - - - print_menu_box(_("Shutdown Citadel"), "adminitems", 3, - "server_shutdown?when=now", _("Restart Now"), - "server_shutdown?when=page", _("Restart after paging users"), - "server_shutdown?when=idle", _("Restart when all users are idle")); - - wprintf(""); - - print_menu_box(_("Rooms and Floors"), "adminitems", 1, - "display_floorconfig", _("Add, change, or delete floors")); - - wprintf("
"); - wDumpContent(2); -*/ } -- 2.39.2