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