1/************************************************************************* 2* 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26************************************************************************/ 27#define __RSC 28 29#ifndef UUI_IDS_HRC 30#include <ids.hrc> 31#endif 32#ifndef UUI_UNKNOWNAUTH_HRC 33#include <unknownauthdlg.hrc> 34#endif 35 36ModalDialog DLG_UUI_UNKNOWNAUTH 37{ 38 HelpId = HID_DLG_UNKNOWNAUTH_UUI; 39 Border = TRUE ; 40 Moveable = TRUE ; 41 OutputSize = TRUE ; 42 SVLook = TRUE ; 43 Pos = MAP_APPFONT( 136, 79 ); 44 Size = MAP_APPFONT( DLG_WIDTH, DLG_HEIGHT ); 45 46 Text [ en-US ] = "Website Certified by an Unknown Authority"; 47 48 49 FixedImage IMG_WARN 50 { 51 Pos = MAP_APPFONT( RSC_SP_DLG_INNERBORDER_LEFT, RSC_SP_DLG_INNERBORDER_TOP ); 52 Size = MAP_APPFONT( DLG_WARMIMG_WIDTH , DLG_WARMIMG_HEIGHT ); 53 54 Fixed = Image 55 { 56 /* ImageBitmap = Bitmap { File = "certificate_40x56.png"; }; */ 57 MaskColor = Color{Red=0xffff;Green=0x0000;Blue=0xffff;}; 58 }; 59 60 }; 61 62 63 PushButton PB_VIEW__CERTIFICATE 64 { 65 HelpID = "uui:PushButton:DLG_UUI_UNKNOWNAUTH:PB_VIEW__CERTIFICATE"; 66 Pos = MAP_APPFONT( DLG_TEXT_START_X, RSC_SP_DLG_INNERBORDER_TOP + DLG_TEXT_1_HEIGHT + RSC_SP_CTRL_GROUP_Y ); 67 Size = MAP_APPFONT( 70, RSC_CD_PUSHBUTTON_HEIGHT ); 68 69 Text [ en-US ] = "Examine Certificate..."; 70 71 }; 72 73 HelpButton PB_HELP 74 { 75 Pos = MAP_APPFONT( DLG_CTLBTN_HELP_START_X, DLG_CTLBTN_START_Y ); 76 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 77 78 Text [ en-US ] = "Help"; 79 80 }; 81 82 PushButton PB_OK 83 { 84 HelpID = "uui:PushButton:DLG_UUI_UNKNOWNAUTH:PB_OK"; 85 Pos = MAP_APPFONT( DLG_CTLBTN_OK_START_X, DLG_CTLBTN_START_Y ); 86 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 87 88 Text [ en-US ] = "OK"; 89 90 }; 91 92 CancelButton PB_CANCEL 93 { 94 Pos = MAP_APPFONT( DLG_CTLBTN_CANCEL_START_X, DLG_CTLBTN_START_Y ); 95 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ); 96 97 }; 98 99 RadioButton RB_ACCEPT_1 100 { 101 HelpID = "uui:RadioButton:DLG_UUI_UNKNOWNAUTH:RB_ACCEPT_1"; 102 Pos = MAP_APPFONT( DLG_TEXT_START_X, DLG_RADIOBTN_START_Y ); 103 Size = MAP_APPFONT( 182, RSC_CD_RADIOBUTTON_HEIGHT ); 104 105 Text [ en-US ] = "Accept this certificate temporarily for this session"; 106 107 Check = TRUE; 108 }; 109 110 RadioButton RB_DONTACCEPT_2 111 { 112 HelpID = "uui:RadioButton:DLG_UUI_UNKNOWNAUTH:RB_DONTACCEPT_2"; 113 Pos = MAP_APPFONT( DLG_TEXT_START_X, DLG_RADIOBTN_START_Y + RSC_CD_RADIOBUTTON_HEIGHT ); 114 Size = MAP_APPFONT( 182, RSC_CD_RADIOBUTTON_HEIGHT ); 115 116 Text [ en-US ] = "Do not accept this certificate and do not connect to this Web site"; 117 118 }; 119 120 FixedText FT_LABEL_1 121 { 122 Pos = MAP_APPFONT( DLG_TEXT_START_X, RSC_SP_DLG_INNERBORDER_TOP ); 123 Size = MAP_APPFONT( 190, DLG_TEXT_1_HEIGHT ); 124 125 Text [ en-US ] = "No Text"; 126 127 Border = FALSE; 128 WordBreak = TRUE; 129 130 }; 131 132 FixedLine FL_LINE 133 { 134 Pos = MAP_APPFONT( 0, DLG_CTLBTN_START_Y - RSC_SP_FLGR_INNERBORDER_TOP - RSC_CD_FIXEDLINE_HEIGHT ); 135 Size = MAP_APPFONT( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ); 136 }; 137 138}; 139 140