/[smeserver]/rpms/e-smith-base/sme7/e-smith-base-4.18.1-add2general.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme7/e-smith-base-4.18.1-add2general.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Sun Apr 27 16:56:42 2008 UTC (16 years, 2 months ago) by snetram
Branch: MAIN
Changes since 1.2: +155 -0 lines
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.18.1-13
- Add common <base> tags to e-smith-formmagick's general (3)

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/groups mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/groups
2 --- e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/groups 2008-03-26 17:49:00.000000000 +0100
3 +++ mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/groups 2008-04-27 12:11:51.000000000 +0200
4 @@ -6,18 +6,6 @@
5 <trans>Create, modify, or remove user groups</trans>
6 </entry>
7 <entry>
8 - <base>CREATE_TITLE</base>
9 - <trans>Create user group</trans>
10 - </entry>
11 - <entry>
12 - <base>MODIFY_TITLE</base>
13 - <trans>Modify user group</trans>
14 - </entry>
15 - <entry>
16 - <base>REMOVE_TITLE</base>
17 - <trans>Remove user group</trans>
18 - </entry>
19 - <entry>
20 <base>GROUP_TOO_LONG</base>
21 <trans>Error: group name is too long.The maximum is {$maxLength}
22 characters.</trans>
23 @@ -81,10 +69,6 @@
24 <trans>Error: That is not an existing group account.</trans>
25 </entry>
26 <entry>
27 - <base>GROUP_NAME</base>
28 - <trans>Group Name</trans>
29 - </entry>
30 - <entry>
31 <base>GROUP_DESC</base>
32 <trans>Brief Description/Windows Group Alias</trans>
33 </entry>
34 @@ -109,37 +93,13 @@
35 ]]></trans>
36 </entry>
37 <entry>
38 - <base>USERNAME</base>
39 - <trans>User Name</trans>
40 - </entry>
41 - <entry>
42 - <base>CLICK_TO_CREATE</base>
43 - <trans>Add group</trans>
44 - </entry>
45 - <entry>
46 - <base>NO_GROUPS</base>
47 - <trans>There are no user groups in the system.</trans>
48 - </entry>
49 - <entry>
50 <base>CURRENT_LIST</base>
51 <trans><![CDATA[<p>Current list of User Groups</p>]]></trans>
52 </entry>
53 <entry>
54 - <base>GROUP_MEMBERS</base>
55 - <trans>Group Members</trans>
56 - </entry>
57 - <entry>
58 - <base>DESCRIPTION</base>
59 - <trans>Description</trans>
60 - </entry>
61 - <entry>
62 <base>DELETE_DESCRIPTION</base>
63 <trans><![CDATA[
64 You are about to remove the user group "<b>{$group}</b>."
65 ]]></trans>
66 </entry>
67 - <entry>
68 - <base>Groups</base>
69 - <trans>Groups</trans>
70 - </entry>
71 </lexicon>
72 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/remoteaccess mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/remoteaccess
73 --- e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/remoteaccess 2008-03-26 17:49:00.000000000 +0100
74 +++ mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/remoteaccess 2008-04-27 12:19:22.000000000 +0200
75 @@ -20,14 +20,6 @@
76 <trans>The new remote access settings have been saved.</trans>
77 </entry>
78 <entry>
79 - <base>ERROR_UPDATING</base>
80 - <trans>Error occurred while updating system configuration.</trans>
81 - </entry>
82 - <entry>
83 - <base>OFF</base>
84 - <trans>Off</trans>
85 - </entry>
86 - <entry>
87 <base>NO_ACCESS</base>
88 <trans>No Access</trans>
89 </entry>
90 @@ -40,14 +32,6 @@
91 <trans>Accept passwords from anywhere</trans>
92 </entry>
93 <entry>
94 - <base>PUBLIC</base>
95 - <trans>Allow public access (entire Internet)</trans>
96 - </entry>
97 - <entry>
98 - <base>PRIVATE</base>
99 - <trans>Allow access only from local networks</trans>
100 - </entry>
101 - <entry>
102 <base>LABEL_TELNET_ACCESS</base>
103 <trans>Telnet access</trans>
104 </entry>
105 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/useraccounts mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/useraccounts
106 --- e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/useraccounts 2008-04-27 12:20:21.000000000 +0200
107 +++ mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/useraccounts 2008-04-27 12:16:36.000000000 +0200
108 @@ -155,22 +155,6 @@
109 <trans>Group memberships</trans>
110 </entry>
111 <entry>
112 - <base>USER_NAME</base>
113 - <trans>User name</trans>
114 - </entry>
115 - <entry>
116 - <base>PASSWORD1</base>
117 - <trans>New password</trans>
118 - </entry>
119 - <entry>
120 - <base>PASSWORD2</base>
121 - <trans>New password (verify)</trans>
122 - </entry>
123 - <entry>
124 - <base>PASSWORD_VERIFY_ERROR</base>
125 - <trans>The passwords you entered did not match.</trans>
126 - </entry>
127 - <entry>
128 <base>RESET_DESC</base>
129 <trans>You are about to change the password for the user account</trans>
130 </entry>
131 @@ -209,10 +193,6 @@
132 initials to this field.</trans>
133 </entry>
134 <entry>
135 - <base>RESET_PASSWORD</base>
136 - <trans>Reset password</trans>
137 - </entry>
138 - <entry>
139 <base>LOCK_ACCOUNT</base>
140 <trans>Lock account</trans>
141 </entry>
142 @@ -268,10 +248,6 @@
143 <trans>There are no user accounts on this system.</trans>
144 </entry>
145 <entry>
146 - <base>ACCOUNT_IS_LOCKED</base>
147 - <trans>Account is locked</trans>
148 - </entry>
149 - <entry>
150 <base>Users</base>
151 <trans>Users</trans>
152 </entry>
153 @@ -313,10 +289,6 @@
154 <trans>Member?</trans>
155 </entry>
156 <entry>
157 - <base>DESCRIPTION</base>
158 - <trans>Description</trans>
159 - </entry>
160 - <entry>
161 <base>VPN_CLIENT_ACCESS</base>
162 <trans>VPN Client Access</trans>
163 </entry>
164 @@ -368,10 +340,6 @@
165 <trans>Download digital certificate to IPSec client</trans>
166 </entry>
167 <entry>
168 - <base>BUTTON_IPSECRW_DOWNLOAD</base>
169 - <trans>Download</trans>
170 - </entry>
171 - <entry>
172 <base>ERR_OCCURRED_DELETING</base>
173 <trans>
174 An error occurred while trying to delete the user.
175 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/etc/e-smith/web/functions/groups mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/web/functions/groups
176 --- e-smith-base-4.18.1/root/etc/e-smith/web/functions/groups 2008-03-26 17:49:00.000000000 +0100
177 +++ mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/web/functions/groups 2008-04-27 12:09:25.000000000 +0200
178 @@ -3,7 +3,7 @@
179 # vim: ft=xml ts=4 sw=4 et:
180 #----------------------------------------------------------------------
181 # heading : Collaboration
182 -# description : Groups
183 +# description : GROUPS
184 # navigation : 2000 2200
185 #----------------------------------------------------------------------
186 #----------------------------------------------------------------------
187 @@ -112,7 +112,7 @@
188 </page>
189 <page name="CreateGroup" pre-event="turn_off_buttons()"
190 post-event="create_group()">
191 - <title>CREATE_TITLE</title>
192 + <title>CREATE_GROUP</title>
193 <description>GROUP_NAMING</description>
194 <field type="text" id="groupName"
195 validation="validate_group, validate_group_length, validate_group_naming_conflict">
196 @@ -127,7 +127,7 @@
197 </page>
198 <page name="Delete" pre-event="turn_off_buttons()"
199 post-event="delete_group()">
200 - <title>REMOVE_TITLE</title>
201 + <title>REMOVE_USER_GROUP</title>
202 <subroutine src="print_group_delete_desc()"/>
203 <subroutine src="print_group_members()"/>
204 <subroutine src="print_ibay_list($acct)"/>
205 @@ -135,7 +135,7 @@
206 </page>
207 <page name="Modify" pre-event="turn_off_buttons()"
208 post-event="modify_group()">
209 - <title>MODIFY_TITLE</title>
210 + <title>MODIFY_USER_GROUP</title>
211 <field type="literal" id="groupName" value="$q->param('groupName')">
212 <label>GROUP_NAME</label>
213 </field>
214 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/etc/e-smith/web/functions/useraccounts mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/web/functions/useraccounts
215 --- e-smith-base-4.18.1/root/etc/e-smith/web/functions/useraccounts 2008-04-27 12:20:21.000000000 +0200
216 +++ mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/web/functions/useraccounts 2008-04-27 12:14:39.000000000 +0200
217 @@ -257,13 +257,13 @@
218 <page name="CheckMaxUsersUnlock" post-event="checkMaxUsers('ResetPassword')">
219 </page>
220 <page name="ResetPassword" pre-event="turn_off_buttons()" post-event="reset_password()">
221 - <title>RESET_PASSWORD_TITLE</title>
222 + <title>PASSWORD_RESET_TITLE</title>
223 <subroutine src="print_page_description('reset')" />
224 <field type="password" id="password1" validation="nonblank, check_password">
225 - <label>PASSWORD1</label>
226 + <label>PASSWORD_NEW</label>
227 </field>
228 <field type="password" id="password2" validation="verifyPasswords">
229 - <label>PASSWORD2</label>
230 + <label>PASSWORD_VERIFY_NEW</label>
231 </field>
232 <subroutine src="print_button('SAVE')" />
233 </page>
234 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/groups.pm mezzanine_patched_e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/groups.pm
235 --- e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/groups.pm 2008-03-26 17:49:00.000000000 +0100
236 +++ mezzanine_patched_e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/groups.pm 2008-04-27 12:08:04.000000000 +0200
237 @@ -161,12 +161,12 @@
238
239 print $q->Tr($q->td(
240 "<p><a class=\"button-like\" href=\"groups?$params&wherenext=CreateGroup\">"
241 - . $fm->localise("CLICK_TO_CREATE")
242 + . $fm->localise("GROUP_ADD")
243 . "</a></p>"));
244
245 - if ( $numGroups == 0 ) {
246 + if ( $numGROUPS == 0 ) {
247 print $q->Tr($q->td(
248 - '<p><b>' . $fm->localise("NO_GROUPS") . '</p></b>'));
249 + '<p><b>' . $fm->localise("ACCOUNT_GROUP_NONE") . '</p></b>'));
250
251 }
252 else {
253 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/remoteaccess.pm mezzanine_patched_e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/remoteaccess.pm
254 --- e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/remoteaccess.pm 2008-03-26 17:49:00.000000000 +0100
255 +++ mezzanine_patched_e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/remoteaccess.pm 2008-04-27 12:17:51.000000000 +0200
256 @@ -268,8 +268,8 @@
257 return '' if $mode eq 'off';
258
259 my %options = (
260 - public => $self->localise('PUBLIC'),
261 - private => $self->localise('PRIVATE'),
262 + public => $self->localise('NETWORKS_ALLOW_PUBLIC'),
263 + private => $self->localise('NETWORKS_ALLOW_LOCAL'),
264 off => $self->localise('NO_ACCESS'),
265 );
266
267 @@ -306,14 +306,14 @@
268 return '' unless $db->get('ftp');
269
270 my %options = (
271 - normal => $self->localise('PUBLIC'),
272 - private => $self->localise('PRIVATE'),
273 + normal => $self->localise('NETWORKS_ALLOW_PUBLIC'),
274 + private => $self->localise('NETWORKS_ALLOW_LOCAL'),
275 off => $self->localise('NO_ACCESS'),
276 );
277
278 my %loginOptions = (
279 - private => $self->localise('PASSWORD_LOGIN_PRIVATE'),
280 - public => $self->localise('PASSWORD_LOGIN_PUBLIC'),
281 + private => $self->localise('PASSWORD_LOGIN_NETWORKS_ALLOW_LOCAL'),
282 + public => $self->localise('PASSWORD_LOGIN_NETWORKS_ALLOW_PUBLIC'),
283 );
284
285 print $q->Tr(
286 @@ -721,7 +721,7 @@
287
288 unless ( system( "/sbin/e-smith/signal-event", "remoteaccess-update" ) == 0 )
289 {
290 - $self->error('ERROR_UPDATING');
291 + $self->error('ERROR_UPDATING_CONFIGURATION');
292 return undef;
293 }
294
295 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm mezzanine_patched_e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm
296 --- e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm 2008-04-27 12:20:21.000000000 +0200
297 +++ mezzanine_patched_e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm 2008-04-27 12:13:38.000000000 +0200
298 @@ -142,9 +142,9 @@
299 my $acctName = $self->localise('USER_NAME');
300
301 my $modify = $self->localise('MODIFY');
302 - my $resetpw = $self->localise('RESET_PASSWORD');
303 + my $resetpw = $self->localise('PASSWORD_RESET');
304 my $lock = $self->localise('LOCK_ACCOUNT');
305 - my $account_locked = $self->localise('ACCOUNT_IS_LOCKED');
306 + my $account_locked = $self->localise('ACCOUNT_LOCKED');
307 my $remove = $self->localise('REMOVE');
308
309 my @users = $accountdb->get('admin');
310 @@ -605,7 +605,7 @@
311 my $pass1 = $self->{cgi}->param('password1');
312 unless ($pass1 eq $pass2) {
313 $self->{cgi}->param( -name => 'wherenext', -value => 'Password' );
314 - return "PASSWORD_VERIFY_ERROR";
315 + return "PASSWORD_NO_MATCH";
316 }
317 return "OK";
318 }
319 @@ -1140,7 +1140,7 @@
320 my $pass1 = $self->{cgi}->param('pass');
321 unless ($pass1 eq $pass2) {
322 $self->{cgi}->param( -name => 'wherenext', -value => 'Password' );
323 - return "SYSTEM_PASSWORD_VERIFY_ERROR";
324 + return "SYSTEM_PASSWORD_NO_MATCH";
325 }
326 return "OK";
327 }
328 @@ -1261,7 +1261,7 @@
329 $q->td({-class=>'sme-noborders-content'},
330 $q->a({-class=>'button-like',
331 -href=>"?action=getCert&user=$acct"},
332 - $self->localise('BUTTON_IPSECRW_DOWNLOAD'))));
333 + $self->localise('DOWNLOAD'))));
334 }
335 }
336 return '';
337 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/reboot mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/reboot
338 --- e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/reboot 2008-03-26 17:49:00.000000000 +0100
339 +++ mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/reboot 2008-04-27 17:49:48.000000000 +0200
340 @@ -2,18 +2,10 @@
341 -->
342 <lexicon lang="en-us">
343 <entry>
344 - <base>PERFORM</base>
345 - <trans>Perform</trans>
346 - </entry>
347 - <entry>
348 <base>FORM_TITLE</base>
349 <trans>Shutdown or reboot</trans>
350 </entry>
351 <entry>
352 - <base>SHUTDOWN</base>
353 - <trans>Shutdown</trans>
354 - </entry>
355 - <entry>
356 <base>REBOOT</base>
357 <trans>Reboot</trans>
358 </entry>
359 @@ -26,10 +18,6 @@
360 <trans>Your server has initiated the reboot process.</trans>
361 </entry>
362 <entry>
363 - <base>RECONFIGURE</base>
364 - <trans>Reconfigure</trans>
365 - </entry>
366 - <entry>
367 <base>RECONFIGURE_SUCCEEDED</base>
368 <trans>Reconfiguration request initiated successfully.</trans>
369 </entry>
370 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/panels/password/cgi-bin/userpassword mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/panels/password/cgi-bin/userpassword
371 --- e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/panels/password/cgi-bin/userpassword 2005-11-21 05:28:05.000000000 +0100
372 +++ mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/locale/en-us/etc/e-smith/web/panels/password/cgi-bin/userpassword 2008-04-27 18:49:34.000000000 +0200
373 @@ -1,11 +1,6 @@
374 <lexicon lang="en-us">
375
376 <entry>
377 - <base>FORM_TITLE</base>
378 - <trans>Change account password</trans>
379 - </entry>
380 -
381 - <entry>
382 <base>DESCRIPTION</base>
383 <trans>
384 <![CDATA[
385 @@ -22,63 +17,5 @@
386 </entry>
387
388 <entry>
389 - <base>ACCOUNT_NAME</base>
390 - <trans>Your account: </trans>
391 - </entry>
392 -
393 - <entry>
394 - <base>OLD_SYSTEM_PASSWORD</base>
395 - <trans>Old password: </trans>
396 - </entry>
397 -
398 - <entry>
399 - <base>NEW_SYSTEM_PASSWORD</base>
400 - <trans>New password: </trans>
401 - </entry>
402 -
403 - <entry>
404 - <base>NEW_SYSTEM_PASSWORD_VERIFY</base>
405 - <trans>New password (verify): </trans>
406 - </entry>
407 -
408 - <entry>
409 - <base>CHANGE_PASSWORD</base>
410 - <trans>Change Password</trans>
411 - </entry>
412 -
413 - <entry>
414 - <base>PASSWORD_VERIFY_ERROR</base>
415 - <trans>The passwords you entered did not match.</trans>
416 - </entry>
417 -
418 - <entry>
419 - <base>PASSWORD_CHANGE_FAILURE</base>
420 - <trans>An error occurred while attempting to change your password. Please make sure that the old password entered is correct.</trans>
421 - </entry>
422 -
423 - <entry>
424 - <base>PASSWORD_CHANGED</base>
425 - <trans>Your password has been successfully changed.</trans>
426 - </entry>
427 -
428 - <entry>
429 - <base>TAINED_OLDPASS</base>
430 - <trans>The old password you entered contained invalid characters.</trans>
431 - </entry>
432 -
433 - <entry>
434 - <base>TAINED_PASS</base>
435 - <trans>The password you entered contained invalid characters.</trans>
436 - </entry>
437 -
438 - <entry>
439 - <base>TAINED_ACCOUNT</base>
440 - <trans>The account name you entered contained invalid characters.</trans>
441 - </entry>
442 -
443 - <entry>
444 - <base>NO_SUCH_USER</base>
445 - <trans>The account name entered is invalid.</trans>
446 - </entry>
447
448 </lexicon>
449 diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/etc/e-smith/web/panels/password/cgi-bin/userpassword mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/web/panels/password/cgi-bin/userpassword
450 --- e-smith-base-4.18.1/root/etc/e-smith/web/panels/password/cgi-bin/userpassword 2005-11-21 05:28:10.000000000 +0100
451 +++ mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/web/panels/password/cgi-bin/userpassword 2008-04-27 18:51:05.000000000 +0200
452 @@ -66,13 +66,13 @@
453 my $acct;
454 unless ($acct = $accountdb->get($acctName))
455 {
456 - $q->param(-name => 'status_message', -value => 'NO_SUCH_USER');
457 + $q->param(-name => 'status_message', -value => 'YOUR_ACCOUNT_INVALID');
458 return;
459 }
460
461 unless ($acct->prop('type') eq 'user')
462 {
463 - $q->param(-name=>'status_message', -value=>"NO_SUCH_USER");
464 + $q->param(-name=>'status_message', -value=>"YOUR_ACCOUNT_INVALID");
465 return;
466 }
467
468 @@ -82,7 +82,7 @@
469 $pass))
470 {
471 $q->param(-name => 'status_message',
472 - -value => 'PASSWORD_CHANGE_FAILURE');
473 + -value => 'ERROR_PASSWORD_CHANGE');
474 return;
475 }
476 $acct->set_prop("PasswordSet", "yes");
477 @@ -92,7 +92,7 @@
478 or die ("Error occurred while modifying password for $acctName.\n");
479 $accountdb = esmith::AccountsDB->open();
480
481 - $q->param(-name => 'status_message', -value => 'PASSWORD_CHANGED');
482 + $q->param(-name => 'status_message', -value => 'PASSWORD_CHANGE_SUCCESS');
483 return;
484 }
485
486 @@ -103,7 +103,7 @@
487 my $pass1 = $fm->{cgi}->param('pass');
488 unless ($pass1 eq $pass2) {
489 $fm->{cgi}->param( -name => 'wherenext', -value => 'Password' );
490 - return "PASSWORD_VERIFY_ERROR";
491 + return "PASSWORD_NO_MATCH";
492 }
493 return "OK";
494 }
495 @@ -128,23 +128,23 @@
496 }
497
498 __DATA__
499 -<form title="FORM_TITLE" header="/etc/e-smith/web/common/userpassword_head.tmpl" footer="/etc/e-smith/web/common/foot.tmpl">
500 +<form title="ACCOUNT_PASSWORD_CHANGE" header="/etc/e-smith/web/common/userpassword_head.tmpl" footer="/etc/e-smith/web/common/foot.tmpl">
501 <page name="Password" post-event="change_password" pre-event="turn_off_buttons()" header="/etc/e-smith/web/common/head.tmpl" footer="/etc/e-smith/web/common/foot.tmpl">
502 <description>DESCRIPTION</description>
503
504 <field type="text" id="account" validation="nonblank" value="">
505 - <label>ACCOUNT_NAME</label>
506 + <label>YOUR_ACCOUNT</label>
507 </field>
508 <field type="password" id="oldPass" validation="nonblank" value="">
509 - <label>OLD_SYSTEM_PASSWORD</label>
510 + <label>PASSWORD_OLD</label>
511 </field>
512 <field type="password" id="pass" validation="nonblank, check_password" value="">
513 - <label>NEW_SYSTEM_PASSWORD</label>
514 + <label>PASSWORD_NEW</label>
515 </field>
516 <field type="password" id="passVerify" validation="password_compare" value="">
517 - <label>NEW_SYSTEM_PASSWORD_VERIFY</label>
518 + <label>PASSWORD_NEW_VERIFY</label>
519 </field>
520 - <subroutine src="print_button('CHANGE_PASSWORD')" />
521 + <subroutine src="print_button('PASSWORD_CHANGE')" />
522 </page>
523 <page name="Done" pre-event="print_status_message()">
524 </page>

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed