xref: /aoo41x/main/uui/source/sslwarndlg.src (revision 2611ca73)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#define __RSC
24
25
26#ifndef UUI_IDS_HRC
27#include <ids.hrc>
28#endif
29#ifndef UUI_SSLWARN_HRC
30#include <sslwarndlg.hrc>
31#endif
32
33ModalDialog DLG_UUI_SSLWARN
34{
35    HelpId = HID_DLG_SSLWARN_UUI;
36    Border = TRUE ;
37    Moveable = TRUE ;
38    OutputSize = TRUE ;
39    SVLook = TRUE ;
40    Size = MAP_APPFONT( DLG_WIDTH, DLG_HEIGHT );
41
42    Text [ en-US ] = "Security Warning: ";
43
44    FixedText FT_LABEL_1
45    {
46        Pos = MAP_APPFONT( DLG_TEXT_START_X, RSC_SP_DLG_INNERBORDER_TOP );
47        Size = MAP_APPFONT( 195, DLG_TEXT_1_HEIGHT );
48
49        Text [ en-US ] = "No Text";
50
51        Border = FALSE;
52        WordBreak = TRUE;
53    };
54
55    PushButton PB_VIEW__CERTIFICATE
56    {
57        HelpID = "uui:PushButton:DLG_UUI_SSLWARN:PB_VIEW__CERTIFICATE";
58        Pos = MAP_APPFONT( DLG_CTLBTN_CERT_START_X, DLG_CTLBTN_START_Y );
59        Size = MAP_APPFONT( DLG_CTLBTN_CERT_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
60
61        Text [ en-US ] = "View Certificate";
62
63    };
64
65    CancelButton PB_CANCEL
66    {
67        Pos = MAP_APPFONT( DLG_CTLBTN_CANCEL_START_X, DLG_CTLBTN_START_Y );
68        Size = MAP_APPFONT( DLG_CTLBTN_CANCEL_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
69
70        Text [ en-US ] = "Cancel Connection";
71
72    };
73
74    PushButton PB_OK
75    {
76        HelpID = "uui:PushButton:DLG_UUI_SSLWARN:PB_OK";
77        Pos = MAP_APPFONT( DLG_CTLBTN_OK_START_X, DLG_CTLBTN_START_Y );
78        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
79
80        Text [ en-US ] = "Continue";
81
82    };
83
84    FixedImage IMG_WARN
85    {
86        Pos = MAP_APPFONT( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP );
87        Size = MAP_APPFONT( DLG_WARMIMG_WIDTH , DLG_WARMIMG_HEIGHT );
88
89        Fixed = Image
90        {
91            /* ImageBitmap = Bitmap { File = "certificate_40x56.png"; }; */
92            MaskColor = Color{Red=0xffff;Green=0x0000;Blue=0xffff;};
93        };
94
95    };
96
97    FixedLine FL_LINE
98    {
99        Pos = MAP_APPFONT( 0, DLG_CTLBTN_START_Y - RSC_SP_FLGR_INNERBORDER_TOP -  RSC_CD_FIXEDLINE_HEIGHT );
100        Size = MAP_APPFONT( DLG_WIDTH,  RSC_CD_FIXEDLINE_HEIGHT );
101    };
102};
103
104