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