242 |
+ . $fm->localise("GROUP_ADD") |
+ . $fm->localise("GROUP_ADD") |
243 |
. "</a></p>")); |
. "</a></p>")); |
244 |
|
|
245 |
- if ( $numGroups == 0 ) { |
if ( $numGroups == 0 ) { |
|
+ if ( $numGROUPS == 0 ) { |
|
246 |
print $q->Tr($q->td( |
print $q->Tr($q->td( |
247 |
- '<p><b>' . $fm->localise("NO_GROUPS") . '</p></b>')); |
- '<p><b>' . $fm->localise("NO_GROUPS") . '</p></b>')); |
248 |
+ '<p><b>' . $fm->localise("ACCOUNT_GROUP_NONE") . '</p></b>')); |
+ '<p><b>' . $fm->localise("ACCOUNT_GROUP_NONE") . '</p></b>')); |
263 |
off => $self->localise('NO_ACCESS'), |
off => $self->localise('NO_ACCESS'), |
264 |
); |
); |
265 |
|
|
266 |
@@ -306,14 +306,14 @@ |
@@ -306,8 +306,8 @@ |
267 |
return '' unless $db->get('ftp'); |
return '' unless $db->get('ftp'); |
268 |
|
|
269 |
my %options = ( |
my %options = ( |
274 |
off => $self->localise('NO_ACCESS'), |
off => $self->localise('NO_ACCESS'), |
275 |
); |
); |
276 |
|
|
|
my %loginOptions = ( |
|
|
- private => $self->localise('PASSWORD_LOGIN_PRIVATE'), |
|
|
- public => $self->localise('PASSWORD_LOGIN_PUBLIC'), |
|
|
+ private => $self->localise('PASSWORD_LOGIN_NETWORKS_ALLOW_LOCAL'), |
|
|
+ public => $self->localise('PASSWORD_LOGIN_NETWORKS_ALLOW_PUBLIC'), |
|
|
); |
|
|
|
|
|
print $q->Tr( |
|
277 |
@@ -721,7 +721,7 @@ |
@@ -721,7 +721,7 @@ |
278 |
|
|
279 |
unless ( system( "/sbin/e-smith/signal-event", "remoteaccess-update" ) == 0 ) |
unless ( system( "/sbin/e-smith/signal-event", "remoteaccess-update" ) == 0 ) |
513 |
</page> |
</page> |
514 |
<page name="Done" pre-event="print_status_message()"> |
<page name="Done" pre-event="print_status_message()"> |
515 |
</page> |
</page> |
516 |
|
--- e-smith-base-4.18.1/root/etc/e-smith/web/functions/remoteaccess.add2general2 2008-07-04 23:13:37.000000000 +0200 |
517 |
|
+++ e-smith-base-4.18.1/root/etc/e-smith/web/functions/remoteaccess 2008-07-04 23:13:37.000000000 +0200 |
518 |
|
@@ -132,7 +132,7 @@ |
519 |
|
|
520 |
|
<field type="select" |
521 |
|
id="sshAccess" |
522 |
|
- options=" 'off' => 'NO_ACCESS', 'private' => 'PRIVATE', 'public' => 'PUBLIC'" |
523 |
|
+ options=" 'off' => 'NO_ACCESS', 'private' => 'NETWORKS_ALLOW_LOCAL', 'public' => 'NETWORKS_ALLOW_PUBLIC'" |
524 |
|
value="get_ssh_access()"> |
525 |
|
<label>LABEL_SSH</label> |
526 |
|
<description>DESC_SSH</description> |