Code

added Graeme Fowlers mirror
[rrdtool-all.git] / website / inc / template.inc
1 <?xml version="1.0" encoding="iso-8859-15"?>
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 # this must be the very first line to make doc-type switching work on IE
4 #use wml::std::logo
5 #use wml::std::tags
6 #use wml::des::space
7 #use wml::des::imgdot
8 #use wml::std::grid
9 #use wml::fmt::url
10 #include <inc/langset.inc>
11 #include <inc/html.inc>
12 #include <inc/customtags.inc>
13 #use wml::des::navbar
14 #include <inc/navbar-def.inc>
15 #include <$(ROOT)/navbar.inc>
16 <html lang="<lang:star: * />" xmlns="http://www.w3.org/1999/xhtml">
17 <head>
18 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15" />
19 <link* REL="icon" HREF="$(ROOT)/favicon.png" TYPE="image/png" />
20 ..Title!>>RRDtool - Page without a Title<<..
21 <title*>RRDtool - {#Title#}</title*>
22 <!-- Andrew Clover is THE MAN. He made internet explorer more or less
23      more css2 compliant!  http://www.doxdesk.com/software/ -->
24 <script type="text/javascript" src="$(ROOT)/inc/position.js"></script> <!-- left and right -->
25 <script type="text/javascript" src="$(ROOT)/inc/fixed.js"></script>    <!-- fixed positioning -->
26 <style type="text/css">
27 <!--/* <![CDATA[ */
28 /* ie5 for mac thinks this comment does not end here because of the backslash \*/
29 @import url('$(ROOT)/inc/design.css');
30 ## @import url('$(ROOT)/inc/design_$(TYPE).css');
31 /* ]]> */-->
32 </style>
33 </head>
34 <body>
35 <table id="frame">
36 <tr>
37 <td valign="top" id="menucell">
38 <!-- ############################# -->
39 <!-- # MENU -->
40 <!-- ############################# -->
41 <div id="menu">
42 <h2 class="legacy">Menu</h2>
43 <navbar:render name=main menumode=inner nohints txtonly select=$(PAGE)/>
44 </div>
45 </td>
46 <!-- ############################# -->
47 <!-- # Logo and Body -->
48 <!-- ############################# -->
49 <td id="bodycell">
50 # all mirrors seem dead currently
51 <div id="mirrors">
52 <A HREF="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/<where/>">Swiss Original</A>.&nbsp;Mirrors: 
53 <A HREF="http://rrdtool.mirror.graemef.net/<where/>">UK</a><!--Graeme Fowler <graeme@graemef.net>-->
54 #<A HREF="http://rrdtool.planetmirror.com/<where/>">AU</A>,<!--jason andrade <jason@dstc.edu.au>-->
55 #<A HREF="http://rrdtool.cs.pu.edu.tw/<where/>">TW</A>,<!--Hsun-Chang Chang <hsunchang@gmail.com>-->
56 #<A HREF="http://ftp.heanet.ie/mirrors/people.ee.ethz.ch/%257Eoetiker/webtools/rrdtool/<where/>">IE</A>,<!--Colm MacCárthaigh <colm.maccarthaigh@heanet.ie>-->
57 #<A HREF="http://rrdtool.cyclone.se/<where/>">SE</A>,<!--Hans Engren <hans@cyclone.se>-->
58 #<A HREF="http://rrdtool.trexle.com/<where/>">US</A>,<!--Hossam Hossny <hossam@trexle.com>-->
59 </div>
60 <div id="logo">
61 <div class="legacy">
62 RRDtool
63 <hr/>
64 </div>
65 </div>
66 <!-- ############################# -->
67 <!-- # BODY -->
68 <!-- ############################# -->
69 <div id="body">
70 {#Body#}
71 </div>
72 </td>
73 </tr>
74 <tr>
75 <td id="leftcornercell"></td>
76 <td id="footcell">
77 <!-- ############################# -->
78 <!-- # FOOTER -->
79 <!-- ############################# -->
80 <div id="address">
81 <small>
82 <perl>
83 <protect pass=2>
84 use POSIX qw(strftime LC_TIME setlocale); 
85 foreach my $l (qw($(LANGS))){
86         my $lang = lc($l) eq 'de' ? 'de_CH' : $l;
87         $lang =~ s/^en.*/sv/i;  
88         setlocale(LC_TIME,$lang);
89         my $year = strftime "%Y", localtime;
90         my $date = strftime "%x", localtime("$(WML_SRC_TIME)"); 
91         q{$(AUTHOR)} =~ m{(.+\S+)\s*(<.+>|http://.+)} || die q{No Match for $(AUTHOR)}."\n"; 
92         my $text=$1; my $url=$2; $url =~ s/<(\S+)(?:\@|_at_)(\S+)>/mailto:$1\@removethis.$2/;
93         my $LANG = uc("LANG_$l");
94         print <<LINE
95 [$LANG:$date | <A HREF="$url">$text</A>:$LANG]
96 LINE
97 }
98 </protect>
99 </perl>
100 </small>
101 </div>
102 </td></tr>
103 </table>
104 <hr class="legacy"/>
105 <p class="legacy" style="border-width: 1px; border-color: red; padding: 5px;">
106 <en><b>NOTE:</b> The content of this website is accessible with any browser. The graphical
107 design though relies completely on CSS2 styles. If you see this text, this means
108 that your browser does not support CSS2. Consider upgrading to a standard conformant
109 browser like Mozilla <a href="http://www.getfirefox.com">Firefox</a> or
110 <a href="http://www.opera.com">Opera</a> but also Apple's <a href="http://www.apple.com/safari/">Safari</a>
111 or KDE's <a href="http://www.konqueror.org">Konqueror</a> for example.</en>
112 #<de><b>HINWEIS:</b> Diese Website funktioniert mit jedem Browser. Die graphische Präsentation jedoch
113 #basiert komplett auf CSS2. Beispiele für CSS2 konforme Browser sind zum Beispiel  <a href="http://www.getfirefox.com">Firefox</a>
114 #<a href="http://www.opera.com">Opera</a> oder auch <a href="http://www.apple.com/safari/">Safari</a> von Apple und
115 #<a href="http://www.konqueror.org">Konqueror</a> aus dem KDE Projekt.
116 #</de>
117 </p> 
118 </body>
119 </html>
121 # All the rest goes into Body
122 ..Body>>