Code

taiwan mirror is up again
[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 <!-- Andrew Clover is THE MAN. He made internet explorer more or less
25      more css2 compliant!  http://www.doxdesk.com/software/ -->
26 <script type="text/javascript" src="$(ROOT)/inc/position.js"></script> <!-- left and right -->
27 <script type="text/javascript" src="$(ROOT)/inc/fixed.js"></script>    <!-- fixed positioning -->
28 <style type="text/css">
29 <!--/* <![CDATA[ */
30 /* ie5 for mac thinks this comment does not end here because of the backslash \*/
31 @import url('$(ROOT)/inc/design.css');
32 ## @import url('$(ROOT)/inc/design_$(TYPE).css');
33 /* ]]> */-->
34 </style>
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 <br/>
48 <br/>
49 <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
50 <input type="hidden" name="cmd" value="_xclick"/>
51 <input type="hidden" name="business" value="tobias@oetiker.ch"/>
52 <input type="hidden" name="item_name" value="Tobi's OpenSource Projects MRTG / RRDtool / SmokePing"/>
53 <input type="hidden" name="item_number" value="appreciators"/>
54 <input type="hidden" name="no_note" value="1"/>
55 <input type="hidden" name="currency_code" value="USD"/>
56 <input type="hidden" name="tax" value="0"/>
57 <input type="image" src="https://www.paypal.com/images/x-click-but04.gif" name="submit" alt="Sponsor RRDtool with PayPal"/>
58 </form>
59 </div>
60 </td>
61 <!-- ############################# -->
62 <!-- # Logo and Body -->
63 <!-- ############################# -->
64 <td id="bodycell">
65 # all mirrors seem dead currently
66 <div id="mirrors">
67 <A HREF="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/<where/>">Swiss Original</A>.&nbsp;Mirrors: 
68 <A HREF="http://rrdtool.mirror.graemef.net/<where/>">UK</a><!--Graeme Fowler <graeme@graemef.net>-->
70 #<A HREF="http://rrdtool.planetmirror.com/<where/>">AU</A><!--jason andrade <jason@dstc.edu.au>-->
71 <A HREF="http://rrdtool.cs.pu.edu.tw/<where/>">TW</A><!--Hsun-Chang Chang <hsunchang@gmail.com>-->
72 #<A HREF="http://ftp.heanet.ie/mirrors/people.ee.ethz.ch/%257Eoetiker/webtools/rrdtool/<where/>">IE</A><!--Colm MacCárthaigh <colm.maccarthaigh@heanet.ie>-->
73 #<A HREF="http://rrdtool.cyclone.se/<where/>">SE</A><!--Hans Engren <hans@cyclone.se>-->
74 <A HREF="http://rrdtool.trexle.net/<where/>">US</A><!--Hossam Hossny <hossam@trexle.com>-->
75 <A HREF="http://rrdtool.paracoda.com/<where/>">CA</A><!--Hossam Hossny <admin@paracoda.com>-->
76 </div>
77 <div id="logo">
78 <div class="legacy">
79 RRDtool
80 <hr/>
81 </div>
82 </div>
83 <!-- ############################# -->
84 <!-- # BODY -->
85 <!-- ############################# -->
86 <div id="body">
87 {#Body#}
88 </div>
89 </td>
90 </tr>
91 <tr>
92 <td id="leftcornercell"></td>
93 <td id="footcell">
94 <!-- ############################# -->
95 <!-- # FOOTER -->
96 <!-- ############################# -->
97 <div id="address">
98 <small>
99 <perl>
100 <protect pass=2>
101 use POSIX qw(strftime LC_TIME setlocale); 
102 foreach my $l (qw($(LANGS))){
103         my $lang = lc($l) eq 'de' ? 'de_CH' : $l;
104         $lang =~ s/^en.*/sv/i;  
105         setlocale(LC_TIME,$lang);
106         my $year = strftime "%Y", localtime;
107         my $date = strftime "%x", localtime("$(WML_SRC_TIME)"); 
108         q{$(AUTHOR)} =~ m{(.+\S+)\s*(<.+>|http://.+)} || die q{No Match for $(AUTHOR)}."\n"; 
109         my $text=$1; my $url=$2; $url =~ s/<(\S+)(?:\@|_at_)(\S+)>/mailto:$1\@removethis.$2/;
110         my $LANG = uc("LANG_$l");
111         print <<LINE
112 [$LANG:$date | <A HREF="$url">$text</A>:$LANG]
113 LINE
115 </protect>
116 </perl>
117 </small>
118 </div>
119 </td></tr>
120 </table>
121 <hr class="legacy"/>
122 <p class="legacy" style="border-width: 1px; border-color: red; padding: 5px;">
123 <en><b>NOTE:</b> The content of this website is accessible with any browser. The graphical
124 design though relies completely on CSS2 styles. If you see this text, this means
125 that your browser does not support CSS2. Consider upgrading to a standard conformant
126 browser like Mozilla <a href="http://www.getfirefox.com">Firefox</a> or
127 <a href="http://www.opera.com">Opera</a> but also Apple's <a href="http://www.apple.com/safari/">Safari</a>
128 or KDE's <a href="http://www.konqueror.org">Konqueror</a> for example.</en>
129 #<de><b>HINWEIS:</b> Diese Website funktioniert mit jedem Browser. Die graphische Präsentation jedoch
130 #basiert komplett auf CSS2. Beispiele für CSS2 konforme Browser sind zum Beispiel  <a href="http://www.getfirefox.com">Firefox</a>
131 #<a href="http://www.opera.com">Opera</a> oder auch <a href="http://www.apple.com/safari/">Safari</a> von Apple und
132 #<a href="http://www.konqueror.org">Konqueror</a> aus dem KDE Projekt.
133 #</de>
134 </p> 
135 </body>
136 </html>
138 # All the rest goes into Body
139 ..Body>>