1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-hwinfo-1.0/root/etc/e-smith/templates/etc/e-smith/web/common/head.tmpl/30FrameSetup01 mezzanine_patched_smeserver-hwinfo-1.0/root/etc/e-smith/templates/etc/e-smith/web/common/head.tmpl/30FrameSetup01 |
2 |
|
|
--- smeserver-hwinfo-1.0/root/etc/e-smith/templates/etc/e-smith/web/common/head.tmpl/30FrameSetup01 2006-11-02 17:38:41.000000000 +0100 |
3 |
|
|
+++ mezzanine_patched_smeserver-hwinfo-1.0/root/etc/e-smith/templates/etc/e-smith/web/common/head.tmpl/30FrameSetup01 1970-01-01 01:00:00.000000000 +0100 |
4 |
|
|
@@ -1,39 +0,0 @@ |
5 |
|
|
-\{ |
6 |
|
|
- if ($NO_FRAMES) |
7 |
|
|
- \{ |
8 |
|
|
- $OUT .= <<EOF; |
9 |
|
|
-<frameset rows="68,*" cols="*" frameborder="NO" border="0" framespacing="0"> |
10 |
|
|
- <frame src="/server-manager/header.htm" name="header" scrolling="NO" noresize > |
11 |
|
|
- <frameset rows="*" cols="192,*" framespacing="0" frameborder="NO" border="0"> |
12 |
|
|
- <frame src="/server-manager/navigation" name="navigation" scrolling="auto" noresize> |
13 |
|
|
- <frame src="/server-manager/initial.cgi" name="main"> |
14 |
|
|
- </frameset> |
15 |
|
|
-</frameset> |
16 |
|
|
- |
17 |
|
|
-</FRAMESET> |
18 |
|
|
- |
19 |
|
|
-<NOFRAMES> |
20 |
|
|
-EOF |
21 |
|
|
- \} |
22 |
|
|
- else |
23 |
|
|
- \{ |
24 |
|
|
- my $panel = "Server manager"; |
25 |
|
|
- my $img = "server-manager.jpg"; |
26 |
|
|
- |
27 |
|
|
- $OUT .= <<EOF; |
28 |
|
|
-<body> |
29 |
|
|
-EOF |
30 |
|
|
- \} |
31 |
|
|
- |
32 |
|
|
- $DB = esmith::ConfigDB->open(); |
33 |
|
|
- $OUT .= qq(<div class="sme-error"><h5> |
34 |
|
|
- Warning: you have not yet changed the default system password.</h5></div>) |
35 |
|
|
- unless ($DB->get('PasswordSet')->value eq "yes"); |
36 |
|
|
- |
37 |
|
|
- $OUT .= qq(<div class="sme-error"><h5> |
38 |
|
|
- Warning: a reboot is required before proceeding! Failure to reboot now |
39 |
|
|
- may leave your system in an unknown state!</h5></div>) |
40 |
|
|
- if ($DB->get('bootstrap-console') and $DB->get('bootstrap-console')->prop('Run') eq 'yes'); |
41 |
|
|
- |
42 |
|
|
- $OUT; |
43 |
|
|
-\} |