1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: UserAdmin.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef DBAUI_USERADMIN_HRC
32 #include "UserAdmin.hrc"
35 #include "dbu_dlg.hrc"
37 #ifndef _DBA_DBACCESS_HELPID_HRC_
38 #include "dbaccess_helpid.hrc"
41 #define WINDOW_SIZE_X 260
42 #define WINDOW_SIZE_Y 185
44 TabPage TAB_PAGE_USERADMIN
47 HelpId = HID_TAB_PAGE_USERADMIN ;
48 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ;
53 Pos = MAP_APPFONT ( 6 , 3 ) ;
54 Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8) ;
55 Text [ en-US ] = "User selection";
60 Pos = MAP_APPFONT ( 12 , 14 ) ;
61 Size = MAP_APPFONT ( 90 , 10 ) ;
62 Text [ en-US ] = "Us~er:";
68 Pos = MAP_APPFONT ( 108 , 13) ;
69 Size = MAP_APPFONT ( 105 , 97 ) ;
74 HelpId = HID_TAB_PAGE_LBUSER ;
80 Pos = MAP_APPFONT ( 12 , 29 ) ;
81 Size = MAP_APPFONT ( 70 , 14 ) ;
84 HelpId = HID_TAB_PAGE_PBUSER ;
85 Text [ en-US ] = "~Add User...";
88 PushButton PB_CHANGEPWD
90 Pos = MAP_APPFONT ( 95 , 29 ) ;
91 Size = MAP_APPFONT ( 70 , 14 ) ;
94 HelpId = HID_TAB_PAGE_PBCHGPWD ;
95 Text [ en-US ] = "Change ~Password...";
98 PushButton PB_DELETEUSER
100 Pos = MAP_APPFONT ( WINDOW_SIZE_X - 82 , 29 ) ;
101 Size = MAP_APPFONT ( 70 , 14 ) ;
104 HelpId = HID_TAB_PAGE_PBUSERDELETE ;
105 Text [ en-US ] = "~Delete User...";
108 FixedLine FL_TABLE_GRANTS
110 Pos = MAP_APPFONT ( 6 , 52 ) ;
111 Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8) ;
112 Text [ en-US ] = "Access rights for selected user";
115 Control CTRL_TABLE_GRANTS
117 Pos = MAP_APPFONT ( 12 , 63 ) ;
118 Size = MAP_APPFONT ( WINDOW_SIZE_X - 22, WINDOW_SIZE_Y - 75 );
121 HelpId = HID_TAB_PAGE_TBLGRANTS ;
125 QueryBox QUERY_USERADMIN_DELETE_USER
127 Buttons = WB_YES_NO ;
128 Message [ en-US ] = "Do you really want to delete the user?";
131 String STR_USERADMIN_NOT_AVAILABLE
133 Text [ en-US ] = "The database does not support user administration." ;
136 #define EDIT_SIZE_X 50
141 ModalDialog DLG_PASSWORD
143 HelpId = HID_DLG_PASSWORD ;
148 Size = MAP_APPFONT ( WIN_X , WIN_Y ) ;
152 Pos = MAP_APPFONT ( 3 , 3 ) ;
153 Size = MAP_APPFONT ( WIN_X - 3 - 6 - 6 - 50 , 8 ) ;
154 Text [ en-US ] = "User \"$name$: $\"";
157 FixedText FT_OLDPASSWORD
159 Pos = MAP_APPFONT ( 6 , 17 ) ;
160 Size = MAP_APPFONT ( FT_SIZE_X , 10 ) ;
161 Text [ en-US ] = "Old p~assword";
166 Pos = MAP_APPFONT ( 12 + FT_SIZE_X , 16 ) ;
167 Size = MAP_APPFONT ( EDIT_SIZE_X , 12 ) ;
171 FixedText FT_PASSWORD
173 Pos = MAP_APPFONT ( 6 , 35 ) ;
174 Size = MAP_APPFONT ( FT_SIZE_X , 10 ) ;
175 Text [ en-US ] = "~Password";
180 Pos = MAP_APPFONT ( 12 + FT_SIZE_X , 34 ) ;
181 Size = MAP_APPFONT ( EDIT_SIZE_X , 12 ) ;
184 FixedText FT_PASSWORD_REPEAT
186 Pos = MAP_APPFONT ( 6 , 52 ) ;
187 Size = MAP_APPFONT ( FT_SIZE_X , 10 ) ;
188 Text [ en-US ] = "~Confirm password";
190 Edit ED_PASSWORD_REPEAT
193 Pos = MAP_APPFONT ( 12 + FT_SIZE_X , 51 ) ;
194 Size = MAP_APPFONT ( EDIT_SIZE_X , 12 ) ;
198 OKButton BTN_PASSWORD_OK
200 Pos = MAP_APPFONT ( WIN_X - 56 , 6 ) ;
201 Size = MAP_APPFONT ( 50 , 14 ) ;
204 CancelButton BTN_PASSWORD_CANCEL
206 Pos = MAP_APPFONT ( WIN_X - 56 , 23 ) ;
207 Size = MAP_APPFONT ( 50 , 14 ) ;
209 HelpButton BTN_PASSWORD_HELP
211 Pos = MAP_APPFONT ( WIN_X - 56 , 43 ) ;
212 Size = MAP_APPFONT ( 50 , 14 ) ;
214 Text [ en-US ] = "Change Password";
217 String STR_ERROR_PASSWORDS_NOT_IDENTICAL
219 Text [ en-US ] = "The passwords do not match. Please enter the password again.";