diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-29 12:00:01 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-29 12:00:01 +0300 |
commit | 317614874b2bb4c2b3ac144bc99431d1abe58dc7 (patch) | |
tree | 04dae58d4dc024e0ea751c1f05bbd0d8c16e1a23 /src/ui | |
parent | 3d1a0f831ba401d6ea4b4dfa04b7af8ea94ec59a (diff) |
Creating identity with email address
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/util.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index a24b3199..71146682 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -860,17 +860,19 @@ iWidget *makeIdentityCreation_Widget(void) { | |||
860 | page, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag); | 860 | page, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag); |
861 | iWidget *values = addChildFlags_Widget( | 861 | iWidget *values = addChildFlags_Widget( |
862 | page, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag); | 862 | page, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag); |
863 | iInputWidget *inputs[5]; | 863 | iInputWidget *inputs[6]; |
864 | addChild_Widget(headings, iClob(makeHeading_Widget("Common name:"))); | 864 | addChild_Widget(headings, iClob(makeHeading_Widget("Common name:"))); |
865 | setId_Widget(addChild_Widget(values, iClob(inputs[0] = new_InputWidget(0))), "ident.common"); | 865 | setId_Widget(addChild_Widget(values, iClob(inputs[0] = new_InputWidget(0))), "ident.common"); |
866 | addChild_Widget(headings, iClob(makeHeading_Widget("Email:"))); | ||
867 | setId_Widget(addChild_Widget(values, iClob(inputs[1] = newHint_InputWidget(0, "optional"))), "ident.email"); | ||
866 | addChild_Widget(headings, iClob(makeHeading_Widget("User ID:"))); | 868 | addChild_Widget(headings, iClob(makeHeading_Widget("User ID:"))); |
867 | setId_Widget(addChild_Widget(values, iClob(inputs[1] = newHint_InputWidget(0, "optional"))), "ident.userid"); | 869 | setId_Widget(addChild_Widget(values, iClob(inputs[2] = newHint_InputWidget(0, "optional"))), "ident.userid"); |
868 | addChild_Widget(headings, iClob(makeHeading_Widget("Domain:"))); | 870 | addChild_Widget(headings, iClob(makeHeading_Widget("Domain:"))); |
869 | setId_Widget(addChild_Widget(values, iClob(inputs[2] = newHint_InputWidget(0, "optional"))), "ident.domain"); | 871 | setId_Widget(addChild_Widget(values, iClob(inputs[3] = newHint_InputWidget(0, "optional"))), "ident.domain"); |
870 | addChild_Widget(headings, iClob(makeHeading_Widget("Organization:"))); | 872 | addChild_Widget(headings, iClob(makeHeading_Widget("Organization:"))); |
871 | setId_Widget(addChild_Widget(values, iClob(inputs[3] = newHint_InputWidget(0, "optional"))), "ident.org"); | 873 | setId_Widget(addChild_Widget(values, iClob(inputs[4] = newHint_InputWidget(0, "optional"))), "ident.org"); |
872 | addChild_Widget(headings, iClob(makeHeading_Widget("Country:"))); | 874 | addChild_Widget(headings, iClob(makeHeading_Widget("Country:"))); |
873 | setId_Widget(addChild_Widget(values, iClob(inputs[4] = newHint_InputWidget(0, "optional"))), "ident.country"); | 875 | setId_Widget(addChild_Widget(values, iClob(inputs[5] = newHint_InputWidget(0, "optional"))), "ident.country"); |
874 | addChild_Widget(headings, iClob(makeHeading_Widget("Valid until:"))); | 876 | addChild_Widget(headings, iClob(makeHeading_Widget("Valid until:"))); |
875 | setId_Widget(addChild_Widget(values, iClob(newHint_InputWidget(19, "YYYY-MM-DD HH:MM:SS"))), "ident.until"); | 877 | setId_Widget(addChild_Widget(values, iClob(newHint_InputWidget(19, "YYYY-MM-DD HH:MM:SS"))), "ident.until"); |
876 | addChild_Widget(headings, iClob(makeHeading_Widget("Temporary:"))); | 878 | addChild_Widget(headings, iClob(makeHeading_Widget("Temporary:"))); |