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