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

Annotation of /rpms/smeserver-shared-folders/contribs8/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 Mar 3 22:04:40 2013 UTC (11 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-shared-folders-0_1-80_el5_sme, smeserver-shared-folders-0_1-83_el5_sme, smeserver-shared-folders-0_1-84_el5_sme, smeserver-shared-folders-0_1-82_el5_sme, smeserver-shared-folders-0_1-87_el5_sme, smeserver-shared-folders-0_1-86_el5_sme, smeserver-shared-folders-0_1-81_el5_sme, smeserver-shared-folders-0_1-85_el5_sme, smeserver-shared-folders-0_1-79_el5_sme, HEAD
Initial import

1 unnilennium 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