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