xref: /aoo41x/main/uui/source/logindlg.src (revision 2611ca73)
1*2611ca73SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*2611ca73SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*2611ca73SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*2611ca73SAndrew Rist * distributed with this work for additional information
6*2611ca73SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*2611ca73SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*2611ca73SAndrew Rist * "License"); you may not use this file except in compliance
9*2611ca73SAndrew Rist * with the License.  You may obtain a copy of the License at
10*2611ca73SAndrew Rist *
11*2611ca73SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*2611ca73SAndrew Rist *
13*2611ca73SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*2611ca73SAndrew Rist * software distributed under the License is distributed on an
15*2611ca73SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*2611ca73SAndrew Rist * KIND, either express or implied.  See the License for the
17*2611ca73SAndrew Rist * specific language governing permissions and limitations
18*2611ca73SAndrew Rist * under the License.
19*2611ca73SAndrew Rist *
20*2611ca73SAndrew Rist *************************************************************/
21*2611ca73SAndrew Rist
22*2611ca73SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#define __RSC
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef UUI_IDS_HRC
27cdf0e10cSrcweir#include "ids.hrc"
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir
30cdf0e10cSrcweir#ifndef UUI_LOGINDLG_HRC
31cdf0e10cSrcweir#include "logindlg.hrc"
32cdf0e10cSrcweir#endif
33cdf0e10cSrcweir
34cdf0e10cSrcweirModalDialog DLG_UUI_LOGIN
35cdf0e10cSrcweir{
36cdf0e10cSrcweir	HelpId = HID_DLG_LOGIN ;
37cdf0e10cSrcweir	Border = TRUE ;
38cdf0e10cSrcweir	Moveable = TRUE ;
39cdf0e10cSrcweir	OutputSize = TRUE ;
40cdf0e10cSrcweir	SVLook = TRUE ;
41cdf0e10cSrcweir    Size = MAP_APPFONT( 177 , 247 ) ;
42cdf0e10cSrcweir    Text [ en-US ] = "Authentication Required" ;
43cdf0e10cSrcweir
44cdf0e10cSrcweir    FixedText FT_LOGIN_ERROR
45cdf0e10cSrcweir    {
46cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 6 ) ;
47cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 8 ) ;
48cdf0e10cSrcweir        Text [ en-US ] = "Message from server:" ;
49cdf0e10cSrcweir    };
50cdf0e10cSrcweir
51cdf0e10cSrcweir    FixedText FT_INFO_LOGIN_ERROR
52cdf0e10cSrcweir	{
53cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 14 ) ;
54cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 3*8 ) ;
55cdf0e10cSrcweir		WordBreak = TRUE ;
56cdf0e10cSrcweir	};
57cdf0e10cSrcweir
58cdf0e10cSrcweir    FixedLine FL_LOGIN_1
59cdf0e10cSrcweir    {
60cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 41 ) ;
61cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 8 ) ;
62cdf0e10cSrcweir    };
63cdf0e10cSrcweir
64cdf0e10cSrcweir    FixedText FT_INFO_LOGIN_REQUEST
65cdf0e10cSrcweir	{
66cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 52 ) ;
67cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 2*8 ) ;
68cdf0e10cSrcweir		WordBreak = TRUE ;
69cdf0e10cSrcweir        Text [ en-US ] = "Enter user name and password for: \n%1" ;
70cdf0e10cSrcweir	};
71cdf0e10cSrcweir
72cdf0e10cSrcweir    String STR_LOGIN_REALM
73cdf0e10cSrcweir    {
74cdf0e10cSrcweir        Text [ en-US ] = "Enter user name and password for: \n\"%2\" on %1" ;
75cdf0e10cSrcweir    };
76cdf0e10cSrcweir
77cdf0e10cSrcweir    FixedLine FL_LOGIN_2
78cdf0e10cSrcweir    {
79cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 71 ) ;
80cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 8 ) ;
81cdf0e10cSrcweir    };
82cdf0e10cSrcweir
83cdf0e10cSrcweir    FixedText FT_LOGIN_PATH
84cdf0e10cSrcweir	{
85cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 84 ) ;
86cdf0e10cSrcweir        Size = MAP_APPFONT( 112 , 8 ) ;
87cdf0e10cSrcweir		Text [ en-US ] = "~Path" ;
88cdf0e10cSrcweir	};
89cdf0e10cSrcweir
90cdf0e10cSrcweir    Edit ED_LOGIN_PATH
91cdf0e10cSrcweir	{
92cdf0e10cSrcweir	    HelpId = HID_LOGIN_DLG_PATH;
93cdf0e10cSrcweir		Border = TRUE ;
94cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 95 ) ;
95cdf0e10cSrcweir        Size = MAP_APPFONT( 112 , 12 ) ;
96cdf0e10cSrcweir	};
97cdf0e10cSrcweir	PushButton BTN_LOGIN_PATH
98cdf0e10cSrcweir	{
99cdf0e10cSrcweir	    HelpId = HID_LOGIN_DLG_BROWSE;
100cdf0e10cSrcweir        Pos = MAP_APPFONT( 121 , 94 ) ;
101cdf0e10cSrcweir        Size = MAP_APPFONT( 50 , 14 ) ;
102cdf0e10cSrcweir        Text = "~Browse..." ;
103cdf0e10cSrcweir	};
104cdf0e10cSrcweir
105cdf0e10cSrcweir    FixedText FT_LOGIN_USERNAME
106cdf0e10cSrcweir	{
107cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 110 ) ;
108cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 8 ) ;
109cdf0e10cSrcweir		Text [ en-US ] = "~User name" ;
110cdf0e10cSrcweir	};
111cdf0e10cSrcweir
112cdf0e10cSrcweir    Edit ED_LOGIN_USERNAME
113cdf0e10cSrcweir    {
114cdf0e10cSrcweir	    HelpId = HID_LOGIN_DLG_USER_NAME;
115cdf0e10cSrcweir        Border = TRUE ;
116cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 121 ) ;
117cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 12 ) ;
118cdf0e10cSrcweir    };
119cdf0e10cSrcweir
120cdf0e10cSrcweir    FixedText FT_LOGIN_PASSWORD
121cdf0e10cSrcweir	{
122cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 136 ) ;
123cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 8 ) ;
124cdf0e10cSrcweir		Text [ en-US ] = "Pass~word" ;
125cdf0e10cSrcweir	};
126cdf0e10cSrcweir
127cdf0e10cSrcweir    Edit ED_LOGIN_PASSWORD
128cdf0e10cSrcweir	{
129cdf0e10cSrcweir	    HelpId = HID_LOGIN_DLG_PASSWORD;
130cdf0e10cSrcweir		Border = TRUE ;
131cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 147 ) ;
132cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 12 ) ;
133cdf0e10cSrcweir		PassWord = TRUE ;
134cdf0e10cSrcweir	};
135cdf0e10cSrcweir
136cdf0e10cSrcweir    FixedText FT_LOGIN_ACCOUNT
137cdf0e10cSrcweir	{
138cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 162 ) ;
139cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 8 ) ;
140cdf0e10cSrcweir		Text [ en-US ] = "A~ccount";
141cdf0e10cSrcweir	};
142cdf0e10cSrcweir
143cdf0e10cSrcweir    Edit ED_LOGIN_ACCOUNT
144cdf0e10cSrcweir	{
145cdf0e10cSrcweir	    HelpId = HID_LOGIN_DLG_ACCOUNT;
146cdf0e10cSrcweir		Border = TRUE ;
147cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 173 ) ;
148cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 12 ) ;
149cdf0e10cSrcweir		PassWord = TRUE ;
150cdf0e10cSrcweir	};
151cdf0e10cSrcweir
152cdf0e10cSrcweir    CheckBox CB_LOGIN_SAVEPASSWORD
153cdf0e10cSrcweir	{
154cdf0e10cSrcweir	    HelpId = HID_LOGIN_DLG_REMEMBER_PASSWORD;
155cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 190 ) ;
156cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 10 ) ;
157cdf0e10cSrcweir        Text [ en-US ] = "~Remember password" ;
158cdf0e10cSrcweir	};
159cdf0e10cSrcweir
160cdf0e10cSrcweir    CheckBox CB_LOGIN_USESYSCREDS
161cdf0e10cSrcweir	{
162cdf0e10cSrcweir	    HelpId = HID_LOGIN_DLG_USE_SYSTEM_CREDENTIALS;
163cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 203 ) ;
164cdf0e10cSrcweir        Size = MAP_APPFONT( 165 , 10 ) ;
165cdf0e10cSrcweir        Text [ en-US ] = "~Use system credentials" ;
166cdf0e10cSrcweir	};
167cdf0e10cSrcweir
168cdf0e10cSrcweir    FixedLine FL_BUTTONS
169cdf0e10cSrcweir    {
170cdf0e10cSrcweir        Pos = MAP_APPFONT( 0 , 216 ) ;
171cdf0e10cSrcweir        Size = MAP_APPFONT( 177 , 8 ) ;
172cdf0e10cSrcweir    };
173cdf0e10cSrcweir
174cdf0e10cSrcweir    HelpButton BTN_LOGIN_HELP
175cdf0e10cSrcweir    {
176cdf0e10cSrcweir        Pos = MAP_APPFONT( 6 , 227 ) ;
177cdf0e10cSrcweir        Size = MAP_APPFONT( 50 , 14 ) ;
178cdf0e10cSrcweir    };
179cdf0e10cSrcweir
180cdf0e10cSrcweir    OKButton BTN_LOGIN_OK
181cdf0e10cSrcweir    {
182cdf0e10cSrcweir        Pos = MAP_APPFONT( 66 , 227 ) ;
183cdf0e10cSrcweir        Size = MAP_APPFONT( 50 , 14 ) ;
184cdf0e10cSrcweir        DefButton = TRUE ;
185cdf0e10cSrcweir    };
186cdf0e10cSrcweir
187cdf0e10cSrcweir    CancelButton BTN_LOGIN_CANCEL
188cdf0e10cSrcweir    {
189cdf0e10cSrcweir        Pos = MAP_APPFONT( 121 , 227 ) ;
190cdf0e10cSrcweir        Size = MAP_APPFONT( 50 , 14 ) ;
191cdf0e10cSrcweir    };
192cdf0e10cSrcweir};
193cdf0e10cSrcweir
194