Debian Codegraph @

eg/web/base.epl

raw
1 [-
2 $r = shift ;
3 $http_headers_out{'content-type'} = 'text/html' ;
4 -]
5 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
6 <html>
7 <head>
8 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
9 <title>Embperl
10 [$if @{$r -> {menuitems}} > 1 || $r -> {menuitems}[0]{menu} ne 'Home' $]
11 [- $i = 0 -]
12 [$foreach $item (@{$r -> {menuitems}}) $]
13 - [+ $r -> gettext($item -> {menu}) +]
14 [$endforeach$]
15 [$endif$]
16 </title>
17 <style type="text/css">
18 [-
19 $font = 'font-family: Geneva,Arial,Helvetica;' ;
20 $base = $font ;
21 $base10 = $base . ' font-size: 10px;' ;
22 $base12 = $base . ' font-size: 12px;' ;
23 $base14 = $base . ' font-size: 14px;' ;
24 $base18 = $base . ' font-size: 18px;' ;
25 -]
26
27 .cInput {[+ $base12 +] background: #DDDDDD; }
28 .cText {[+ $base12 +] background: #AFBDCA; }
29 .cSectionInput {[+ $base12 +] background: #ddaaaa; }
30 .cSectionText {[+ $base12 +] background: #ddaaaa; }
31 .cTabsOn {[+ $base14 +] background: #ddaaaa; }
32 .cTabsOff {[+ $base14 +] background: #DDDDDD; }
33 .cMenu {[+ $base10 +] color: #000000 ; text-align: left ;}
34 .cMenuInfo {[+ $base10 +] color: #000000 ; text-align: left ; background: #D2E9F5 }
35 .cNews {[+ $base10 +]}
36 .cContent {[+ $base12 +] border-left: 1px black solid ; padding-left: 7px; padding-right: 7px; }
37 .cContentNews {[+ $base12 +] border-left: 1px black solid ; margin-left: 7px; padding-left: 7px; }
38
39 .cPodHeaderNavLink {[+ $base12 +]}
40 .cPodH1ContentLink {[+ $base12 +] font-weight: bold;}
41 .cPodH2ContentLink {[+ $base10 +]}
42
43 .cPodH1 {[+ $base18 +] padding-left: 15px; padding-right: 15px; background: #fefcad; color: #000000; font-weight: bold; }
44 .cPodH1Link {[+ $base12 +] padding-left: 15px; padding-right: 15px; background: #fefcad; color: #000000; text-align: right ;}
45 .cPodH2 {[+ $base14 +] padding-left: 15px; padding-right: 15px; background: #D2E9F5; color: #000000; font-weight: bold; }
46 .cPodH2Link {[+ $base10 +] padding-left: 15px; padding-right: 15px; background: #D2E9F5; color: #000000; font-weight: bold; }
47 .cTopLink {[+ $base10 +] }
48
49 .cListOnlyText {[+ $base12 +] }
50 .cItemText {[+ $base14 +] font-weight: bold; }
51 .cPodVerbatim {font-family: monospace; font-size: 12px; background: #eeeeee;
52 border: solid 1px black; padding: 13px; margin: 20px 40px 20px 40px}
53 .cFoot {[+ $base10 +]}
54
55 body {[+ $base12 +]}
56 table {[+ $base12 +]}
57 .cHeadline {[+ $base14 +] font-weight: bold;}
58 a:hover { color: red ;}
59
60
61 .diff-added, .diff-removed, .diff-unmodified, .diff-changed {
62 font-family: monospace;
63 }
64 .diff-added {
65 background: #cfc;
66 color: #000;
67 }
68 .diff-removed {
69 background: #fcc;
70 color: #000;
71 }
72 .diff-unmodified {
73 background: inherit;
74 color: #000;
75 }
76 .diff-changed {
77 background: #ffc;
78 color: #000;
79 }
80
81 table.diff {
82 border: 1px solid #666;
83 }
84
85 table th {
86 border-bottom: 1px solid #666;
87 }
88
89 th.lhs, td.lhs {
90 padding-right: 1em;
91 }
92 th.rhs, td.rhs {
93 padding-left: 1em;
94 border-left: 1px solid #666;
95 }
96
97 h1 small {
98 color: #f00;
99 }
100
101
102
103 </style>
104 </head>
105 <body bgcolor="#ffffff" style="position: relative; width: 1020px; margin-left: auto; margin-right: auto; border: 1px solid black; padding: 5px; margin-top: 10px">
106 [- Execute ('header.epl') -]
107 <table width="100%" cellspacing="0" cellpadding="0" border="0">
108 <tr>
109 <td valign="top">[- Execute ('menuleft.epl') -]</td>
110 <td valign="top" width="90%" class="cContent">[- Execute ('content.epl') -]</td>
111 </tr>
112 </table>
113 [- Execute ('footer.htm') -]
114 </body>
115 </html>