Code

fixed logo link for hitflip
[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.1 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.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 <br/>
47 <br/>
48 <p><b>Gold Sponsors</b></p>
49 <p><a href="http://www.groundworkopensource.com/products/components/rrdtool.html"><img title="GroundWork Open Source" border="0" alt="GroundWork Open Source Logo" src="$(ROOT)/logos/gw200x100.gif"/></a></p>
50 <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>
51 <p><a href="$(ROOT)/sponsor.<lang:star: */>.html">Silver Sponsors ...</a></p>
52 <br/>
53 <br/>
54 <div>
55 <a href="http://tobi.oetiker.ch/wish/"><img border="0" alt="Make Tobi Happy" src="$(ROOT)/inc/happy-tobi.png"/></a>
56 </div>
57 <br/>
58 <br/>
59 <div>
60 <iframe width="120" height="50" name="bandwidth" frameborder="0" src="$(ROOT)/hoster.html"></iframe>
61 </div>
62 <br/>
63 <br/>
64 </div>
65 </td>
66 <!-- ############################# -->
67 <!-- # Logo and Body -->
68 <!-- ############################# -->
69 <td id="bodycell">
70 # all mirrors seem dead currently
71 <div id="mirrors">
72 <A HREF="http://oss.oetiker.ch/rrdtool/<where/>">Swiss Original</A>.&nbsp;Mirrors: 
73 <A HREF="http://rrdtool.mirror.graemef.net/<where/>">UK</a><!--Graeme Fowler <graeme@graemef.net>-->
74 ##<A HREF="http://rrdtool.planetmirror.com/<where/>">AU</A><!--jason andrade <jason@dstc.edu.au>-->
75 <A HREF="http://rrdtool.cs.pu.edu.tw/<where/>">TW</A><!--Hsun-Chang Chang <hsunchang@gmail.com>-->
76 <A HREF="http://ftp.heanet.ie/mirrors/oss.oetiker.ch/rrdtool/<where/>">IE</A><!-- <mirrors@heanet.ie>-->
77 <A HREF="http://rrdtool.codemonkey.se/<where/>">SE</A><!--Hans Engren <hans@cyclone.se>-->
78 <A HREF="http://rrdtool.basemirror.de/<where/>">DE</A><!--Baseportal Mirrors <mirrors@baseportal.de>-->
79 <A HREF="http://rrdtool.mirroraty.org/<where/>">US</A><!--Hossam Hossny <hossam@trexle.com>-->
80 <A HREF="http://rrdtool.paracoda.com/<where/>">CA</A><!--Hossam Hossny <admin@paracoda.com>-->
81 <A HREF="http://rrdtool.PlaySystems.ro/<where/>">RO</a><!--dan.draghici@ulbsibiu.ro-->
82 </div>
83 <div id="logo">
84 <div class="legacy">
85 RRDtool
86 <hr/>
87 </div>
88 </div>
89 <!-- ############################# -->
90 <!-- # BODY -->
91 <!-- ############################# -->
92 <div id="body">
93 <!-- google_ad_section_start -->
94 {#Body#}
95 <!-- google_ad_section_end -->
96 </div>
97 </td>
98 </tr>
99 <tr>
100 <td id="leftcornercell"></td>
101 <td id="footcell">
102 <!-- ############################# -->
103 <!-- # FOOTER -->
104 <!-- ############################# -->
105 <perl>
106 if ( -s "$(WML_SRC_BASENAME).wml" > 4000 ){
107 print <<'GOOGLEAD';
108 <div style="clear:right">
109 <script type="text/javascript"><!--
110 google_ad_client = "pub-8135238818549668";
111 google_ad_width = 300;
112 google_ad_height = 250;
113 google_ad_format = "300x250_as";
114 google_ad_type = "text_image";
115 google_ad_channel ="6085696737";
116 google_color_border = "ffffff";
117 google_color_bg = "f0f8FF";
118 google_color_link = "191919";
119 google_color_url = "0066CC";
120 google_color_text = "000000";
121 //--></script>
122 <script type="text/javascript"
123   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
124 </script>
125 </div>
126 GOOGLEAD
128 </perl>
129 <div id="address">
130 <small>
131 <perl>
132 <protect pass=2>
133 use POSIX qw(strftime LC_TIME setlocale); 
134 foreach my $l (qw($(LANGS))){
135         my $lang = lc($l) eq 'de' ? 'de_CH' : $l;
136         $lang =~ s/^en.*/sv/i;  
137         setlocale(LC_TIME,$lang);
138         my $year = strftime "%Y", localtime;
139         my $date = strftime "%x", localtime("$(WML_SRC_TIME)"); 
140         q{$(AUTHOR)} =~ m{(.+\S+)\s*(<.+>|http://.+)} || die q{No Match for $(AUTHOR)}."\n"; 
141         my $text=$1; my $url=$2; $url =~ s/<(\S+)(?:\@|_at_)(\S+)>/mailto:$1\@removethis.$2/;
142         my $LANG = uc("LANG_$l");
143         print <<LINE
144 [$LANG:$date | <A HREF="$url">$text</A> | <A HREF="http://it.oetiker.ch/monitoring/">OETIKER+PARTNER AG</a>:$LANG]
145 LINE
147 </protect>
148 </perl>
149 </small>
150 </div>
151 </td></tr>
152 </table>
153 <hr class="legacy"/>
154 <p class="legacy" style="border-width: 1px; border-color: red; padding: 5px;">
155 <en><b>NOTE:</b> The content of this website is accessible with any browser. The graphical
156 design though relies completely on CSS2 styles. If you see this text, this means
157 that your browser does not support CSS2. Consider upgrading to a standard conformant
158 browser like Mozilla <a href="http://www.getfirefox.com">Firefox</a> or
159 <a href="http://www.opera.com">Opera</a> but also Apple's <a href="http://www.apple.com/safari/">Safari</a>
160 or KDE's <a href="http://www.konqueror.org">Konqueror</a> for example.
161 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
162 res are missing, then the mirror may not have picked up the contents of the <a href="$(ROOT)/inc/">inc</a> directory.</en>
163 #<de><b>HINWEIS:</b> Diese Website funktioniert mit jedem Browser. Die graphische Präsentation jedoch
164 #basiert komplett auf CSS2. Beispiele für CSS2 konforme Browser sind zum Beispiel  <a href="http://www.getfirefox.com">Firefox</a>
165 #<a href="http://www.opera.com">Opera</a> oder auch <a href="http://www.apple.com/safari/">Safari</a> von Apple und
166 #<a href="http://www.konqueror.org">Konqueror</a> aus dem KDE Projekt.
167 #</de>
168 </p> 
169 <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
170 </script>
171 <script type="text/javascript">
172 _uacct = "UA-374525-1";
173 urchinTracker();
174 </script>
175 </body>
176 </html>
178 # All the rest goes into Body
179 ..Body>>