"</div>\n<div id=\"content\">\n"
);
- wprintf("<center><table border=0 width=99%% bgcolor=\"#ffffff\"><tr><td>\n");
+ wprintf("<center><table border=1 cellpadding=5 bgcolor=\"#ffffff\"><tr><td>\n");
wprintf("<A HREF=\"/display_siteconfig\">"
"<span class=\"mainmenu\">"
if (v->numprops) for (i=0; i<(v->numprops); ++i) {
if (!strcasecmp(v->prop[i].name, "n")) {
strcpy(storename, v->prop[i].value);
+ if ((strlen(storename)>0) && (storename[0] != ';')) {
+ while(storename[strlen(storename)-1] == ';') {
+ storename[strlen(storename)-1] = 0;
+ }
+ }
}
}
}
if (!full) {
wprintf("<TD>");
name = vcard_get_prop(v, "fn", 1, 0, 0);
- if (name == NULL) name = vcard_get_prop(v, "n", 1, 0, 0);
if (name != NULL) {
- strcpy(buf, name);
- escputs(buf);
+ escputs(name);
+ }
+ else if (name = vcard_get_prop(v, "n", 1, 0, 0), name != NULL) {
+ escputs(name);
}
else {
wprintf(" ");