/[smecontribs]/rpms/smeserver-shared-folders/contribs9/smeserver-shared-folders-0.1-mod_perm_after_create.patch
ViewVC logotype

Annotation of /rpms/smeserver-shared-folders/contribs9/smeserver-shared-folders-0.1-mod_perm_after_create.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Oct 13 15:04:42 2013 UTC (11 years, 1 month ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-shared-folders-0_1-83_el6_sme, smeserver-shared-folders-0_1-81, smeserver-shared-folders-0_1-82_el6_sme, smeserver-shared-folders-0_1-80_el6
Initial import

1 vip-ire 1.1 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
2     --- smeserver-shared-folders-0.1/root/etc/e-smith/web/functions/shares 2012-04-21 02:03:43.000000000 +0200
3     +++ smeserver-shared-folders-0.1_mod/root/etc/e-smith/web/functions/shares 2012-04-21 02:05:07.000000000 +0200
4     @@ -118,7 +118,7 @@
5     <description>REMOVE_DESC</description>
6     <subroutine src="print_share_to_remove()" />
7     </page>
8     - <page name="Permissions" pre-event="turn_off_buttons()" post-event="handle_shares()">
9     + <page name="Permissions" pre-event="print_status_message()" post-event="modify_perm()">
10     <title>TITLE_PERMISSIONS</title>
11     <field type="literal" id="descriptiongroup">
12     <description>DESC_PERMISSIONS</description>
13     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
14     --- smeserver-shared-folders-0.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm 2012-04-21 02:03:43.000000000 +0200
15     +++ 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
16     @@ -90,7 +90,7 @@
17     my $actionModify = $q->a({href => "${href}CreateModify&action=modify&name=$sharename"},$modify)
18     . '&nbsp;';
19    
20     - my $actionPerm = $q->a({href => "${href}Permissions&action=permissions&name=$sharename"},$perm)
21     + my $actionPerm = $q->a({href => "${href}Permissions&name=$sharename"},$perm)
22     . '&nbsp;';
23    
24     my $actionRemove .= $q->a({href => "${href}Remove&name=$sharename&description=$sharedesc"}, $remove)
25     @@ -522,9 +522,6 @@
26     if ($action eq "create") {
27     $self->create_share();
28     }
29     - elsif ($action eq 'permissions'){
30     - $self->modify_perm();
31     - }
32     else {
33     $self->modify_share();
34     }
35     @@ -609,7 +606,7 @@
36     }
37    
38     if (system ("/sbin/e-smith/signal-event", "share-create", $name) == 0) {
39     - $self->success("SUCCESSFULLY_CREATED_SHARE");
40     + $self->success("SUCCESSFULLY_CREATED_SHARE", "Permissions");
41     }
42     else {
43     $self->error("ERROR_WHILE_CREATING_SHARE");

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