12611ca73SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 32611ca73SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 42611ca73SAndrew Rist * or more contributor license agreements. See the NOTICE file 52611ca73SAndrew Rist * distributed with this work for additional information 62611ca73SAndrew Rist * regarding copyright ownership. The ASF licenses this file 72611ca73SAndrew Rist * to you under the Apache License, Version 2.0 (the 82611ca73SAndrew Rist * "License"); you may not use this file except in compliance 92611ca73SAndrew Rist * with the License. You may obtain a copy of the License at 102611ca73SAndrew Rist * 112611ca73SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 122611ca73SAndrew Rist * 132611ca73SAndrew Rist * Unless required by applicable law or agreed to in writing, 142611ca73SAndrew Rist * software distributed under the License is distributed on an 152611ca73SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 162611ca73SAndrew Rist * KIND, either express or implied. See the License for the 172611ca73SAndrew Rist * specific language governing permissions and limitations 182611ca73SAndrew Rist * under the License. 192611ca73SAndrew Rist * 202611ca73SAndrew Rist *************************************************************/ 212611ca73SAndrew Rist 222611ca73SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#define __RSC 25cdf0e10cSrcweir 26cdf0e10cSrcweir#ifndef UUI_COOKIEDG_HRC 27cdf0e10cSrcweir#include <cookiedg.hrc> 28cdf0e10cSrcweir#endif 29cdf0e10cSrcweir#ifndef UUI_IDS_HRC 30cdf0e10cSrcweir#include <ids.hrc> 31cdf0e10cSrcweir#endif 32cdf0e10cSrcweir 33cdf0e10cSrcweirModalDialog DLG_COOKIES 34cdf0e10cSrcweir{ 35cdf0e10cSrcweir HelpId = HID_DLG_COOKIES ; 36cdf0e10cSrcweir OutputSize = TRUE ; 37cdf0e10cSrcweir SVLook = TRUE ; 38cdf0e10cSrcweir Size = MAP_APPFONT ( 295 , 193 ) ; 39cdf0e10cSrcweir Moveable = TRUE ; 40cdf0e10cSrcweir FixedBitmap FB_COOKIES 41cdf0e10cSrcweir { 42cdf0e10cSrcweir Border = True ; 43cdf0e10cSrcweir Hide = TRUE ; 44cdf0e10cSrcweir Fixed = Bitmap 45cdf0e10cSrcweir { 46*f3d178f8Smseidel File = "cookie.png" ; 47cdf0e10cSrcweir }; 48cdf0e10cSrcweir }; 49cdf0e10cSrcweir FixedText FT_COOKIES 50cdf0e10cSrcweir { 51cdf0e10cSrcweir SVLook = TRUE ; 52cdf0e10cSrcweir WordBreak = True ; 53cdf0e10cSrcweir Pos = MAP_APPFONT ( 65 , 6 ) ; 54cdf0e10cSrcweir Size = MAP_APPFONT ( 224 , 145 ) ; 55cdf0e10cSrcweir }; 56cdf0e10cSrcweir FixedLine FL_COOKIES 57cdf0e10cSrcweir { 58cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 155 ) ; 59cdf0e10cSrcweir Size = MAP_APPFONT ( 283 , 1 ) ; 60cdf0e10cSrcweir }; 61cdf0e10cSrcweir RadioButton RB_INFUTURE_SEND 62cdf0e10cSrcweir { 63cdf0e10cSrcweir HelpID = "uui:RadioButton:DLG_COOKIES:RB_INFUTURE_SEND"; 64cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 171 ) ; 65cdf0e10cSrcweir Size = MAP_APPFONT ( 52 , 10 ) ; 66cdf0e10cSrcweir Text [ en-US ] = "~Send" ; 67cdf0e10cSrcweir }; 68cdf0e10cSrcweir RadioButton RB_INFUTURE_IGNORE 69cdf0e10cSrcweir { 70cdf0e10cSrcweir HelpID = "uui:RadioButton:DLG_COOKIES:RB_INFUTURE_IGNORE"; 71cdf0e10cSrcweir Pos = MAP_APPFONT ( 67 , 171 ) ; 72cdf0e10cSrcweir Size = MAP_APPFONT ( 52 , 10 ) ; 73cdf0e10cSrcweir Text [ en-US ] = "I~gnore" ; 74cdf0e10cSrcweir }; 75cdf0e10cSrcweir RadioButton RB_INFUTURE_INTERACTIVE 76cdf0e10cSrcweir { 77cdf0e10cSrcweir HelpID = "uui:RadioButton:DLG_COOKIES:RB_INFUTURE_INTERACTIVE"; 78cdf0e10cSrcweir Pos = MAP_APPFONT ( 122 , 171 ) ; 79cdf0e10cSrcweir Size = MAP_APPFONT ( 52 , 10 ) ; 80cdf0e10cSrcweir Text [ en-US ] = "I~nteractive" ; 81cdf0e10cSrcweir }; 82cdf0e10cSrcweir //TODO! If this dialog is ever used again (and it should definitely be 83cdf0e10cSrcweir // redesigned then!), get rid of the following group box (see #88883#): 84cdf0e10cSrcweir GroupBox GB_INFUTURE 85cdf0e10cSrcweir { 86cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 160 ) ; 87cdf0e10cSrcweir Size = MAP_APPFONT ( 174 , 27 ) ; 88cdf0e10cSrcweir Text [ en-US ] = "Future Cookie Handling" ; 89cdf0e10cSrcweir }; 90cdf0e10cSrcweir PushButton BTN_COOKIES_CANCEL 91cdf0e10cSrcweir { 92cdf0e10cSrcweir HelpID = "uui:PushButton:DLG_COOKIES:BTN_COOKIES_CANCEL"; 93cdf0e10cSrcweir Pos = MAP_APPFONT ( 186 , 173 ) ; 94cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 95cdf0e10cSrcweir Text [ en-US ] = "~Ignore" ; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir PushButton BTN_COOKIES_OK 98cdf0e10cSrcweir { 99cdf0e10cSrcweir HelpID = "uui:PushButton:DLG_COOKIES:BTN_COOKIES_OK"; 100cdf0e10cSrcweir Pos = MAP_APPFONT ( 239 , 173 ) ; 101cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 102cdf0e10cSrcweir DefButton = TRUE ; 103cdf0e10cSrcweir Text [ en-US ] = "~Send" ; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir}; 106cdf0e10cSrcweir 107cdf0e10cSrcweirString STR_COOKIES_RECV_START 108cdf0e10cSrcweir{ 109cdf0e10cSrcweir 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" ; 110cdf0e10cSrcweir}; 111cdf0e10cSrcweir 112cdf0e10cSrcweirString STR_COOKIES_RECV_COOKIES 113cdf0e10cSrcweir{ 114cdf0e10cSrcweir Text [ en-US ] = "Domain: ${DOMAIN}, Path: ${PATH}, Cookie: ${COOKIE}.\n" ; 115cdf0e10cSrcweir}; 116cdf0e10cSrcweir 117cdf0e10cSrcweirString STR_COOKIES_RECV_TITLE 118cdf0e10cSrcweir{ 119cdf0e10cSrcweir Text [ en-US ] = "Cookie Reception" ; 120cdf0e10cSrcweir}; 121cdf0e10cSrcweir 122cdf0e10cSrcweirString STR_COOKIES_SEND_START 123cdf0e10cSrcweir{ 124cdf0e10cSrcweir 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" ; 125cdf0e10cSrcweir}; 126cdf0e10cSrcweir 127cdf0e10cSrcweirString STR_COOKIES_SEND_COOKIES 128cdf0e10cSrcweir{ 129cdf0e10cSrcweir Text [ en-US ] = "Domain: ${DOMAIN}, Path: ${PATH}, Cookie: ${COOKIE}.\n" ; 130cdf0e10cSrcweir}; 131cdf0e10cSrcweir 132cdf0e10cSrcweirString STR_COOKIES_SEND_TITLE 133cdf0e10cSrcweir{ 134cdf0e10cSrcweir Text [ en-US ] = "Send Cookies" ; 135cdf0e10cSrcweir}; 136cdf0e10cSrcweir 137cdf0e10cSrcweir 138cdf0e10cSrcweir 139cdf0e10cSrcweir 140cdf0e10cSrcweir 141cdf0e10cSrcweir 142cdf0e10cSrcweir 143cdf0e10cSrcweir 144cdf0e10cSrcweir 145cdf0e10cSrcweir 146cdf0e10cSrcweir 147cdf0e10cSrcweir 148cdf0e10cSrcweir 149cdf0e10cSrcweir 150cdf0e10cSrcweir 151cdf0e10cSrcweir 152cdf0e10cSrcweir 153cdf0e10cSrcweir 154cdf0e10cSrcweir 155cdf0e10cSrcweir 156cdf0e10cSrcweir 157cdf0e10cSrcweir 158cdf0e10cSrcweir 159cdf0e10cSrcweir 160cdf0e10cSrcweir 161cdf0e10cSrcweir 162cdf0e10cSrcweir 163cdf0e10cSrcweir 164cdf0e10cSrcweir 165cdf0e10cSrcweir 166cdf0e10cSrcweir 167cdf0e10cSrcweir 168