xref: /trunk/main/uui/source/unknownauthdlg.src (revision c6ad6917)
12611ca73SAndrew Rist/**************************************************************
2*c6ad6917Smseidel *
32611ca73SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
42611ca73SAndrew Rist * or more contributor license agreements.  See the NOTICE file
52611ca73SAndrew Rist * distributed with this work for additional information
62611ca73SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
72611ca73SAndrew Rist * to you under the Apache License, Version 2.0 (the
82611ca73SAndrew Rist * "License"); you may not use this file except in compliance
92611ca73SAndrew Rist * with the License.  You may obtain a copy of the License at
10*c6ad6917Smseidel *
112611ca73SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*c6ad6917Smseidel *
132611ca73SAndrew Rist * Unless required by applicable law or agreed to in writing,
142611ca73SAndrew Rist * software distributed under the License is distributed on an
152611ca73SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
162611ca73SAndrew Rist * KIND, either express or implied.  See the License for the
172611ca73SAndrew Rist * specific language governing permissions and limitations
182611ca73SAndrew Rist * under the License.
19*c6ad6917Smseidel *
202611ca73SAndrew Rist *************************************************************/
212611ca73SAndrew Rist
222611ca73SAndrew Rist
23*c6ad6917Smseidel
24cdf0e10cSrcweir#define __RSC
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef UUI_IDS_HRC
27cdf0e10cSrcweir#include <ids.hrc>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef UUI_UNKNOWNAUTH_HRC
30cdf0e10cSrcweir#include <unknownauthdlg.hrc>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir
33cdf0e10cSrcweirModalDialog DLG_UUI_UNKNOWNAUTH
34cdf0e10cSrcweir{
35*c6ad6917Smseidel	HelpId = HID_DLG_UNKNOWNAUTH_UUI ;
36*c6ad6917Smseidel	Border = TRUE ;
37cdf0e10cSrcweir	Moveable = TRUE ;
38cdf0e10cSrcweir	OutputSize = TRUE ;
39cdf0e10cSrcweir	SVLook = TRUE ;
40*c6ad6917Smseidel	Pos = MAP_APPFONT ( 136, 79 ) ;
41*c6ad6917Smseidel	Size = MAP_APPFONT ( DLG_WIDTH, DLG_HEIGHT ) ;
42cdf0e10cSrcweir
43*c6ad6917Smseidel	Text [ en-US ] = "Website Certified by an Unknown Authority" ;
44cdf0e10cSrcweir
45cdf0e10cSrcweir
46cdf0e10cSrcweir	FixedImage IMG_WARN
47cdf0e10cSrcweir	{
48*c6ad6917Smseidel		Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP ) ;
49*c6ad6917Smseidel		Size = MAP_APPFONT ( DLG_WARMIMG_WIDTH, DLG_WARMIMG_HEIGHT ) ;
50*c6ad6917Smseidel
51cdf0e10cSrcweir		Fixed = Image
52cdf0e10cSrcweir		{
53cdf0e10cSrcweir			/* ImageBitmap = Bitmap { File = "certificate_40x56.png"; }; */
54*c6ad6917Smseidel			MaskColor = Color{Red=0xffff;Green=0x0000;Blue=0xffff;} ;
55cdf0e10cSrcweir		};
56*c6ad6917Smseidel
57cdf0e10cSrcweir	};
58cdf0e10cSrcweir
59cdf0e10cSrcweir
60*c6ad6917Smseidel	PushButton PB_VIEW__CERTIFICATE
61*c6ad6917Smseidel	{
62*c6ad6917Smseidel		HelpID = "uui:PushButton:DLG_UUI_UNKNOWNAUTH:PB_VIEW__CERTIFICATE" ;
63*c6ad6917Smseidel		Pos = MAP_APPFONT ( DLG_TEXT_START_X, RSC_SP_DLG_INNERBORDER_TOP + DLG_TEXT_1_HEIGHT + RSC_SP_CTRL_GROUP_Y ) ;
64*c6ad6917Smseidel		Size = MAP_APPFONT ( 70, RSC_CD_PUSHBUTTON_HEIGHT ) ;
65*c6ad6917Smseidel
66*c6ad6917Smseidel		Text [ en-US ] = "Examine Certificate..." ;
67*c6ad6917Smseidel
68*c6ad6917Smseidel	};
69*c6ad6917Smseidel
70*c6ad6917Smseidel	HelpButton PB_HELP
71*c6ad6917Smseidel	{
72*c6ad6917Smseidel		Pos = MAP_APPFONT ( DLG_CTLBTN_HELP_START_X, DLG_CTLBTN_START_Y ) ;
73*c6ad6917Smseidel		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
74cdf0e10cSrcweir
75*c6ad6917Smseidel		Text [ en-US ] = "Help" ;
76cdf0e10cSrcweir
77*c6ad6917Smseidel	};
78cdf0e10cSrcweir
79*c6ad6917Smseidel	PushButton PB_OK
80*c6ad6917Smseidel	{
81*c6ad6917Smseidel		HelpID = "uui:PushButton:DLG_UUI_UNKNOWNAUTH:PB_OK" ;
82*c6ad6917Smseidel		Pos = MAP_APPFONT ( DLG_CTLBTN_OK_START_X, DLG_CTLBTN_START_Y ) ;
83*c6ad6917Smseidel		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
84cdf0e10cSrcweir
85*c6ad6917Smseidel		Text [ en-US ] = "OK" ;
86cdf0e10cSrcweir
87*c6ad6917Smseidel	};
88cdf0e10cSrcweir
89*c6ad6917Smseidel	CancelButton PB_CANCEL
90*c6ad6917Smseidel	{
91*c6ad6917Smseidel		Pos = MAP_APPFONT ( DLG_CTLBTN_CANCEL_START_X, DLG_CTLBTN_START_Y ) ;
92*c6ad6917Smseidel		Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
93cdf0e10cSrcweir
94*c6ad6917Smseidel	};
95cdf0e10cSrcweir
96*c6ad6917Smseidel	RadioButton RB_ACCEPT_1
97*c6ad6917Smseidel	{
98*c6ad6917Smseidel		HelpID = "uui:RadioButton:DLG_UUI_UNKNOWNAUTH:RB_ACCEPT_1" ;
99*c6ad6917Smseidel		Pos = MAP_APPFONT ( DLG_TEXT_START_X, DLG_RADIOBTN_START_Y ) ;
100*c6ad6917Smseidel		Size = MAP_APPFONT ( 182, RSC_CD_RADIOBUTTON_HEIGHT ) ;
101cdf0e10cSrcweir
102*c6ad6917Smseidel		Text [ en-US ] = "Accept this certificate temporarily for this session" ;
103cdf0e10cSrcweir
104cdf0e10cSrcweir		Check = TRUE;
105*c6ad6917Smseidel	};
106*c6ad6917Smseidel
107*c6ad6917Smseidel	RadioButton RB_DONTACCEPT_2
108*c6ad6917Smseidel	{
109*c6ad6917Smseidel		HelpID = "uui:RadioButton:DLG_UUI_UNKNOWNAUTH:RB_DONTACCEPT_2" ;
110*c6ad6917Smseidel		Pos = MAP_APPFONT ( DLG_TEXT_START_X, DLG_RADIOBTN_START_Y + RSC_CD_RADIOBUTTON_HEIGHT ) ;
111*c6ad6917Smseidel		Size = MAP_APPFONT ( 182, RSC_CD_RADIOBUTTON_HEIGHT ) ;
112cdf0e10cSrcweir
113*c6ad6917Smseidel		Text [ en-US ] = "Do not accept this certificate and do not connect to this Web site" ;
114cdf0e10cSrcweir
115*c6ad6917Smseidel	};
116*c6ad6917Smseidel
117*c6ad6917Smseidel	FixedText FT_LABEL_1
118*c6ad6917Smseidel	{
119*c6ad6917Smseidel		Pos = MAP_APPFONT ( DLG_TEXT_START_X, RSC_SP_DLG_INNERBORDER_TOP ) ;
120*c6ad6917Smseidel		Size = MAP_APPFONT ( 190, DLG_TEXT_1_HEIGHT ) ;
121cdf0e10cSrcweir
122*c6ad6917Smseidel		Text [ en-US ] = "No Text" ;
123cdf0e10cSrcweir
124*c6ad6917Smseidel		Border = FALSE ;
125*c6ad6917Smseidel		WordBreak = TRUE ;
126cdf0e10cSrcweir
127*c6ad6917Smseidel	};
128cdf0e10cSrcweir
129*c6ad6917Smseidel	FixedLine FL_LINE
130*c6ad6917Smseidel	{
131*c6ad6917Smseidel		Pos = MAP_APPFONT ( 0, DLG_CTLBTN_START_Y - RSC_SP_FLGR_INNERBORDER_TOP - RSC_CD_FIXEDLINE_HEIGHT ) ;
132*c6ad6917Smseidel		Size = MAP_APPFONT ( DLG_WIDTH, RSC_CD_FIXEDLINE_HEIGHT ) ;
133*c6ad6917Smseidel	};
134cdf0e10cSrcweir
135cdf0e10cSrcweir};
136cdf0e10cSrcweir
137*c6ad6917Smseidel// ********************************************************************** EOF
138