1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir#define __RSC 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir#ifndef UUI_COOKIEDG_HRC 31*cdf0e10cSrcweir#include <cookiedg.hrc> 32*cdf0e10cSrcweir#endif 33*cdf0e10cSrcweir#ifndef UUI_IDS_HRC 34*cdf0e10cSrcweir#include <ids.hrc> 35*cdf0e10cSrcweir#endif 36*cdf0e10cSrcweir 37*cdf0e10cSrcweirModalDialog DLG_COOKIES 38*cdf0e10cSrcweir{ 39*cdf0e10cSrcweir HelpId = HID_DLG_COOKIES ; 40*cdf0e10cSrcweir OutputSize = TRUE ; 41*cdf0e10cSrcweir SVLook = TRUE ; 42*cdf0e10cSrcweir Size = MAP_APPFONT ( 295 , 193 ) ; 43*cdf0e10cSrcweir Moveable = TRUE ; 44*cdf0e10cSrcweir FixedBitmap FB_COOKIES 45*cdf0e10cSrcweir { 46*cdf0e10cSrcweir Border = True ; 47*cdf0e10cSrcweir Hide = TRUE ; 48*cdf0e10cSrcweir Fixed = Bitmap 49*cdf0e10cSrcweir { 50*cdf0e10cSrcweir File = "cookie.bmp" ; 51*cdf0e10cSrcweir }; 52*cdf0e10cSrcweir }; 53*cdf0e10cSrcweir FixedText FT_COOKIES 54*cdf0e10cSrcweir { 55*cdf0e10cSrcweir SVLook = TRUE ; 56*cdf0e10cSrcweir WordBreak = True ; 57*cdf0e10cSrcweir Pos = MAP_APPFONT ( 65 , 6 ) ; 58*cdf0e10cSrcweir Size = MAP_APPFONT ( 224 , 145 ) ; 59*cdf0e10cSrcweir }; 60*cdf0e10cSrcweir FixedLine FL_COOKIES 61*cdf0e10cSrcweir { 62*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 155 ) ; 63*cdf0e10cSrcweir Size = MAP_APPFONT ( 283 , 1 ) ; 64*cdf0e10cSrcweir }; 65*cdf0e10cSrcweir RadioButton RB_INFUTURE_SEND 66*cdf0e10cSrcweir { 67*cdf0e10cSrcweir HelpID = "uui:RadioButton:DLG_COOKIES:RB_INFUTURE_SEND"; 68*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 171 ) ; 69*cdf0e10cSrcweir Size = MAP_APPFONT ( 52 , 10 ) ; 70*cdf0e10cSrcweir Text [ en-US ] = "~Send" ; 71*cdf0e10cSrcweir }; 72*cdf0e10cSrcweir RadioButton RB_INFUTURE_IGNORE 73*cdf0e10cSrcweir { 74*cdf0e10cSrcweir HelpID = "uui:RadioButton:DLG_COOKIES:RB_INFUTURE_IGNORE"; 75*cdf0e10cSrcweir Pos = MAP_APPFONT ( 67 , 171 ) ; 76*cdf0e10cSrcweir Size = MAP_APPFONT ( 52 , 10 ) ; 77*cdf0e10cSrcweir Text [ en-US ] = "I~gnore" ; 78*cdf0e10cSrcweir }; 79*cdf0e10cSrcweir RadioButton RB_INFUTURE_INTERACTIVE 80*cdf0e10cSrcweir { 81*cdf0e10cSrcweir HelpID = "uui:RadioButton:DLG_COOKIES:RB_INFUTURE_INTERACTIVE"; 82*cdf0e10cSrcweir Pos = MAP_APPFONT ( 122 , 171 ) ; 83*cdf0e10cSrcweir Size = MAP_APPFONT ( 52 , 10 ) ; 84*cdf0e10cSrcweir Text [ en-US ] = "I~nteractive" ; 85*cdf0e10cSrcweir }; 86*cdf0e10cSrcweir //TODO! If this dialog is ever used again (and it should definitely be 87*cdf0e10cSrcweir // redesigned then!), get rid of the following group box (see #88883#): 88*cdf0e10cSrcweir GroupBox GB_INFUTURE 89*cdf0e10cSrcweir { 90*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 160 ) ; 91*cdf0e10cSrcweir Size = MAP_APPFONT ( 174 , 27 ) ; 92*cdf0e10cSrcweir Text [ en-US ] = "Future Cookie Handling" ; 93*cdf0e10cSrcweir }; 94*cdf0e10cSrcweir PushButton BTN_COOKIES_CANCEL 95*cdf0e10cSrcweir { 96*cdf0e10cSrcweir HelpID = "uui:PushButton:DLG_COOKIES:BTN_COOKIES_CANCEL"; 97*cdf0e10cSrcweir Pos = MAP_APPFONT ( 186 , 173 ) ; 98*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 99*cdf0e10cSrcweir Text [ en-US ] = "~Ignore" ; 100*cdf0e10cSrcweir }; 101*cdf0e10cSrcweir PushButton BTN_COOKIES_OK 102*cdf0e10cSrcweir { 103*cdf0e10cSrcweir HelpID = "uui:PushButton:DLG_COOKIES:BTN_COOKIES_OK"; 104*cdf0e10cSrcweir Pos = MAP_APPFONT ( 239 , 173 ) ; 105*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 106*cdf0e10cSrcweir DefButton = TRUE ; 107*cdf0e10cSrcweir Text [ en-US ] = "~Send" ; 108*cdf0e10cSrcweir }; 109*cdf0e10cSrcweir}; 110*cdf0e10cSrcweir 111*cdf0e10cSrcweirString STR_COOKIES_RECV_START 112*cdf0e10cSrcweir{ 113*cdf0e10cSrcweir Text [ en-US ] = "The '${HOST}' server wishes to set one or more cookies.\nCookies contain information referring to certain URL classes. If %PRODUCTNAME later requests a document with a URL corresponding to the class of a previously set cookie, %PRODUCTNAME will send this information to the server. This allows a server to recognize the status of a WWW application, e.g., when shopping online.\n\nThe following Cookies should be set:\n\n" ; 114*cdf0e10cSrcweir}; 115*cdf0e10cSrcweir 116*cdf0e10cSrcweirString STR_COOKIES_RECV_COOKIES 117*cdf0e10cSrcweir{ 118*cdf0e10cSrcweir Text [ en-US ] = "Domain: ${DOMAIN}, Path: ${PATH}, Cookie: ${COOKIE}.\n" ; 119*cdf0e10cSrcweir}; 120*cdf0e10cSrcweir 121*cdf0e10cSrcweirString STR_COOKIES_RECV_TITLE 122*cdf0e10cSrcweir{ 123*cdf0e10cSrcweir Text [ en-US ] = "Cookie Reception" ; 124*cdf0e10cSrcweir}; 125*cdf0e10cSrcweir 126*cdf0e10cSrcweirString STR_COOKIES_SEND_START 127*cdf0e10cSrcweir{ 128*cdf0e10cSrcweir Text [ en-US ] = "%PRODUCTNAME has saved cookies for the server '${HOST}' which will be sent when requesting the document ${PATH}.\nCookies contain information which refers to certain URL classes. They are sent by some servers to %PRODUCTNAME where they are saved when certain documents are accessed. If %PRODUCTNAME loads a document that, according to the URL, corresponds to a class of one of the previously received Cookies, %PRODUCTNAME will send this information to that server. This enables a server to keep track of the status of a WWW application, e.g., when shopping online.\n\nThe following Cookies should be set:\n\n" ; 129*cdf0e10cSrcweir}; 130*cdf0e10cSrcweir 131*cdf0e10cSrcweirString STR_COOKIES_SEND_COOKIES 132*cdf0e10cSrcweir{ 133*cdf0e10cSrcweir Text [ en-US ] = "Domain: ${DOMAIN}, Path: ${PATH}, Cookie: ${COOKIE}.\n" ; 134*cdf0e10cSrcweir}; 135*cdf0e10cSrcweir 136*cdf0e10cSrcweirString STR_COOKIES_SEND_TITLE 137*cdf0e10cSrcweir{ 138*cdf0e10cSrcweir Text [ en-US ] = "Send Cookies" ; 139*cdf0e10cSrcweir}; 140*cdf0e10cSrcweir 141*cdf0e10cSrcweir 142*cdf0e10cSrcweir 143*cdf0e10cSrcweir 144*cdf0e10cSrcweir 145*cdf0e10cSrcweir 146*cdf0e10cSrcweir 147*cdf0e10cSrcweir 148*cdf0e10cSrcweir 149*cdf0e10cSrcweir 150*cdf0e10cSrcweir 151*cdf0e10cSrcweir 152*cdf0e10cSrcweir 153*cdf0e10cSrcweir 154*cdf0e10cSrcweir 155*cdf0e10cSrcweir 156*cdf0e10cSrcweir 157*cdf0e10cSrcweir 158*cdf0e10cSrcweir 159*cdf0e10cSrcweir 160*cdf0e10cSrcweir 161*cdf0e10cSrcweir 162*cdf0e10cSrcweir 163*cdf0e10cSrcweir 164*cdf0e10cSrcweir 165*cdf0e10cSrcweir 166*cdf0e10cSrcweir 167*cdf0e10cSrcweir 168*cdf0e10cSrcweir 169*cdf0e10cSrcweir 170*cdf0e10cSrcweir 171*cdf0e10cSrcweir 172