Disable the add to address book - Bug #29436 - r: bienvenu

This commit is contained in:
rhp%netscape.com 2000-04-23 17:40:58 +00:00
Родитель 2919ee8ef4
Коммит aa617f1724
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -1011,8 +1011,12 @@ static int OutputButtons(MimeObject *obj, PRBool basic, VObject *v)
PR_FREEIF(rsrcString);
rsrcString = VCardGetStringByID(VCARD_MSG_ADD_TO_ADDR_BOOK);
htmlLine2 = PR_smprintf ("<FORM name=form1 METHOD=get ACTION=\"addbook:add\"><INPUT TYPE=hidden name=vcard VALUE=\"%s\"><INPUT type=submit value=\"%s\"></INPUT></FORM>",
// RICHIE - Once this is completed in the back end, we can enable the button again
// htmlLine2 = PR_smprintf ("<FORM name=form1 METHOD=get ACTION=\"addbook:add\"><INPUT TYPE=hidden name=vcard VALUE=\"%s\"><INPUT type=submit value=\"%s\"></INPUT></FORM>",
// vEscCard, rsrcString);
htmlLine2 = PR_smprintf ("<FORM name=form1 METHOD=get ACTION=\"addbook:add\"><INPUT TYPE=hidden name=vcard VALUE=\"%s\"><INPUT type=submit disabled=\"true\" value=\"%s\"></INPUT></FORM>",
vEscCard, rsrcString);
PR_FREEIF(rsrcString);
if (!htmlLine1 && !htmlLine2)