/[smecontribs]/rpms/smeserver-userpanel/contribs10/smeserver-userpanel-1.4-bz10964-infotxt.patch
ViewVC logotype

Contents of /rpms/smeserver-userpanel/contribs10/smeserver-userpanel-1.4-bz10964-infotxt.patch

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


Revision 1.1 - (show annotations) (download)
Mon Aug 1 19:36:04 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-userpanel-1_4-4_el7_sme, smeserver-userpanel-1_4-5_el7_sme, smeserver-userpanel-1_4-6_el7_sme, HEAD
Error occurred while calculating annotation data.
* Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4-4.sme
- update to httpd 2.4 access syntax [SME: 12064]
  thanks to Vasarhelyi Zsolt
- fix call to svc in place of systemctl [SME: 11390]
- remove reference to info.txt [SME: 10964]

1 diff -Nur --no-dereference smeserver-userpanel-1.4.old/root/usr/share/perl5/vendor_perl/esmith/cgi5.pm smeserver-userpanel-1.4/root/usr/share/perl5/vendor_perl/esmith/cgi5.pm
2 --- smeserver-userpanel-1.4.old/root/usr/share/perl5/vendor_perl/esmith/cgi5.pm 2017-05-31 12:48:49.000000000 -0400
3 +++ smeserver-userpanel-1.4/root/usr/share/perl5/vendor_perl/esmith/cgi5.pm 2022-08-01 15:33:39.692000000 -0400
4 @@ -154,42 +154,12 @@
5
6 genHeaderStartHTML ($q);
7
8 - if ((-f '/home/e-smith/web/common/edition/image.gif') && (-f '/home/e-smith/web/common/edition/info.txt'))
9 - {
10 - # first line of info file contains URL, second line contains ALT text:
11 -
12 - open (RD, "</home/e-smith/web/common/edition/info.txt");
13 - my $url = <RD>;
14 - my $alt = <RD>;
15 - close RD;
16 -
17 - print $q->table ({border => 0, cellspacing => 0, cellpadding => 0},
18 - $q->Tr ($q->td
19 - ($q->table ({border => 0, cellspacing => 0, cellpadding => 10},
20 - $q->Tr ($q->td($q->a ({-HREF => $url, -TARGET => '_top'},
21 - $q->img ({-BORDER => '0',
22 - -ALT => $alt,
23 - -ALIGN => 'top',
24 - -SRC => '/server-brand/edition/image.gif'}))))))),
25 - $q->Tr ($q->td ($q->img ({-HEIGHT => '40',
26 - -WIDTH => '200',
27 - -BORDER => '0',
28 - -ALT => $alt,
29 - -ALIGN => 'top',
30 - -HSPACE => '7',
31 - -SRC => '/server-common/special-edition.jpg'}))));
32 -
33 - print $q->div ({-STYLE => 'position: absolute; visibility: inherit; left: 16px; z-index: 2'});
34 - }
35 - else
36 - {
37 - print $q->a ({-HREF => 'http://www.mitel.com/', -TARGET => '_top'},
38 + print $q->a ({-HREF => 'http://www.mitel.com/', -TARGET => '_top'},
39 $q->img ({-BORDER => '0',
40 -ALT => 'Mitel Networks Logo',
41 -ALIGN => 'top',
42 -SRC => '/server-common/mitel_logo.jpg'}));
43 - print $q->div ({-STYLE => 'position: absolute; visibility: inherit; top: 100px; left: 10px; z-index: 2'});
44 - }
45 + print $q->div ({-STYLE => 'position: absolute; visibility: inherit; top: 100px; left: 10px; z-index: 2'});
46 }
47
48 =pod

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