diff -Nur smeserver-shared-folders-0.1/root/etc/e-smith/web/functions/shares smeserver-shared-folders-0.1_mod/root/etc/e-smith/web/functions/shares
--- smeserver-shared-folders-0.1/root/etc/e-smith/web/functions/shares 2012-04-21 02:03:43.000000000 +0200
+++ smeserver-shared-folders-0.1_mod/root/etc/e-smith/web/functions/shares 2012-04-21 02:05:07.000000000 +0200
@@ -118,7 +118,7 @@
REMOVE_DESC
-
+
TITLE_PERMISSIONS
DESC_PERMISSIONS
diff -Nur smeserver-shared-folders-0.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm smeserver-shared-folders-0.1_mod/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm
--- smeserver-shared-folders-0.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm 2012-04-21 02:03:43.000000000 +0200
+++ smeserver-shared-folders-0.1_mod/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm 2012-04-21 02:05:51.000000000 +0200
@@ -90,7 +90,7 @@
my $actionModify = $q->a({href => "${href}CreateModify&action=modify&name=$sharename"},$modify)
. ' ';
- my $actionPerm = $q->a({href => "${href}Permissions&action=permissions&name=$sharename"},$perm)
+ my $actionPerm = $q->a({href => "${href}Permissions&name=$sharename"},$perm)
. ' ';
my $actionRemove .= $q->a({href => "${href}Remove&name=$sharename&description=$sharedesc"}, $remove)
@@ -522,9 +522,6 @@
if ($action eq "create") {
$self->create_share();
}
- elsif ($action eq 'permissions'){
- $self->modify_perm();
- }
else {
$self->modify_share();
}
@@ -609,7 +606,7 @@
}
if (system ("/sbin/e-smith/signal-event", "share-create", $name) == 0) {
- $self->success("SUCCESSFULLY_CREATED_SHARE");
+ $self->success("SUCCESSFULLY_CREATED_SHARE", "Permissions");
}
else {
$self->error("ERROR_WHILE_CREATING_SHARE");