/*
* $Id$
+ *
+ * Displays and customizes the iconbar.
*/
-/**
- * \defgroup IconBar Displays and customizes the iconbar.
- * \ingroup MenuInfrastructure
- */
-/*@{*/
+
#include "webcit.h"
_("Your personal notes")
);
-#ifdef WEBCIT_WITH_CALENDAR_SERVICE
bar = 1 - bar;
wprintf("<tr class=\"%s\"><td>"
"<input type=\"radio\" name=\"ib_calendar\" value=\"yes\" %s> %s "
_("Tasks"),
_("A shortcut to your personal task list")
);
-#endif /* WEBCIT_WITH_CALENDAR_SERVICE */
bar = 1 - bar;
wprintf("<tr class=\"%s\"><td>"
"ib_citadel"
};
- if (IsEmptyStr(bstr("ok_button"))) {
+ if (!havebstr("ok_button")) {
display_main_menu();
return;
}
- sprintf(iconbar, "ib_displayas=%d", atoi(bstr("ib_displayas")));
+ sprintf(iconbar, "ib_displayas=%d", ibstr("ib_displayas"));
for (i=0; i<(sizeof(boxen)/sizeof(char *)); ++i) {
char *Val;
- if (!strcasecmp(bstr(boxen[i]), "yes")) {
+ if (!strcasecmp(BSTR(boxen[i]), "yes")) {
Val = "1";
}
- else if (!strcasecmp(bstr(boxen[i]), "yeslist")) {
+ else if (!strcasecmp(BSTR(boxen[i]), "yeslist")) {
Val = "2";
}
else {