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

Annotation of /rpms/e-smith-base/sme8/e-smith-base-4.18.1-add2general.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Apr 27 10:26:07 2008 UTC (16 years, 7 months ago) by snetram
Branch: MAIN
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 4.18.1-13
- Add common <base> tags to e-smith-formmagick's general

1 snetram 1.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 '';

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