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
/
20215
< prev
next >
Wrap
Text File
|
2003-07-17
|
2KB
|
49 lines
gMinFingerprintWidth = max_char_width() * 25;
gMaxLabelWidth = max(
zstring_width(zstring: '$$$/Dialogs/EditCertificate/Usage'),
zstring_width(zstring: '$$$/Dialogs/ImportCert/SubjectCN'),
zstring_width(zstring: '$$$/Dialogs/ImportCert/MD5Fingerprint'),
zstring_width(zstring: '$$$/Dialogs/ImportCert/SHA1Fingerprint') );
dialog(name: '$$$/Dialogs/ImportCert', target_id: 'name' )
{
group()
{
static_text(item_id: 'note', name: '$$$/Dialogs/ImportCert/Note', alignment: align_fill);
static_text( name: '$$$/Dialogs/ImportCert/ContactInfo', alignment: align_fill );
edit_text( item_id: 'info', alignment: align_fill, readonly: true );
view( name: '$$$/Dialogs/ImportCert/Cert', align_children: align_left, alignment: align_fill)
{
view(align_children: align_row, alignment: align_fill)
{
static_text(name: '$$$/Dialogs/ImportCert/SubjectCN', width: gMaxLabelWidth, alignment: align_right);
edit_text(item_id: 'name', readonly: true, alignment: align_fill);
button(item_id: 'show', name: '$$$/Dialogs/ImportCert/ShowCertButton');
}
view(align_children: align_row, alignment: align_fill)
{
static_text(name: '$$$/Dialogs/ImportCert/MD5Fingerprint', width: gMaxLabelWidth, alignment: align_right);
edit_text(item_id: 'md5 ', readonly: true, width: gMinFingerprintWidth);
}
view(align_children: align_row, alignment: align_fill)
{
static_text(name: '$$$/Dialogs/ImportCert/SHA1Fingerprint', width: gMaxLabelWidth, alignment: align_right);
edit_text(item_id: 'sha1', readonly: true, width: gMinFingerprintWidth);
}
view( align_children: align_row, alignment: align_fill )
{
static_text( name: '$$$/Dialogs/EditCertificate/Usage', dwidth: gMaxLabelWidth, alignment: align_right );
edit_text( item_id: 'uses', alignment: align_fill, readonly: true );
}
check_box( item_id: 'TRad', name: '$$$/Dialogs/EditCertificate/AuthenticDocuments', alignment: align_fill );
check_box( item_id: 'TRdy', name: '$$$/Dialogs/EditCertificate/DynamicContent', alignment: align_fill );
}
ok_cancel( ok_name: '$$$/Dialogs/ImportCert/OkayButton' );
}
}