xref: /AOO42X/main/uui/source/unknownauthdlg.src (revision 09dd143aff9dd1e65210b6e304bdba429195bdc8)
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#define __RSC
23
24#ifndef UUI_IDS_HRC
25#include <ids.hrc>
26#endif
27#ifndef UUI_UNKNOWNAUTH_HRC
28#include <unknownauthdlg.hrc>
29#endif
30
31ModalDialog DLG_UUI_UNKNOWNAUTH
32{
33    HelpId = HID_DLG_UNKNOWNAUTH_UUI ;
34    Border = TRUE ;
35    Moveable = TRUE ;
36    OutputSize = TRUE ;
37    SVLook = TRUE ;
38    Pos = MAP_APPFONT ( 136, 79 ) ;
39    Size = MAP_APPFONT ( DLG_WIDTH, DLG_HEIGHT ) ;
40    Text [ en-US ] = "Website Certified by an Unknown Authority" ;
41
42    FixedImage IMG_WARN
43    {
44        Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP ) ;
45        Size = MAP_APPFONT ( DLG_WARMIMG_WIDTH, DLG_WARMIMG_HEIGHT ) ;
46
47        Fixed = Image
48        {
49            /* ImageBitmap = Bitmap { File = "certificate_40x56.png"; }; */
50        };
51    };
52
53
54    PushButton PB_VIEW__CERTIFICATE
55    {
56        HelpID = "uui:PushButton:DLG_UUI_UNKNOWNAUTH:PB_VIEW__CERTIFICATE" ;
57        Pos = MAP_APPFONT ( DLG_TEXT_START_X, RSC_SP_DLG_INNERBORDER_TOP + DLG_TEXT_1_HEIGHT + RSC_SP_CTRL_GROUP_Y ) ;
58        Size = MAP_APPFONT ( 70, RSC_CD_PUSHBUTTON_HEIGHT ) ;
59        Text [ en-US ] = "Examine Certificate..." ;
60    };
61
62    HelpButton PB_HELP
63    {
64        Pos = MAP_APPFONT ( DLG_CTLBTN_HELP_START_X, DLG_CTLBTN_START_Y ) ;
65        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
66        Text [ en-US ] = "Help" ;
67    };
68
69    PushButton PB_OK
70    {
71        HelpID = "uui:PushButton:DLG_UUI_UNKNOWNAUTH:PB_OK" ;
72        Pos = MAP_APPFONT ( DLG_CTLBTN_OK_START_X, DLG_CTLBTN_START_Y ) ;
73        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
74        Text [ en-US ] = "OK" ;
75    };
76
77    CancelButton PB_CANCEL
78    {
79        Pos = MAP_APPFONT ( DLG_CTLBTN_CANCEL_START_X, DLG_CTLBTN_START_Y ) ;
80        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
81    };
82
83    RadioButton RB_ACCEPT_1
84    {
85        HelpID = "uui:RadioButton:DLG_UUI_UNKNOWNAUTH:RB_ACCEPT_1" ;
86        Pos = MAP_APPFONT ( DLG_TEXT_START_X, DLG_RADIOBTN_START_Y ) ;
87        Size = MAP_APPFONT ( 182, RSC_CD_RADIOBUTTON_HEIGHT ) ;
88        Text [ en-US ] = "Accept this certificate temporarily for this session" ;
89        Check = TRUE ;
90    };
91
92    RadioButton RB_DONTACCEPT_2
93    {
94        HelpID = "uui:RadioButton:DLG_UUI_UNKNOWNAUTH:RB_DONTACCEPT_2" ;
95        Pos = MAP_APPFONT ( DLG_TEXT_START_X, DLG_RADIOBTN_START_Y + RSC_CD_RADIOBUTTON_HEIGHT ) ;
96        Size = MAP_APPFONT ( 182, RSC_CD_RADIOBUTTON_HEIGHT ) ;
97        Text [ en-US ] = "Do not accept this certificate and do not connect to this Web site" ;
98    };
99
100    FixedText FT_LABEL_1
101    {
102        Pos = MAP_APPFONT ( DLG_TEXT_START_X, RSC_SP_DLG_INNERBORDER_TOP ) ;
103        Size = MAP_APPFONT ( 190, DLG_TEXT_1_HEIGHT ) ;
104        Text [ en-US ] = "No Text" ;
105        Border = FALSE ;
106        WordBreak = TRUE ;
107    };
108
109    FixedLine FL_LINE
110    {
111        Pos = MAP_APPFONT ( 0, DLG_CTLBTN_START_Y - RSC_SP_FLGR_INNERBORDER_TOP - RSC_CD_FIXEDLINE_HEIGHT ) ;
112        Size = MAP_APPFONT ( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
113    };
114};
115
116// ********************************************************************** EOF
117