/*
* $Id$
- *
- * Displays the "advanced" (main) menu.
+ */
+/**
+ * \defgroup DispAdvancedMenu Displays the "advanced" (main) menu.
*
*/
-
+/*@{*/
#include "webcit.h"
-/*
- * The Main Menu
+/**
+ * \brief The Main Menu
*/
void display_main_menu(void)
{
output_headers(1, 1, 1, 0, 0, 0);
- wprintf("<div id=\"fix_scrollbar_bug\">"
+ wprintf("<div class=\"fix_scrollbar_bug\">"
"<TABLE WIDTH=100%%>"
"<TR><TD COLSPAN=2>\n");
wprintf("\n"
"<TABLE border=0 cellspacing=1 cellpadding=1 width=100%%>"
"<TR>"
- "<TD>"); /* start of first column */
+ "<TD>"); /**< start of first column */
wprintf("<a href=\"knrooms\"><span class=\"mainmenu\">");
wprintf(_("List known rooms"));
wprintf(_("Ungoto"));
wprintf("</span></A><br />"
"<span class=\"menudesc\">");
- wprintf(_("(oops! Back to %s)"));
- wprintf("</span>\n", WC->ugname);
+ wprintf(_("(oops! Back to %s)"), WC->ugname);
+ wprintf("</span>\n");
}
wprintf("</TD><TD>\n"); /* start of second column */
wprintf("</TD></TR>"
"<TR VALIGN=TOP><TD>");
- svprintf("BOXTITLE", WCS_STRING, "Your info");
+ svprintf("BOXTITLE", WCS_STRING, _("Your info"));
do_template("beginbox");
wprintf("<a href=\"display_preferences\">"
}
-/*
- * System administration menu
+/**
+ * \brief System administration menu
*/
void display_aide_menu(void)
{
"</div>\n<div id=\"content\">\n"
);
- wprintf("<div id=\"fix_scrollbar_bug\">"
+ wprintf("<div class=\"fix_scrollbar_bug\">"
"<table border=0 width=100%%><tr valign=top><td>");
svprintf("BOXTITLE", WCS_STRING, _("Global Configuration"));
-/*
- * Display the screen to enter a generic server command
+/**
+ * \brief Display the screen to enter a generic server command
*/
void display_generic(void)
{
"</div>\n<div id=\"content\">\n"
);
- wprintf("<div id=\"fix_scrollbar_bug\">"
+ wprintf("<div class=\"fix_scrollbar_bug\">"
"<table border=0 width=100%% bgcolor=\"#ffffff\"><tr><td>\n");
wprintf("<CENTER>");
wDumpContent(1);
}
+/**
+ * \brief what???
+ */
void do_generic(void)
{
char buf[SIZ];
serv_printf("%s", bstr("g_cmd"));
serv_getln(buf, sizeof buf);
- svprintf("BOXTITLE", WCS_STRING, "Server command results");
+ svprintf("BOXTITLE", WCS_STRING, _("Server command results"));
do_template("beginbox");
wprintf("<TABLE border=0><TR><TD>Command:</TD><TD><TT>");
}
-/*
- * Display the menubar. Set as_single_page to
- * display HTML headers and footers -- otherwise it's assumed
+/**
+ * \brief Display the menubar.
+ * \param as_single_page Set to display HTML headers and footers -- otherwise it's assumed
* that the menubar is being embedded in another page.
*/
void display_menubar(int as_single_page) {
}
+/*@}*/