Code

1b1654b3e2eda3852ae1a9b1c8a44621cb377df8
[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="http://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 <iframe width="120" height="50" name="bandwidth" frameborder="0" src="$(ROOT)/hoster.html"></iframe>
98 </div>
99 <br/>
100 <br/>
101 </div>
102 </td>
103 <!-- ############################# -->
104 <!-- # Logo and Body -->
105 <!-- ############################# -->
106 <td id="bodycell" valign="top">
107 # all mirrors seem dead currently
108 <div id="mirrors">
109 <a href="http://oss.oetiker.ch/rrdtool/<where/>">Swiss Original</a>.&nbsp;Mirrors: 
110 <a href="http://rrdtool.mirror.graemef.net/<where/>">UK</a><!--Graeme Fowler <graeme@graemef.net>-->
111 #<a href="http://rrdtool.planetmirror.com/<where/>">AU</a><!--jason andrade <jason@dstc.edu.au>-->
112 #<a href="http://rrdtool.cs.pu.edu.tw/<where/>">TW</a><!--Hsun-Chang Chang <hsunchang@gmail.com>-->
113 #<a href="http://ftp.heanet.ie/mirrors/oss.oetiker.ch/rrdtool/<where/>">IE</a><!-- <mirrors@heanet.ie>-->
114 #<a href="http://rrdtool.codemonkey.se/<where/>">SE</a><!--Hans Engren <hans@cyclone.se>-->
115 #<a href="http://rrdtool.basemirror.de/<where/>">DE</a><!--Baseportal Mirrors <mirrors@baseportal.de>-->
116 #<a href="http://rrdtool.mirroraty.org/<where/>">US</a><!--Hossam Hossny <hossam@trexle.com>-->
117 #<a href="http://rrdtool.paracoda.com/<where/>">CA</a><!--Hossam Hossny <admin@paracoda.com>-->
118 #<a href="http://rrdtool.PlaySystems.ro/<where/>">RO</a><!--dan.draghici@ulbsibiu.ro-->
119 </div>
120 <div id="logo">
121 <div class="legacy">
122 RRDtool
123 <hr/>
124 </div>
125 </div>
126 <!-- ############################# -->
127 <!-- # BODY -->
128 <!-- ############################# -->
129 <div id="body">
130 {#Body#}
131 </div>
132 </td>
133 </tr>
134 <tr>
135 <td id="leftcornercell"></td>
136 <td id="footcell">
137 <!-- ############################# -->
138 <!-- # FOOTER -->
139 <!-- ############################# -->
140 <perl>
141 if ( -s "$(WML_SRC_BASENAME).wml" > 4000 ){
142 print <<'GOOGLEAD';
143 <div style="clear:right">
144 <script type="text/javascript"><!--
145 amazon_ad_tag = "tobistools-20"; amazon_ad_width = "300"; amazon_ad_height = "250"; amazon_ad_logo = "hide"; amazon_ad_price = "retail"; amazon_ad_border = "hide";//--></script>
146 <script type="text/javascript" src="http://ir-na.amazon-adsystem.com/s/ads.js"></script>
147 </div>
148 GOOGLEAD
150 </perl>
151 <div id="address">
152 <small>
153 <perl>
154 <protect pass=2>
155 use POSIX qw(strftime LC_TIME setlocale); 
156 foreach my $l (qw($(LANGS))){
157         my $lang = lc($l) eq 'de' ? 'de_CH' : $l;
158         $lang =~ s/^en.*/sv/i;  
159         setlocale(LC_TIME,$lang);
160         my $year = strftime "%Y", localtime;
161         my $date = strftime "%x", localtime("$(WML_SRC_TIME)"); 
162         q{$(AUTHOR)} =~ m{(.+\S+)\s*(<.+>|http://.+)} || die q{No Match for $(AUTHOR)}."\n"; 
163         my $text=$1; my $url=$2; $url =~ s/<(\S+)(?:\@|_at_)(\S+)>/mailto:$1\@removethis.$2/;
164         my $LANG = uc("LANG_$l");
165         print <<LINE
166 [$LANG:$date | <a href="$url">$text</a> | <a href="http://it.oetiker.ch/monitoring/">OETIKER+PARTNER AG</a>:$LANG]
167 LINE
169 </protect>
170 </perl>
171 </small>
172 </div>
173 </td></tr>
174 </table>
175 <hr class="legacy"/>
176 <p class="legacy" style="border-width: 1px; border-color: red; padding: 5px;">
177 <en><b>NOTE:</b> The content of this website is accessible with any browser. The graphical
178 design though relies completely on CSS2 styles. If you see this text, this means
179 that your browser does not support CSS2. Consider upgrading to a standard conformant
180 browser like Mozilla <a href="http://www.getfirefox.com">Firefox</a> or
181 <a href="http://www.opera.com">Opera</a> but also Apple's <a href="http://www.apple.com/safari/">Safari</a>
182 or KDE's <a href="http://www.konqueror.org">Konqueror</a> for example.
183 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
184 res are missing, then the mirror may not have picked up the contents of the <a href="$(ROOT)/inc/">inc</a> directory.</en>
185 #<de><b>HINWEIS:</b> Diese Website funktioniert mit jedem Browser. Die graphische Präsentation jedoch
186 #basiert komplett auf CSS2. Beispiele für CSS2 konforme Browser sind zum Beispiel  <a href="http://www.getfirefox.com">Firefox</a>
187 #<a href="http://www.opera.com">Opera</a> oder auch <a href="http://www.apple.com/safari/">Safari</a> von Apple und
188 #<a href="http://www.konqueror.org">Konqueror</a> aus dem KDE Projekt.
189 #</de>
190 </p> 
191 <script>
192   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
193   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
194   Date();a=s.createElement(o),
195   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
196   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
197   ga('create', 'UA-374525-1', 'auto');
198   ga('require', 'linkid', 'linkid.js');
199   ga('send', 'pageview');
200 </script>
201 </body>
202 </html>
204 # All the rest goes into Body
205 ..Body>>