1 |
jpp |
1.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 |