/[smecontribs]/rpms/smeserver-sme7admin/contribs7/smeserver-sme7admin-alertForm.patch
ViewVC logotype

Annotation of /rpms/smeserver-sme7admin/contribs7/smeserver-sme7admin-alertForm.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Mar 2 23:40:38 2009 UTC (15 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-sme7admin-1_1_0-7_el4_sme
Initial import of smeserver-sme7admin

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-sme7admin-1.1.0/root/etc/e-smith/web/functions/sme7admin mezzanine_patched_smeserver-sme7admin-1.1.0/root/etc/e-smith/web/functions/sme7admin
2     --- smeserver-sme7admin-1.1.0/root/etc/e-smith/web/functions/sme7admin 2008-08-13 11:22:29.000000000 +0200
3     +++ mezzanine_patched_smeserver-sme7admin-1.1.0/root/etc/e-smith/web/functions/sme7admin 2008-08-13 11:22:26.000000000 +0200
4     @@ -597,6 +597,12 @@
5     {
6     print esmith::cgi::genTextRow($q,$q->p(gettext("Les e-mails de statut ont ete desactives.\n")));
7     }
8     + if ($modified){
9     + foreach my $key (keys(%params))
10     + {
11     + $sme7admindb->set_prop($key,$q->param($key));
12     + }
13     + }
14     }
15     else
16     #cas 2 :)
17     @@ -613,17 +619,14 @@
18     {
19     #on applique la nouvelle valeur
20     $params{$q->param('alert')}=$q->param("$key");
21     - }
22     + }
23     + $sme7admindb->set_prop($key,$q->param($key)) if ($modified);
24     }
25    
26     if ($verifok)
27     {
28     if ($modified)
29     {
30     - foreach my $key (keys(%params))
31     - {
32     - $sme7admindb->set_prop($key,$q->param($key));
33     - }
34    
35     #si un param a ete change, on notifie le demon avec un -SIGHUP
36     `pkill -SIGHUP sme7admind`;

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