home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 September (Special)
/
Chip-Special_2004-09_Digitalni-Hudba.bin
/
servis
/
reader
/
Data1.cab
/
PPKLite.api
/
EXVW
/
20006
< prev
next >
Wrap
Text File
|
2003-07-17
|
5KB
|
114 lines
gLeftTextWidth = max(
zstring_width(zstring: '$$$/Dialogs/CertCreator/Name'),
zstring_width(zstring: '$$$/Dialogs/CertCreator/Org'),
zstring_width(zstring: '$$$/Dialogs/CertCreator/OrgUnit'),
zstring_width(zstring: '$$$/Dialogs/CertCreator/Email'),
zstring_width(zstring: '$$$/Dialogs/CertCreator/Country'),
zstring_width(zstring: '$$$/Dialogs/CertCreator/KeyAlgorithm'),
zstring_width(zstring: '$$$/Dialogs/CertCreator/KeyUsage'),
zstring_width(zstring: '$$$/Dialogs/CertCreator/UserPassword'),
zstring_width(zstring: '$$$/Dialogs/CertCreator/ConfirmPassword') );
gEditTextWidth = max_char_width() * 10;
gRightTextWidth = max(
gEditTextWidth,
zstring_width(zstring: '$$$/Dialogs/CertCreator/ASCIIEquivalents'),
zstring_width(zstring: '$$$/Dialogs/CertCreator/MinPassword') );
dialog( name: '$$$/Dialogs/CertCreator/Title', target_id: 'titl' )
{
view( alignment: align_fill, align_children: align_left )
{
static_text( item_id: 'note', name: '$$$/Dialogs/CertCreator/Notice', alignment: align_fill );
cluster( name: '$$$/Dialogs/CertCreator/CertificateCluster', item_id: 'Cert', align_children: align_left, alignment: align_fill )
{
view( align_children: align_row, alignment: align_fill )
{
gap( width: gLeftTextWidth );
static_text( item_id: 'Ahdr', name: '$$$/Dialogs/CertCreator/ASCIIHeader', width: gEditTextWidth, alignment: align_center );
static_text( item_id: 'Uhdr', name: '$$$/Dialogs/CertCreator/UnicodeHeader', width: gRightTextWidth, alignment: align_center );
}
view( align_children: align_row, alignment: align_fill )
{
static_text( name: '$$$/Dialogs/CertCreator/Name', width: gLeftTextWidth, alignment: align_right );
edit_text( item_id: 'Name', width: gEditTextWidth );
edit_text( item_id: 'ascN', width: gEditTextWidth );
}
view( align_children: align_row, alignment: align_fill )
{
static_text( name: '$$$/Dialogs/CertCreator/OrgUnit', width: gLeftTextWidth, alignment: align_right);
edit_text( item_id: 'OrgU', width: gEditTextWidth);
edit_text( item_id: 'ascU', width: gEditTextWidth);
}
view( align_children: align_row, alignment: align_fill )
{
static_text( name: '$$$/Dialogs/CertCreator/Org', width: gLeftTextWidth, alignment: align_right);
edit_text( item_id: 'Org ', width: gEditTextWidth);
edit_text( item_id: 'ascO', width: gEditTextWidth);
}
view( align_children: align_row, alignment: align_fill )
{
static_text( name: '$$$/Dialogs/CertCreator/Email', width: gLeftTextWidth, alignment: align_right );
edit_text( item_id: 'Emal', width: gEditTextWidth );
}
view( align_children: align_row, alignment: align_fill )
{
static_text( name: '$$$/Dialogs/CertCreator/Country', width: gLeftTextWidth, alignment: align_right );
popup( item_id: 'Ctry', alignment: align_fill );
}
check_box( item_id: 'asci', name: '$$$/Dialogs/CertCreator/EnableASCIIEquiv' );
view( align_children: align_row, alignment: align_fill )
{
static_text( name: '$$$/Dialogs/CertCreator/KeyAlgorithm', width: gLeftTextWidth, alignment: align_right );
popup( item_id: 'KeyA', alignment: align_fill );
}
view( align_children: align_row, alignment: align_fill )
{
static_text( name: '$$$/Dialogs/CertCreator/KeyUsage', width: gLeftTextWidth, alignment: align_right );
popup( item_id: 'KeyU', alignment: align_fill );
}
}
cluster( name: '$$$/Dialogs/CertCreator/SelfSignCluster', item_id: 'Self', align_children: align_left, alignment: align_fill )
{
view( align_children: align_row, alignment: align_fill )
{
static_text( name: '$$$/Dialogs/CertCreator/UserPassword', item_id: 'Slf1', width: gLeftTextWidth, alignment: align_right);
edit_text( item_id: 'UPwd', width: gEditTextWidth, password: true );
static_text( name: '$$$/Dialogs/CertCreator/MinPassword', item_id: 'Slf2', width: gRightTextWidth);
}
view( align_children: align_row, alignment: align_fill )
{
static_text( name: '$$$/Dialogs/CertCreator/ConfirmPassword', item_id: 'Slf3', width: gLeftTextWidth, alignment: align_right);
edit_text( item_id: 'CPwd', width: gEditTextWidth, password: true );
gap( width: gRightTextWidth );
}
}
cluster( name: '$$$/Dialogs/CertCreator/PPKMSCluster', item_id: 'PKMS', align_children: align_left, alignment: align_fill )
{
check_box( item_id: 'Root', name: '$$$/Dialogs/CertCreator/AddAsRoot' );
static_text( item_id: 'RtNt', alignment: align_fill );
}
view( align_children: align_row, alignment: align_fill )
{
picture( item_id: 'bulb', width: 32, height: 32 );
static_text( item_id: 'accs', alignment: align_fill );
}
ok_cancel_help( ok_name: '$$$/Dialogs/CertCreator/CreateButton' );
}
}