diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-28 17:19:51 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-28 17:19:51 +0300 |
commit | d612879c07efc90e1230dbb13f71ea3b43046fe5 (patch) | |
tree | 87b3cb123d1950760295424d35a3a1ef57913132 /src/ui | |
parent | 43dabe97bb845ef8bc8c8ae8e0370be0f4587951 (diff) |
Creating identity containing a domain
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/util.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index e6067ab9..770071a6 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -854,15 +854,17 @@ iWidget *makeIdentityCreation_Widget(void) { | |||
854 | page, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag); | 854 | page, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag); |
855 | iWidget *values = addChildFlags_Widget( | 855 | iWidget *values = addChildFlags_Widget( |
856 | page, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag); | 856 | page, iClob(new_Widget()), arrangeVertical_WidgetFlag | arrangeSize_WidgetFlag); |
857 | iInputWidget *inputs[4]; | 857 | iInputWidget *inputs[5]; |
858 | addChild_Widget(headings, iClob(makeHeading_Widget("Common name:"))); | 858 | addChild_Widget(headings, iClob(makeHeading_Widget("Common name:"))); |
859 | setId_Widget(addChild_Widget(values, iClob(inputs[0] = new_InputWidget(0))), "ident.common"); | 859 | setId_Widget(addChild_Widget(values, iClob(inputs[0] = new_InputWidget(0))), "ident.common"); |
860 | addChild_Widget(headings, iClob(makeHeading_Widget("User ID:"))); | 860 | addChild_Widget(headings, iClob(makeHeading_Widget("User ID:"))); |
861 | setId_Widget(addChild_Widget(values, iClob(inputs[1] = newHint_InputWidget(0, "optional"))), "ident.userid"); | 861 | setId_Widget(addChild_Widget(values, iClob(inputs[1] = newHint_InputWidget(0, "optional"))), "ident.userid"); |
862 | addChild_Widget(headings, iClob(makeHeading_Widget("Domain:"))); | ||
863 | setId_Widget(addChild_Widget(values, iClob(inputs[2] = newHint_InputWidget(0, "optional"))), "ident.domain"); | ||
862 | addChild_Widget(headings, iClob(makeHeading_Widget("Organization:"))); | 864 | addChild_Widget(headings, iClob(makeHeading_Widget("Organization:"))); |
863 | setId_Widget(addChild_Widget(values, iClob(inputs[2] = newHint_InputWidget(0, "optional"))), "ident.org"); | 865 | setId_Widget(addChild_Widget(values, iClob(inputs[3] = newHint_InputWidget(0, "optional"))), "ident.org"); |
864 | addChild_Widget(headings, iClob(makeHeading_Widget("Country:"))); | 866 | addChild_Widget(headings, iClob(makeHeading_Widget("Country:"))); |
865 | setId_Widget(addChild_Widget(values, iClob(inputs[3] = newHint_InputWidget(0, "optional"))), "ident.country"); | 867 | setId_Widget(addChild_Widget(values, iClob(inputs[4] = newHint_InputWidget(0, "optional"))), "ident.country"); |
866 | addChild_Widget(headings, iClob(makeHeading_Widget("Valid until:"))); | 868 | addChild_Widget(headings, iClob(makeHeading_Widget("Valid until:"))); |
867 | setId_Widget(addChild_Widget(values, iClob(newHint_InputWidget(19, "YYYY-MM-DD HH:MM:SS"))), "ident.until"); | 869 | setId_Widget(addChild_Widget(values, iClob(newHint_InputWidget(19, "YYYY-MM-DD HH:MM:SS"))), "ident.until"); |
868 | addChild_Widget(headings, iClob(makeHeading_Widget("Temporary:"))); | 870 | addChild_Widget(headings, iClob(makeHeading_Widget("Temporary:"))); |