Code

ungoogle and unamazone
[rrdtool-all.git] / website / inc / template.inc
1 # this seems to confuse just too many things out there ... 
2 # guess following the standard is not there yet
3 <?xml version="1.0" encoding="iso-8859-15"?>
4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5 # this must be the very first line to make doc-type switching work on IE
6 #use wml::std::logo
7 #use wml::std::tags
8 #use wml::des::space
9 #use wml::des::imgdot
10 #use wml::std::grid
11 #use wml::fmt::url
12 #include <inc/langset.inc>
13 #include <inc/html.inc>
14 #include <inc/customtags.inc>
15 #use wml::des::navbar
16 #include <inc/navbar-def.inc>
17 #include <$(ROOT)/navbar.inc>
18 <html lang="<lang:star: * />" xmlns="http://www.w3.org/1999/xhtml">
19 <head>
20 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15" />
21 <link* rel="icon" href="$(ROOT)/inc/favicon.ico" type="image/ico" />
22 ..Title!>>RRDtool - Page without a Title<<..
23 <title*>RRDtool - {#Title#}</title*>
24 <protect>
25 <!--[if lt IE 7]><script src="$(ROOT)/inc/IE7/ie7-standard-p.js" type="text/javascript"></script><![endif]-->
26 </protect>
27 <style type="text/css">
28 <!--/* <![CDATA[ */
29 /* ie5 for mac thinks this comment does not end here because of the backslash \*/
30 @import url('$(ROOT)/inc/design.css');
31 ## @import url('$(ROOT)/inc/design_$(TYPE).css');
32 /* ]]> */-->
33 </style>
34 {#ExtraHead#}
35 </head>
36 <body>
37 <table id="frame">
38 <tr>
39 <td valign="top" id="menucell">
40 <!-- ############################# -->
41 <!-- # MENU -->
42 <!-- ############################# -->
43 <div id="menu">
44 <h2 class="legacy">Menu</h2>
45 <navbar:render name=main menumode=inner nohints txtonly select=$(PAGE)/>
46 <br/>
47 <!-- SiteSearch Google -->
48 <form method="get" action="http://oss.oetiker.ch/rrdtool/search.en.html" target="_top">
49 <table border="0">
50 <tr><td nowrap="nowrap" valign="top" align="left" height="32">
51 <input type="hidden" name="domains" value="oss.oetiker.ch"></input>
52 <label for="sbi" style="display: none">Enter your search terms</label>
53 <input type="text" name="q" style="width: 180px" maxlength="255" value="" id="sbi"></input>
54 </td></tr>
55 <tr>
56 <td nowrap="nowrap" valign="top">
57 <table>
58 <tr>
59 <td>
60 <input type="radio" name="sitesearch" value="" id="ss0"></input>
61 <label for="ss0" title="Search the Web"><font size="-1" color="#000000">Web</font></label></td>
62 <td>
63 <input type="radio" name="sitesearch" value="oss.oetiker.ch" checked="checked" id="ss1"></input>
64 <label for="ss1" title="Search oss.oetiker.ch"><font size="-1" color="#000000">oss.oetiker.ch</font></label></td>
65 </tr>
66 </table>
67 <label for="sbb" style="display: none">Submit search form</label>
68 <input type="submit" name="sa" value="Google Search" id="sbb"></input>
69 <input type="hidden" name="client" value="pub-8135238818549668"></input>
70 <input type="hidden" name="forid" value="1"></input>
71 <input type="hidden" name="channel" value="6449489261"></input>
72 <input type="hidden" name="ie" value="ISO-8859-1"></input>
73 <input type="hidden" name="oe" value="ISO-8859-1"></input>
74 <input type="hidden" name="safe" value="active"></input>
75 <input type="hidden" name="cof" value="GALT:#0066CC;GL:1;DIV:#999999;VLC:336633;AH:center;BGC:FFFFFF;LBGC:FF9900;ALC:0066CC;LC:0066CC;T:000000;GFNT:666666;GIMP:666666;FORID:11"></input>
76 <input type="hidden" name="hl" value="en"></input>
77 </td></tr></table>
78 </form>
79 <!-- SiteSearch Google -->
80 <br/>
81 <br/>
82 <p><b>Gold Sponsors</b></p>
83 #<p><a href="http://www.serverscheck.com/sensors?utm_source=mrtg&utm_medium=banner&utm_term=rrdtool&utm_campaign=mrtg"><img border="0" title="Serverscheck" alt="Serverscheck" src="$(ROOT)/logos/serverscheck-3.gif"/></a></p>
84 #<p><a href="http://www.zenoss.com/rrdtool?utm_source=rrdtool&amp;utm_medium=logolink&amp;utm_campaign=inbound"><img border="0" title="Zenoss Open Source IT Monitoring" alt="Zenoss Open Source IT Monitoring" src="$(ROOT)/logos/zenoss.png"/></a></p>
85 #<p><a href="http://www.gwos.com"><img title="GroundWork Open Source" border="0" alt="GroundWork Open Source Logo" src="$(ROOT)/logos/GroundWork-200x100.jpg"/></a></p>
86 <p><a href="http://it.oetiker.ch/monitoring/sponsoring.var"><img border="0" alt="Open Gold Sponsorship Slot" src="$(ROOT)/inc/rrdtool-gold.png"/></a></p>
87 #<p><a href="http://it.oetiker.ch/monitoring/sponsoring.var"><img border="0" alt="Open Gold Sponsorship Slot" src="$(ROOT)/inc/rrdtool-gold.png"/></a></p>
88 <p><a href="$(ROOT)/sponsor.<lang:star: */>.html">Silver Sponsors ...</a></p>
89 <br/>
90 <br/>
91 <div>
92 <a href="https://tobi.oetiker.ch/wish/"><img border="0" alt="Make Tobi Happy" src="$(ROOT)/inc/happy-tobi.png"/></a>
93 </div>
94 <br/>
95 <br/>
96 <div>
97 </div>
98 <br/>
99 <br/>
100 </div>
101 </td>
102 <!-- ############################# -->
103 <!-- # Logo and Body -->
104 <!-- ############################# -->
105 <td id="bodycell" valign="top">
106 <div id="logo">
107 <div class="legacy">
108 RRDtool
109 <hr/>
110 </div>
111 </div>
112 <!-- ############################# -->
113 <!-- # BODY -->
114 <!-- ############################# -->
115 <div id="body">
116 {#Body#}
117 </div>
118 </td>
119 </tr>
120 <tr>
121 <td id="leftcornercell"></td>
122 <td id="footcell">
123 <!-- ############################# -->
124 <!-- # FOOTER -->
125 <!-- ############################# -->
127 <div id="address">
128 <small>
129 <perl>
130 <protect pass=2>
131 use POSIX qw(strftime LC_TIME setlocale); 
132 foreach my $l (qw($(LANGS))){
133         my $lang = lc($l) eq 'de' ? 'de_CH' : $l;
134         $lang =~ s/^en.*/sv/i;  
135         setlocale(LC_TIME,$lang);
136         my $year = strftime "%Y", localtime;
137         my $date = strftime "%x", localtime("$(WML_SRC_TIME)"); 
138         q{$(AUTHOR)} =~ m{(.+\S+)\s*(<.+>|http://.+)} || die q{No Match for $(AUTHOR)}."\n"; 
139         my $text=$1; my $url=$2; $url =~ s/<(\S+)(?:\@|_at_)(\S+)>/mailto:$1\@removethis.$2/;
140         my $LANG = uc("LANG_$l");
141         print <<LINE
142 [$LANG:$date | <a href="$url">$text</a> | <a href="http://it.oetiker.ch/monitoring/">OETIKER+PARTNER AG</a>:$LANG]
143 LINE
145 </protect>
146 </perl>
147 </small>
148 </div>
149 </td></tr>
150 </table>
151 <hr class="legacy"/>
152 <p class="legacy" style="border-width: 1px; border-color: red; padding: 5px;">
153 <en><b>NOTE:</b> The content of this website is accessible with any browser. The graphical
154 design though relies completely on CSS2 styles. If you see this text, this means
155 that your browser does not support CSS2. Consider upgrading to a standard conformant
156 browser like Mozilla <a href="http://www.getfirefox.com">Firefox</a> or
157 <a href="http://www.opera.com">Opera</a> but also Apple's <a href="http://www.apple.com/safari/">Safari</a>
158 or KDE's <a href="http://www.konqueror.org">Konqueror</a> for example.
159 It may also be that you are looking at a mirror page which did not copy <a href="$(ROOT)/inc/design.css">the CSS</a> for this page. Or if some pictu
160 res are missing, then the mirror may not have picked up the contents of the <a href="$(ROOT)/inc/">inc</a> directory.</en>
161 #<de><b>HINWEIS:</b> Diese Website funktioniert mit jedem Browser. Die graphische Präsentation jedoch
162 #basiert komplett auf CSS2. Beispiele für CSS2 konforme Browser sind zum Beispiel  <a href="http://www.getfirefox.com">Firefox</a>
163 #<a href="http://www.opera.com">Opera</a> oder auch <a href="http://www.apple.com/safari/">Safari</a> von Apple und
164 #<a href="http://www.konqueror.org">Konqueror</a> aus dem KDE Projekt.
165 #</de>
166 </p> 
167 </body>
168 </html>
170 # All the rest goes into Body
171 ..Body>>