");
-
- svprintf("BOXTITLE", WCS_STRING, _("Global Configuration"));
- do_template("beginbox");
-
- wprintf("");
-
- do_template("endbox");
-
- wprintf(" | ");
+ " "
+ "");
- svprintf("BOXTITLE", WCS_STRING, _("User account management"));
- do_template("beginbox");
+ 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(" | ");
- wprintf("");
+ print_menu_box(_("User account management"), "adminitems", 2,
+ "select_user_to_edit", _("Add, change, delete user accounts"),
+ "validate", _("Validate new users"));
- wprintf("- ");
- wprintf(_("Add, change, delete user accounts"));
- wprintf("
\n");
+ wprintf(" | ");
- wprintf("");
- wprintf(_("Validate new users"));
- wprintf("\n");
- 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"));
- do_template("endbox");
+ wprintf(" | ");
- wprintf(" | ");
-
- svprintf("BOXTITLE", WCS_STRING, _("Rooms and Floors"));
- do_template("beginbox");
-
- wprintf("");
-
- do_template("endbox");
+ print_menu_box(_("Rooms and Floors"), "adminitems", 1,
+ "display_floorconfig", _("Add, change, or delete floors"));
wprintf(" | ");
wDumpContent(2);
@@ -284,13 +210,13 @@ void display_aide_menu(void)
void display_generic(void)
{
output_headers(1, 1, 2, 0, 0, 0);
- wprintf("\n"
- " "
- "");
+ wprintf(" \n");
+ wprintf(" ");
wprintf(_("Enter a server command"));
- wprintf(" |
\n"
- " \n\n"
- );
+ wprintf("");
+ wprintf(" \n");
+
+ wprintf(" |