Code

81d298487f623f25409e3f065e466533d81dea57
[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 </head>
35 <body>
36 <table id="frame">
37 <tr>
38 <td valign="top" id="menucell">
39 <!-- ############################# -->
40 <!-- # MENU -->
41 <!-- ############################# -->
42 <div id="menu">
43 <h2 class="legacy">Menu</h2>
44 <navbar:render name=main menumode=inner nohints txtonly select=$(PAGE)/>
45 <br/>
46 <!-- SiteSearch Google -->
47 <form method="get" action="http://oss.oetiker.ch/rrdtool/search.en.html" target="_top">
48 <table border="0">
49 <tr><td nowrap="nowrap" valign="top" align="left" height="32">
50 <input type="hidden" name="domains" value="oss.oetiker.ch"></input>
51 <label for="sbi" style="display: none">Enter your search terms</label>
52 <input type="text" name="q" style="width: 180px" maxlength="255" value="" id="sbi"></input>
53 </td></tr>
54 <tr>
55 <td nowrap="nowrap" valign="top">
56 <table>
57 <tr>
58 <td>
59 <input type="radio" name="sitesearch" value="" id="ss0"></input>
60 <label for="ss0" title="Search the Web"><font size="-1" color="#000000">Web</font></label></td>
61 <td>
62 <input type="radio" name="sitesearch" value="oss.oetiker.ch" checked="checked" id="ss1"></input>
63 <label for="ss1" title="Search oss.oetiker.ch"><font size="-1" color="#000000">oss.oetiker.ch</font></label></td>
64 </tr>
65 </table>
66 <label for="sbb" style="display: none">Submit search form</label>
67 <input type="submit" name="sa" value="Google Search" id="sbb"></input>
68 <input type="hidden" name="client" value="pub-8135238818549668"></input>
69 <input type="hidden" name="forid" value="1"></input>
70 <input type="hidden" name="channel" value="6449489261"></input>
71 <input type="hidden" name="ie" value="ISO-8859-1"></input>
72 <input type="hidden" name="oe" value="ISO-8859-1"></input>
73 <input type="hidden" name="safe" value="active"></input>
74 <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>
75 <input type="hidden" name="hl" value="en"></input>
76 </td></tr></table>
77 </form>
78 <!-- SiteSearch Google -->
79 <br/>
80 <br/>
81 <p><b>Gold Sponsors</b></p>
82 #<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>
83 #<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>
84 <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>
85 <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>
86 <p><a href="$(ROOT)/sponsor.<lang:star: */>.html">Silver Sponsors ...</a></p>
87 <br/>
88 <br/>
89 <div>
90 <a href="http://tobi.oetiker.ch/wish/"><img border="0" alt="Make Tobi Happy" src="$(ROOT)/inc/happy-tobi.png"/></a>
91 </div>
92 <br/>
93 <br/>
94 <div>
95 <iframe width="120" height="50" name="bandwidth" frameborder="0" src="$(ROOT)/hoster.html"></iframe>
96 </div>
97 <br/>
98 <br/>
99 </div>
100 </td>
101 <!-- ############################# -->
102 <!-- # Logo and Body -->
103 <!-- ############################# -->
104 <td id="bodycell" valign="top">
105 # all mirrors seem dead currently
106 <div id="mirrors">
107 <a href="http://oss.oetiker.ch/rrdtool/<where/>">Swiss Original</a>.&nbsp;Mirrors: 
108 <a href="http://rrdtool.mirror.graemef.net/<where/>">UK</a><!--Graeme Fowler <graeme@graemef.net>-->
109 #<a href="http://rrdtool.planetmirror.com/<where/>">AU</a><!--jason andrade <jason@dstc.edu.au>-->
110 <a href="http://rrdtool.cs.pu.edu.tw/<where/>">TW</a><!--Hsun-Chang Chang <hsunchang@gmail.com>-->
111 #<a href="http://ftp.heanet.ie/mirrors/oss.oetiker.ch/rrdtool/<where/>">IE</a><!-- <mirrors@heanet.ie>-->
112 #<a href="http://rrdtool.codemonkey.se/<where/>">SE</a><!--Hans Engren <hans@cyclone.se>-->
113 <a href="http://rrdtool.basemirror.de/<where/>">DE</a><!--Baseportal Mirrors <mirrors@baseportal.de>-->
114 <a href="http://rrdtool.mirroraty.org/<where/>">US</a><!--Hossam Hossny <hossam@trexle.com>-->
115 #<a href="http://rrdtool.paracoda.com/<where/>">CA</a><!--Hossam Hossny <admin@paracoda.com>-->
116 #<a href="http://rrdtool.PlaySystems.ro/<where/>">RO</a><!--dan.draghici@ulbsibiu.ro-->
117 </div>
118 <div id="logo">
119 <div class="legacy">
120 RRDtool
121 <hr/>
122 </div>
123 </div>
124 <!-- ############################# -->
125 <!-- # BODY -->
126 <!-- ############################# -->
127 <div id="body">
128 <!-- google_ad_section_start -->
129 {#Body#}
130 <!-- google_ad_section_end -->
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 google_ad_client = "pub-8135238818549668";
146 google_ad_width = 300;
147 google_ad_height = 250;
148 google_ad_format = "300x250_as";
149 google_ad_type = "text_image";
150 google_ad_channel ="6085696737";
151 google_color_border = "ffffff";
152 google_color_bg = "f0f8FF";
153 google_color_link = "191919";
154 google_color_url = "0066CC";
155 google_color_text = "000000";
156 //--></script>
157 <script type="text/javascript"
158   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
159 </script>
160 </div>
161 GOOGLEAD
163 </perl>
164 <div id="address">
165 <small>
166 <perl>
167 <protect pass=2>
168 use POSIX qw(strftime LC_TIME setlocale); 
169 foreach my $l (qw($(LANGS))){
170         my $lang = lc($l) eq 'de' ? 'de_CH' : $l;
171         $lang =~ s/^en.*/sv/i;  
172         setlocale(LC_TIME,$lang);
173         my $year = strftime "%Y", localtime;
174         my $date = strftime "%x", localtime("$(WML_SRC_TIME)"); 
175         q{$(AUTHOR)} =~ m{(.+\S+)\s*(<.+>|http://.+)} || die q{No Match for $(AUTHOR)}."\n"; 
176         my $text=$1; my $url=$2; $url =~ s/<(\S+)(?:\@|_at_)(\S+)>/mailto:$1\@removethis.$2/;
177         my $LANG = uc("LANG_$l");
178         print <<LINE
179 [$LANG:$date | <a href="$url">$text</a> | <a href="http://it.oetiker.ch/monitoring/">OETIKER+PARTNER AG</a>:$LANG]
180 LINE
182 </protect>
183 </perl>
184 </small>
185 </div>
186 </td></tr>
187 </table>
188 <hr class="legacy"/>
189 <p class="legacy" style="border-width: 1px; border-color: red; padding: 5px;">
190 <en><b>NOTE:</b> The content of this website is accessible with any browser. The graphical
191 design though relies completely on CSS2 styles. If you see this text, this means
192 that your browser does not support CSS2. Consider upgrading to a standard conformant
193 browser like Mozilla <a href="http://www.getfirefox.com">Firefox</a> or
194 <a href="http://www.opera.com">Opera</a> but also Apple's <a href="http://www.apple.com/safari/">Safari</a>
195 or KDE's <a href="http://www.konqueror.org">Konqueror</a> for example.
196 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
197 res are missing, then the mirror may not have picked up the contents of the <a href="$(ROOT)/inc/">inc</a> directory.</en>
198 #<de><b>HINWEIS:</b> Diese Website funktioniert mit jedem Browser. Die graphische Präsentation jedoch
199 #basiert komplett auf CSS2. Beispiele für CSS2 konforme Browser sind zum Beispiel  <a href="http://www.getfirefox.com">Firefox</a>
200 #<a href="http://www.opera.com">Opera</a> oder auch <a href="http://www.apple.com/safari/">Safari</a> von Apple und
201 #<a href="http://www.konqueror.org">Konqueror</a> aus dem KDE Projekt.
202 #</de>
203 </p> 
204 <script type="text/javascript">
205 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
206 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
207 </script>
208 <script type="text/javascript">
209 var pageTracker = _gat._getTracker("UA-374525-1");
210 pageTracker._initData();
211 pageTracker._trackPageview();
212 </script>
213 </body>
214 </html>
216 # All the rest goes into Body
217 ..Body>>