summaryrefslogtreecommitdiffstats
path: root/samba_wizard/Sambashare.pm
diff options
context:
space:
mode:
Diffstat (limited to 'samba_wizard/Sambashare.pm')
-rwxr-xr-xsamba_wizard/Sambashare.pm63
1 files changed, 36 insertions, 27 deletions
diff --git a/samba_wizard/Sambashare.pm b/samba_wizard/Sambashare.pm
index 5b262dbb..b90658d5 100755
--- a/samba_wizard/Sambashare.pm
+++ b/samba_wizard/Sambashare.pm
@@ -347,6 +347,7 @@ $o->{pages} = {
} else { return 0 }
},
next => 'add_share_options',
+ no_back => 1,
},
add_cdrom_share => {
name => N("Share a CDROM"),
@@ -607,18 +608,19 @@ $o->{pages} = {
no_back => 1,
},
summary_modify_homes_share => {
- name => N("Summary of modify homes share"),
- data => [
- { label => N("Comment:"), val_ref => \$o->{var}{wiz_homes_comment} },
- { label => N("Writable:"), val_ref => \$o->{var}{wiz_homes_writable} },
- { label => N("Browseable:"), val_ref => \$o->{var}{wiz_homes_browseable} },
- { label => N("Create mode:"), val_ref => \$o->{var}{wiz_homes_create_mode} },
- { label => N("Create mask:"), val_ref => \$o->{var}{wiz_homes_create_mask} },
- { label => N("Directory mask:"), val_ref => \$o->{var}{wiz_homes_directory_mask} },
- ],
- post => \&do_it_modify_homes_share,
- next => 'end_add_user_share',
- },
+ name => N("Summary of modify homes share"),
+ data => [
+ { label => N("Comment:"), val_ref => \$o->{var}{wiz_homes_comment} },
+ { label => N("Writable:"), val_ref => \$o->{var}{wiz_homes_writable} },
+ { label => N("Browseable:"), val_ref => \$o->{var}{wiz_homes_browseable} },
+ { label => N("Create mode:"), val_ref => \$o->{var}{wiz_homes_create_mode} },
+ { label => N("Create mask:"), val_ref => \$o->{var}{wiz_homes_create_mask} },
+ { label => N("Directory mask:"), val_ref => \$o->{var}{wiz_homes_directory_mask} },
+ ],
+ post => \&do_it_modify_homes_share,
+ next => 'end_add_user_share',
+ no_back => 1,
+ },
summary_add_user_share => {
name => N("Summary of add a user share") . "\n\n" . N("If you really want to add this share, click the Next button or use the Back button."),
data => [
@@ -648,37 +650,44 @@ $o->{pages} = {
store_samba_type($o->{var}{wiz_type});
},
end => 1,
- next => 0
+ next => 0,
+ no_back => 1,
},
end_modify_share => {
- name => N("Congratulations") . "\n\n" . N("The wizard successfully modified your share."),
- end => 1,
- next => 0
+ name => N("Congratulations") . "\n\n" . N("The wizard successfully modified your share."),
+ end => 1,
+ next => 0,
+ no_back => 1,
},
end_add_share => {
name => N("Congratulations") . "\n\n" . N("The wizard successfully added your share."),
end => 1,
- next => 0
+ next => 0,
+ no_back => 1,
},
end_add_user_share => {
- name => N("Congratulations") . "\n\n" . N("The wizard successfully added your user share."),
- end => 1,
- next => 0
+ name => N("Congratulations") . "\n\n" . N("The wizard successfully added your user share."),
+ end => 1,
+ next => 0,
+ no_back => 1,
},
end_add_public_share => {
- name => N("Congratulations") . "\n\n" . N("The wizard successfully added your public share."),
- end => 1,
- next => 0
+ name => N("Congratulations") . "\n\n" . N("The wizard successfully added your public share."),
+ end => 1,
+ next => 0,
+ no_back => 1,
},
end_add_profiles => {
- name => N("Congratulations") . "\n\n" . N("The wizard successfully added your Profiles share."),
- end => 1,
- next => 0
+ name => N("Congratulations") . "\n\n" . N("The wizard successfully added your Profiles share."),
+ end => 1,
+ next => 0,
+ no_back => 1,
},
end_delete_share => {
name => N("Congratulations") . "\n\n" . N("The wizard successfully removed your share."),
end => 1,
- next => 0
+ next => 0,
+ no_back => 1,
},
error_end => {
name => N("Failed"),