UserAdmin.src (81d089ae) | UserAdmin.src (485980a1) |
---|---|
1/************************************************************** | 1/************************************************************** |
2 * | 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 | 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 * | 10 * |
11 * http://www.apache.org/licenses/LICENSE-2.0 | 11 * http://www.apache.org/licenses/LICENSE-2.0 |
12 * | 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. | 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 * | 19 * |
20 *************************************************************/ 21 22 23 24#ifndef DBAUI_USERADMIN_HRC 25#include "UserAdmin.hrc" 26#endif 27#ifndef _DBU_DLG_HRC_ --- 5 unchanged lines hidden (view full) --- 33 34#define WINDOW_SIZE_X 260 35#define WINDOW_SIZE_Y 185 36 37TabPage TAB_PAGE_USERADMIN 38{ 39 SVLook = TRUE ; 40 HelpId = HID_TAB_PAGE_USERADMIN ; | 20 *************************************************************/ 21 22 23 24#ifndef DBAUI_USERADMIN_HRC 25#include "UserAdmin.hrc" 26#endif 27#ifndef _DBU_DLG_HRC_ --- 5 unchanged lines hidden (view full) --- 33 34#define WINDOW_SIZE_X 260 35#define WINDOW_SIZE_Y 185 36 37TabPage TAB_PAGE_USERADMIN 38{ 39 SVLook = TRUE ; 40 HelpId = HID_TAB_PAGE_USERADMIN ; |
41 Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ; 42 Hide = TRUE; | 41 Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ; 42 Hide = TRUE ; |
43 44 FixedLine FL_USER 45 { | 43 44 FixedLine FL_USER 45 { |
46 Pos = MAP_APPFONT ( 6 , 3 ) ; | 46 Pos = MAP_APPFONT ( 6, 3 ) ; |
47 Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8) ; | 47 Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8) ; |
48 Text [ en-US ] = "User selection"; | 48 Text [ en-US ] = "User selection" ; |
49 }; 50 51 FixedText FT_USER 52 { | 49 }; 50 51 FixedText FT_USER 52 { |
53 Pos = MAP_APPFONT ( 12 , 14 ) ; 54 Size = MAP_APPFONT ( 90 , 10 ) ; 55 Text [ en-US ] = "Us~er:"; | 53 Pos = MAP_APPFONT ( 12, 14 ) ; 54 Size = MAP_APPFONT ( 90, 10 ) ; 55 Text [ en-US ] = "Us~er:" ; |
56 }; 57 58 ListBox LB_USER 59 { 60 Border = TRUE ; | 56 }; 57 58 ListBox LB_USER 59 { 60 Border = TRUE ; |
61 Pos = MAP_APPFONT ( 108 , 13) ; 62 Size = MAP_APPFONT ( 105 , 97 ) ; | 61 Pos = MAP_APPFONT ( 108, 13) ; 62 Size = MAP_APPFONT ( 105, 97 ) ; |
63 TabStop = TRUE ; 64 HScroll = TRUE ; 65 Sort = TRUE ; 66 DropDown = TRUE ; 67 HelpId = HID_TAB_PAGE_LBUSER ; 68 }; 69 70 71 PushButton PB_NEWUSER 72 { | 63 TabStop = TRUE ; 64 HScroll = TRUE ; 65 Sort = TRUE ; 66 DropDown = TRUE ; 67 HelpId = HID_TAB_PAGE_LBUSER ; 68 }; 69 70 71 PushButton PB_NEWUSER 72 { |
73 Pos = MAP_APPFONT ( 12 , 29 ) ; 74 Size = MAP_APPFONT ( 70 , 14 ) ; | 73 Pos = MAP_APPFONT ( 12, 29 ) ; 74 Size = MAP_APPFONT ( 70, 14 ) ; |
75 TabStop = TRUE ; 76 DefButton = TRUE ; 77 HelpId = HID_TAB_PAGE_PBUSER ; | 75 TabStop = TRUE ; 76 DefButton = TRUE ; 77 HelpId = HID_TAB_PAGE_PBUSER ; |
78 Text [ en-US ] = "~Add User..."; | 78 Text [ en-US ] = "~Add User..." ; |
79 }; 80 81 PushButton PB_CHANGEPWD 82 { | 79 }; 80 81 PushButton PB_CHANGEPWD 82 { |
83 Pos = MAP_APPFONT ( 95 , 29 ) ; 84 Size = MAP_APPFONT ( 70 , 14 ) ; | 83 Pos = MAP_APPFONT ( 95, 29 ) ; 84 Size = MAP_APPFONT ( 70, 14 ) ; |
85 TabStop = TRUE ; 86 DefButton = TRUE ; 87 HelpId = HID_TAB_PAGE_PBCHGPWD ; | 85 TabStop = TRUE ; 86 DefButton = TRUE ; 87 HelpId = HID_TAB_PAGE_PBCHGPWD ; |
88 Text [ en-US ] = "Change ~Password..."; | 88 Text [ en-US ] = "Change ~Password..." ; |
89 }; 90 91 PushButton PB_DELETEUSER 92 { | 89 }; 90 91 PushButton PB_DELETEUSER 92 { |
93 Pos = MAP_APPFONT ( WINDOW_SIZE_X - 82 , 29 ) ; 94 Size = MAP_APPFONT ( 70 , 14 ) ; | 93 Pos = MAP_APPFONT ( WINDOW_SIZE_X - 82, 29 ) ; 94 Size = MAP_APPFONT ( 70, 14 ) ; |
95 TabStop = TRUE ; 96 DefButton = TRUE ; 97 HelpId = HID_TAB_PAGE_PBUSERDELETE ; | 95 TabStop = TRUE ; 96 DefButton = TRUE ; 97 HelpId = HID_TAB_PAGE_PBUSERDELETE ; |
98 Text [ en-US ] = "~Delete User..."; | 98 Text [ en-US ] = "~Delete User..." ; |
99 }; 100 101 FixedLine FL_TABLE_GRANTS 102 { | 99 }; 100 101 FixedLine FL_TABLE_GRANTS 102 { |
103 Pos = MAP_APPFONT ( 6 , 52 ) ; | 103 Pos = MAP_APPFONT ( 6, 52 ) ; |
104 Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8) ; | 104 Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8) ; |
105 Text [ en-US ] = "Access rights for selected user"; | 105 Text [ en-US ] = "Access rights for selected user" ; |
106 }; 107 108 Control CTRL_TABLE_GRANTS 109 { | 106 }; 107 108 Control CTRL_TABLE_GRANTS 109 { |
110 Pos = MAP_APPFONT ( 12 , 63 ) ; 111 Size = MAP_APPFONT ( WINDOW_SIZE_X - 22, WINDOW_SIZE_Y - 75 ); | 110 Pos = MAP_APPFONT ( 12, 63 ) ; 111 Size = MAP_APPFONT ( WINDOW_SIZE_X - 22, WINDOW_SIZE_Y - 75 ) ; |
112 Border = TRUE ; 113 TabStop = TRUE ; 114 HelpId = HID_TAB_PAGE_TBLGRANTS ; 115 }; 116}; 117 118QueryBox QUERY_USERADMIN_DELETE_USER 119{ 120 Buttons = WB_YES_NO ; | 112 Border = TRUE ; 113 TabStop = TRUE ; 114 HelpId = HID_TAB_PAGE_TBLGRANTS ; 115 }; 116}; 117 118QueryBox QUERY_USERADMIN_DELETE_USER 119{ 120 Buttons = WB_YES_NO ; |
121 Message [ en-US ] = "Do you really want to delete the user?"; | 121 Message [ en-US ] = "Do you really want to delete the user?" ; |
122}; 123 124String STR_USERADMIN_NOT_AVAILABLE 125{ 126 Text [ en-US ] = "The database does not support user administration." ; 127}; 128 129#define EDIT_SIZE_X 50 130#define FT_SIZE_X 90 131#define WIN_X 220 132#define WIN_Y 72 133 134ModalDialog DLG_PASSWORD 135{ 136 HelpId = HID_DLG_PASSWORD ; 137 Border = TRUE ; 138 Moveable = TRUE ; 139 OutputSize = TRUE ; 140 SVLook = TRUE ; | 122}; 123 124String STR_USERADMIN_NOT_AVAILABLE 125{ 126 Text [ en-US ] = "The database does not support user administration." ; 127}; 128 129#define EDIT_SIZE_X 50 130#define FT_SIZE_X 90 131#define WIN_X 220 132#define WIN_Y 72 133 134ModalDialog DLG_PASSWORD 135{ 136 HelpId = HID_DLG_PASSWORD ; 137 Border = TRUE ; 138 Moveable = TRUE ; 139 OutputSize = TRUE ; 140 SVLook = TRUE ; |
141 Size = MAP_APPFONT ( WIN_X , WIN_Y ) ; | 141 Size = MAP_APPFONT ( WIN_X, WIN_Y ) ; |
142 143 FixedLine FL_USER 144 { | 142 143 FixedLine FL_USER 144 { |
145 Pos = MAP_APPFONT ( 3 , 3 ) ; 146 Size = MAP_APPFONT ( WIN_X - 3 - 6 - 6 - 50 , 8 ) ; 147 Text [ en-US ] = "User \"$name$: $\""; | 145 Pos = MAP_APPFONT ( 3, 3 ) ; 146 Size = MAP_APPFONT ( WIN_X - 3 - 6 - 6 - 50, 8 ) ; 147 Text [ en-US ] = "User \"$name$: $\"" ; |
148 }; 149 150 FixedText FT_OLDPASSWORD 151 { | 148 }; 149 150 FixedText FT_OLDPASSWORD 151 { |
152 Pos = MAP_APPFONT ( 6 , 17 ) ; 153 Size = MAP_APPFONT ( FT_SIZE_X , 10 ) ; 154 Text [ en-US ] = "Old p~assword"; | 152 Pos = MAP_APPFONT ( 6, 17 ) ; 153 Size = MAP_APPFONT ( FT_SIZE_X, 10 ) ; 154 Text [ en-US ] = "Old p~assword" ; |
155 }; 156 Edit ED_OLDPASSWORD 157 { | 155 }; 156 Edit ED_OLDPASSWORD 157 { |
158 HelpID = "dbaccess:Edit:DLG_PASSWORD:ED_OLDPASSWORD"; | 158 HelpID = "dbaccess:Edit:DLG_PASSWORD:ED_OLDPASSWORD" ; |
159 Border = TRUE ; | 159 Border = TRUE ; |
160 Pos = MAP_APPFONT ( 12 + FT_SIZE_X , 16 ) ; 161 Size = MAP_APPFONT ( EDIT_SIZE_X , 12 ) ; | 160 Pos = MAP_APPFONT ( 12 + FT_SIZE_X, 16 ) ; 161 Size = MAP_APPFONT ( EDIT_SIZE_X, 12 ) ; |
162 PassWord = TRUE ; 163 }; 164 165 FixedText FT_PASSWORD 166 { | 162 PassWord = TRUE ; 163 }; 164 165 FixedText FT_PASSWORD 166 { |
167 Pos = MAP_APPFONT ( 6 , 35 ) ; 168 Size = MAP_APPFONT ( FT_SIZE_X , 10 ) ; 169 Text [ en-US ] = "~Password"; | 167 Pos = MAP_APPFONT ( 6, 35 ) ; 168 Size = MAP_APPFONT ( FT_SIZE_X, 10 ) ; 169 Text [ en-US ] = "~Password" ; |
170 }; 171 Edit ED_PASSWORD 172 { | 170 }; 171 Edit ED_PASSWORD 172 { |
173 HelpID = "dbaccess:Edit:DLG_PASSWORD:ED_PASSWORD"; | 173 HelpID = "dbaccess:Edit:DLG_PASSWORD:ED_PASSWORD" ; |
174 Border = TRUE ; | 174 Border = TRUE ; |
175 Pos = MAP_APPFONT ( 12 + FT_SIZE_X , 34 ) ; 176 Size = MAP_APPFONT ( EDIT_SIZE_X , 12 ) ; | 175 Pos = MAP_APPFONT ( 12 + FT_SIZE_X, 34 ) ; 176 Size = MAP_APPFONT ( EDIT_SIZE_X, 12 ) ; |
177 PassWord = TRUE ; 178 }; 179 FixedText FT_PASSWORD_REPEAT 180 { | 177 PassWord = TRUE ; 178 }; 179 FixedText FT_PASSWORD_REPEAT 180 { |
181 Pos = MAP_APPFONT ( 6 , 52 ) ; 182 Size = MAP_APPFONT ( FT_SIZE_X , 10 ) ; 183 Text [ en-US ] = "~Confirm password"; | 181 Pos = MAP_APPFONT ( 6, 52 ) ; 182 Size = MAP_APPFONT ( FT_SIZE_X, 10 ) ; 183 Text [ en-US ] = "~Confirm password" ; |
184 }; 185 Edit ED_PASSWORD_REPEAT 186 { | 184 }; 185 Edit ED_PASSWORD_REPEAT 186 { |
187 HelpID = "dbaccess:Edit:DLG_PASSWORD:ED_PASSWORD_REPEAT"; | 187 HelpID = "dbaccess:Edit:DLG_PASSWORD:ED_PASSWORD_REPEAT" ; |
188 Border = TRUE ; | 188 Border = TRUE ; |
189 Pos = MAP_APPFONT ( 12 + FT_SIZE_X , 51 ) ; 190 Size = MAP_APPFONT ( EDIT_SIZE_X , 12 ) ; | 189 Pos = MAP_APPFONT ( 12 + FT_SIZE_X, 51 ) ; 190 Size = MAP_APPFONT ( EDIT_SIZE_X, 12 ) ; |
191 PassWord = TRUE ; 192 }; | 191 PassWord = TRUE ; 192 }; |
193 | 193 |
194 OKButton BTN_PASSWORD_OK 195 { | 194 OKButton BTN_PASSWORD_OK 195 { |
196 Pos = MAP_APPFONT ( WIN_X - 56 , 6 ) ; 197 Size = MAP_APPFONT ( 50 , 14 ) ; | 196 Pos = MAP_APPFONT ( WIN_X - 56, 6 ) ; 197 Size = MAP_APPFONT ( 50, 14 ) ; |
198 DefButton = TRUE ; 199 }; 200 CancelButton BTN_PASSWORD_CANCEL 201 { | 198 DefButton = TRUE ; 199 }; 200 CancelButton BTN_PASSWORD_CANCEL 201 { |
202 Pos = MAP_APPFONT ( WIN_X - 56 , 23 ) ; 203 Size = MAP_APPFONT ( 50 , 14 ) ; | 202 Pos = MAP_APPFONT ( WIN_X - 56, 23 ) ; 203 Size = MAP_APPFONT ( 50, 14 ) ; |
204 }; 205 HelpButton BTN_PASSWORD_HELP 206 { | 204 }; 205 HelpButton BTN_PASSWORD_HELP 206 { |
207 Pos = MAP_APPFONT ( WIN_X - 56 , 43 ) ; 208 Size = MAP_APPFONT ( 50 , 14 ) ; 209 }; 210 Text [ en-US ] = "Change Password"; | 207 Pos = MAP_APPFONT ( WIN_X - 56, 43 ) ; 208 Size = MAP_APPFONT ( 50, 14 ) ; 209 }; 210 Text [ en-US ] = "Change Password" ; |
211}; 212 213String STR_ERROR_PASSWORDS_NOT_IDENTICAL 214{ | 211}; 212 213String STR_ERROR_PASSWORDS_NOT_IDENTICAL 214{ |
215 Text [ en-US ] = "The passwords do not match. Please enter the password again."; | 215 Text [ en-US ] = "The passwords do not match. Please enter the password again." ; |
216}; 217 | 216}; 217 |
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 | 218// ********************************************************************** EOF |