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