xref: /aoo42x/main/uui/source/logindlg.src (revision cdf0e10c)
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
28#define __RSC
29
30#ifndef UUI_IDS_HRC
31#include "ids.hrc"
32#endif
33
34#ifndef UUI_LOGINDLG_HRC
35#include "logindlg.hrc"
36#endif
37
38ModalDialog DLG_UUI_LOGIN
39{
40	HelpId = HID_DLG_LOGIN ;
41	Border = TRUE ;
42	Moveable = TRUE ;
43	OutputSize = TRUE ;
44	SVLook = TRUE ;
45    Size = MAP_APPFONT( 177 , 247 ) ;
46    Text [ en-US ] = "Authentication Required" ;
47
48    FixedText FT_LOGIN_ERROR
49    {
50        Pos = MAP_APPFONT( 6 , 6 ) ;
51        Size = MAP_APPFONT( 165 , 8 ) ;
52        Text [ en-US ] = "Message from server:" ;
53    };
54
55    FixedText FT_INFO_LOGIN_ERROR
56	{
57        Pos = MAP_APPFONT( 6 , 14 ) ;
58        Size = MAP_APPFONT( 165 , 3*8 ) ;
59		WordBreak = TRUE ;
60	};
61
62    FixedLine FL_LOGIN_1
63    {
64        Pos = MAP_APPFONT( 6 , 41 ) ;
65        Size = MAP_APPFONT( 165 , 8 ) ;
66    };
67
68    FixedText FT_INFO_LOGIN_REQUEST
69	{
70        Pos = MAP_APPFONT( 6 , 52 ) ;
71        Size = MAP_APPFONT( 165 , 2*8 ) ;
72		WordBreak = TRUE ;
73        Text [ en-US ] = "Enter user name and password for: \n%1" ;
74	};
75
76    String STR_LOGIN_REALM
77    {
78        Text [ en-US ] = "Enter user name and password for: \n\"%2\" on %1" ;
79    };
80
81    FixedLine FL_LOGIN_2
82    {
83        Pos = MAP_APPFONT( 6 , 71 ) ;
84        Size = MAP_APPFONT( 165 , 8 ) ;
85    };
86
87    FixedText FT_LOGIN_PATH
88	{
89        Pos = MAP_APPFONT( 6 , 84 ) ;
90        Size = MAP_APPFONT( 112 , 8 ) ;
91		Text [ en-US ] = "~Path" ;
92	};
93
94    Edit ED_LOGIN_PATH
95	{
96	    HelpId = HID_LOGIN_DLG_PATH;
97		Border = TRUE ;
98        Pos = MAP_APPFONT( 6 , 95 ) ;
99        Size = MAP_APPFONT( 112 , 12 ) ;
100	};
101	PushButton BTN_LOGIN_PATH
102	{
103	    HelpId = HID_LOGIN_DLG_BROWSE;
104        Pos = MAP_APPFONT( 121 , 94 ) ;
105        Size = MAP_APPFONT( 50 , 14 ) ;
106        Text = "~Browse..." ;
107	};
108
109    FixedText FT_LOGIN_USERNAME
110	{
111        Pos = MAP_APPFONT( 6 , 110 ) ;
112        Size = MAP_APPFONT( 165 , 8 ) ;
113		Text [ en-US ] = "~User name" ;
114	};
115
116    Edit ED_LOGIN_USERNAME
117    {
118	    HelpId = HID_LOGIN_DLG_USER_NAME;
119        Border = TRUE ;
120        Pos = MAP_APPFONT( 6 , 121 ) ;
121        Size = MAP_APPFONT( 165 , 12 ) ;
122    };
123
124    FixedText FT_LOGIN_PASSWORD
125	{
126        Pos = MAP_APPFONT( 6 , 136 ) ;
127        Size = MAP_APPFONT( 165 , 8 ) ;
128		Text [ en-US ] = "Pass~word" ;
129	};
130
131    Edit ED_LOGIN_PASSWORD
132	{
133	    HelpId = HID_LOGIN_DLG_PASSWORD;
134		Border = TRUE ;
135        Pos = MAP_APPFONT( 6 , 147 ) ;
136        Size = MAP_APPFONT( 165 , 12 ) ;
137		PassWord = TRUE ;
138	};
139
140    FixedText FT_LOGIN_ACCOUNT
141	{
142        Pos = MAP_APPFONT( 6 , 162 ) ;
143        Size = MAP_APPFONT( 165 , 8 ) ;
144		Text [ en-US ] = "A~ccount";
145	};
146
147    Edit ED_LOGIN_ACCOUNT
148	{
149	    HelpId = HID_LOGIN_DLG_ACCOUNT;
150		Border = TRUE ;
151        Pos = MAP_APPFONT( 6 , 173 ) ;
152        Size = MAP_APPFONT( 165 , 12 ) ;
153		PassWord = TRUE ;
154	};
155
156    CheckBox CB_LOGIN_SAVEPASSWORD
157	{
158	    HelpId = HID_LOGIN_DLG_REMEMBER_PASSWORD;
159        Pos = MAP_APPFONT( 6 , 190 ) ;
160        Size = MAP_APPFONT( 165 , 10 ) ;
161        Text [ en-US ] = "~Remember password" ;
162	};
163
164    CheckBox CB_LOGIN_USESYSCREDS
165	{
166	    HelpId = HID_LOGIN_DLG_USE_SYSTEM_CREDENTIALS;
167        Pos = MAP_APPFONT( 6 , 203 ) ;
168        Size = MAP_APPFONT( 165 , 10 ) ;
169        Text [ en-US ] = "~Use system credentials" ;
170	};
171
172    FixedLine FL_BUTTONS
173    {
174        Pos = MAP_APPFONT( 0 , 216 ) ;
175        Size = MAP_APPFONT( 177 , 8 ) ;
176    };
177
178    HelpButton BTN_LOGIN_HELP
179    {
180        Pos = MAP_APPFONT( 6 , 227 ) ;
181        Size = MAP_APPFONT( 50 , 14 ) ;
182    };
183
184    OKButton BTN_LOGIN_OK
185    {
186        Pos = MAP_APPFONT( 66 , 227 ) ;
187        Size = MAP_APPFONT( 50 , 14 ) ;
188        DefButton = TRUE ;
189    };
190
191    CancelButton BTN_LOGIN_CANCEL
192    {
193        Pos = MAP_APPFONT( 121 , 227 ) ;
194        Size = MAP_APPFONT( 50 , 14 ) ;
195    };
196};
197
198