Code

update website
[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.groundworkopensource.com/products/components/rrdtool.html?ldsrc=AD-RRDtool"><img title="GroundWork Open Source" border="0" alt="GroundWork Open Source Logo" src="$(ROOT)/logos/gw200x100.gif"/></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 <!-- google_ad_section_start -->
131 {#Body#}
132 <!-- google_ad_section_end -->
133 </div>
134 </td>
135 </tr>
136 <tr>
137 <td id="leftcornercell"></td>
138 <td id="footcell">
139 <!-- ############################# -->
140 <!-- # FOOTER -->
141 <!-- ############################# -->
142 <perl>
143 if ( -s "$(WML_SRC_BASENAME).wml" > 4000 ){
144 print <<'GOOGLEAD';
145 <div style="clear:right">
146 <script type="text/javascript"><!--
147 google_ad_client = "pub-8135238818549668";
148 google_ad_width = 300;
149 google_ad_height = 250;
150 google_ad_format = "300x250_as";
151 google_ad_type = "text_image";
152 google_ad_channel ="6085696737";
153 google_color_border = "ffffff";
154 google_color_bg = "f0f8FF";
155 google_color_link = "191919";
156 google_color_url = "0066CC";
157 google_color_text = "000000";
158 //--></script>
159 <script type="text/javascript"
160   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
161 </script>
162 </div>
163 GOOGLEAD
165 </perl>
166 <div id="address">
167 <small>
168 <perl>
169 <protect pass=2>
170 use POSIX qw(strftime LC_TIME setlocale); 
171 foreach my $l (qw($(LANGS))){
172         my $lang = lc($l) eq 'de' ? 'de_CH' : $l;
173         $lang =~ s/^en.*/sv/i;  
174         setlocale(LC_TIME,$lang);
175         my $year = strftime "%Y", localtime;
176         my $date = strftime "%x", localtime("$(WML_SRC_TIME)"); 
177         q{$(AUTHOR)} =~ m{(.+\S+)\s*(<.+>|http://.+)} || die q{No Match for $(AUTHOR)}."\n"; 
178         my $text=$1; my $url=$2; $url =~ s/<(\S+)(?:\@|_at_)(\S+)>/mailto:$1\@removethis.$2/;
179         my $LANG = uc("LANG_$l");
180         print <<LINE
181 [$LANG:$date | <a href="$url">$text</a> | <a href="http://it.oetiker.ch/monitoring/">OETIKER+PARTNER AG</a>:$LANG]
182 LINE
184 </protect>
185 </perl>
186 </small>
187 </div>
188 </td></tr>
189 </table>
190 <hr class="legacy"/>
191 <p class="legacy" style="border-width: 1px; border-color: red; padding: 5px;">
192 <en><b>NOTE:</b> The content of this website is accessible with any browser. The graphical
193 design though relies completely on CSS2 styles. If you see this text, this means
194 that your browser does not support CSS2. Consider upgrading to a standard conformant
195 browser like Mozilla <a href="http://www.getfirefox.com">Firefox</a> or
196 <a href="http://www.opera.com">Opera</a> but also Apple's <a href="http://www.apple.com/safari/">Safari</a>
197 or KDE's <a href="http://www.konqueror.org">Konqueror</a> for example.
198 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
199 res are missing, then the mirror may not have picked up the contents of the <a href="$(ROOT)/inc/">inc</a> directory.</en>
200 #<de><b>HINWEIS:</b> Diese Website funktioniert mit jedem Browser. Die graphische Präsentation jedoch
201 #basiert komplett auf CSS2. Beispiele für CSS2 konforme Browser sind zum Beispiel  <a href="http://www.getfirefox.com">Firefox</a>
202 #<a href="http://www.opera.com">Opera</a> oder auch <a href="http://www.apple.com/safari/">Safari</a> von Apple und
203 #<a href="http://www.konqueror.org">Konqueror</a> aus dem KDE Projekt.
204 #</de>
205 </p> 
206 <script>
207   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
208   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
209   Date();a=s.createElement(o),
210   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
211   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
212   ga('create', 'UA-374525-1', 'auto');
213   ga('require', 'linkid', 'linkid.js');
214   ga('send', 'pageview');
215 </script>
216 </body>
217 </html>
219 # All the rest goes into Body
220 ..Body>>