summaryrefslogtreecommitdiffstats
path: root/ldap_wizard
diff options
context:
space:
mode:
authorVicent Guardiola <vguardiola@mandriva.com>2004-09-02 09:14:51 +0000
committerVicent Guardiola <vguardiola@mandriva.com>2004-09-02 09:14:51 +0000
commit309d25d015d65dc464a9b08114932185c8dbd4b7 (patch)
treee57123ddb64750f8796fc8db025ede72ebe0675a /ldap_wizard
parent9d5741364244931c106d41f6c63976689685c2c8 (diff)
downloaddrakwizard-309d25d015d65dc464a9b08114932185c8dbd4b7.tar
drakwizard-309d25d015d65dc464a9b08114932185c8dbd4b7.tar.gz
drakwizard-309d25d015d65dc464a9b08114932185c8dbd4b7.tar.bz2
drakwizard-309d25d015d65dc464a9b08114932185c8dbd4b7.tar.xz
drakwizard-309d25d015d65dc464a9b08114932185c8dbd4b7.zip
Modify text and label for add_user step
Diffstat (limited to 'ldap_wizard')
-rw-r--r--ldap_wizard/Ldap.pm20
1 files changed, 15 insertions, 5 deletions
diff --git a/ldap_wizard/Ldap.pm b/ldap_wizard/Ldap.pm
index 6e0995b7..652feb9e 100644
--- a/ldap_wizard/Ldap.pm
+++ b/ldap_wizard/Ldap.pm
@@ -8,6 +8,7 @@ use lib qw(/usr/lib/libDrakX);
use ugtk2 qw(:create);
use strict;
use MDK::Wizard::ldapdef;
+use interactive;
use common;
use standalone;
use MDK::Wizard::Varspaceval;
@@ -125,11 +126,14 @@ $o->{pages} = {
next => 'welcome'
},
add_userposix => {
- name => N("LDAP Adding User") . "\n\n" . N("User Created in: ") . $o->{var}{defou} . ", " . $o->{var}{suffix},
+ name => N("LDAP Adding User") . "\n\n" ,
data => [
+ { label => N(" ") },
+ { label => N("User Created in: ". $o->{var}{defou} . ", " . $o->{var}{suffix})},
+ { label => N(" ") },
{ label => N("First Name:"), val => \$o->{var}{sn}, help => "aide p" },
{ label => N("Name:"), val => \$o->{var}{cn}, help => "aide p" },
- { label => N("User Name:"), val => \$o->{var}{uid}, help => "aide p" },
+ { label => N("User Login:"), val => \$o->{var}{uid}, help => "aide p" },
],
complete => sub {
if (!$o->{var}{sn}) {
@@ -150,6 +154,7 @@ $o->{pages} = {
password => {
name => N("LDAP User Password"),
data => [
+ { label => N(" ") },
{ label => N("Password:"), val => \$o->{var}{uidpass}, hidden => 1, help => N("passwords must match") },
{ label => N("Password (again):"), val => \$o->{var}{uidpass2}, hidden => 1, help => N("passwords must match") },
],
@@ -226,7 +231,9 @@ $o->{pages} = {
add_user_good => {
name => N("Successfully added User"),
- data => [ { label => N("\n"),fixed_val => \$o->{var}{error_user_add} }
+ data => [
+ { label => N(" ") },
+ { label => N("\n"),fixed_val => \$o->{var}{error_user_add} }
],
next => 'add_userposix',
end => 1,
@@ -234,7 +241,9 @@ $o->{pages} = {
add_user_nogood => {
name => N("Error for added User"),
- data => [ { label => N("\n"),fixed_val => \$o->{var}{error_user_add} }
+ data => [
+ { label => N(" ") },
+ { label => N("\n"),fixed_val => \$o->{var}{error_user_add} }
],
next => 'add_userposix',
end => 1,
@@ -253,7 +262,8 @@ $o->{pages} = {
{ label => N("LDAP Administrator:"), type => 'field', fixed_val => \$o->{var}{rootdn} },
{ label => N("Users Container:"), type => 'field', fixed_val => \$o->{var}{defou} },
],
- next => 'welcome',
+ no_back => '1',
+ next => 'ask_menu',
},
};