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