Code

added irc channel
[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)/inc/favicon.ico" TYPE="image/ico" />
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 <br/>
45 <br/>
46 <br/>
47 <a href="http://conferences.oreillynet.com/cs/os2005/view/e_sess/6520"><img border="0" src="http://conferences.oreillynet.com/images/os2005/banners/speakers/120x60.gif"/></a>
48 </div>
49 </td>
50 <!-- ############################# -->
51 <!-- # Logo and Body -->
52 <!-- ############################# -->
53 <td id="bodycell">
54 # all mirrors seem dead currently
55 <div id="mirrors">
56 <A HREF="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/<where/>">Swiss Original</A>.&nbsp;Mirrors: 
57 <A HREF="http://rrdtool.mirror.graemef.net/<where/>">UK</a><!--Graeme Fowler <graeme@graemef.net>-->
58 #<A HREF="http://rrdtool.planetmirror.com/<where/>">AU</A>,<!--jason andrade <jason@dstc.edu.au>-->
59 #<A HREF="http://rrdtool.cs.pu.edu.tw/<where/>">TW</A>,<!--Hsun-Chang Chang <hsunchang@gmail.com>-->
60 #<A HREF="http://ftp.heanet.ie/mirrors/people.ee.ethz.ch/%257Eoetiker/webtools/rrdtool/<where/>">IE</A>,<!--Colm MacCárthaigh <colm.maccarthaigh@heanet.ie>-->
61 #<A HREF="http://rrdtool.cyclone.se/<where/>">SE</A>,<!--Hans Engren <hans@cyclone.se>-->
62 #<A HREF="http://rrdtool.trexle.com/<where/>">US</A>,<!--Hossam Hossny <hossam@trexle.com>-->
63 </div>
64 <div id="logo">
65 <div class="legacy">
66 RRDtool
67 <hr/>
68 </div>
69 </div>
70 <!-- ############################# -->
71 <!-- # BODY -->
72 <!-- ############################# -->
73 <div id="body">
74 {#Body#}
75 </div>
76 </td>
77 </tr>
78 <tr>
79 <td id="leftcornercell"></td>
80 <td id="footcell">
81 <!-- ############################# -->
82 <!-- # FOOTER -->
83 <!-- ############################# -->
84 <div id="address">
85 <small>
86 <perl>
87 <protect pass=2>
88 use POSIX qw(strftime LC_TIME setlocale); 
89 foreach my $l (qw($(LANGS))){
90         my $lang = lc($l) eq 'de' ? 'de_CH' : $l;
91         $lang =~ s/^en.*/sv/i;  
92         setlocale(LC_TIME,$lang);
93         my $year = strftime "%Y", localtime;
94         my $date = strftime "%x", localtime("$(WML_SRC_TIME)"); 
95         q{$(AUTHOR)} =~ m{(.+\S+)\s*(<.+>|http://.+)} || die q{No Match for $(AUTHOR)}."\n"; 
96         my $text=$1; my $url=$2; $url =~ s/<(\S+)(?:\@|_at_)(\S+)>/mailto:$1\@removethis.$2/;
97         my $LANG = uc("LANG_$l");
98         print <<LINE
99 [$LANG:$date | <A HREF="$url">$text</A>:$LANG]
100 LINE
102 </protect>
103 </perl>
104 </small>
105 </div>
106 </td></tr>
107 </table>
108 <hr class="legacy"/>
109 <p class="legacy" style="border-width: 1px; border-color: red; padding: 5px;">
110 <en><b>NOTE:</b> The content of this website is accessible with any browser. The graphical
111 design though relies completely on CSS2 styles. If you see this text, this means
112 that your browser does not support CSS2. Consider upgrading to a standard conformant
113 browser like Mozilla <a href="http://www.getfirefox.com">Firefox</a> or
114 <a href="http://www.opera.com">Opera</a> but also Apple's <a href="http://www.apple.com/safari/">Safari</a>
115 or KDE's <a href="http://www.konqueror.org">Konqueror</a> for example.</en>
116 #<de><b>HINWEIS:</b> Diese Website funktioniert mit jedem Browser. Die graphische Präsentation jedoch
117 #basiert komplett auf CSS2. Beispiele für CSS2 konforme Browser sind zum Beispiel  <a href="http://www.getfirefox.com">Firefox</a>
118 #<a href="http://www.opera.com">Opera</a> oder auch <a href="http://www.apple.com/safari/">Safari</a> von Apple und
119 #<a href="http://www.konqueror.org">Konqueror</a> aus dem KDE Projekt.
120 #</de>
121 </p> 
122 </body>
123 </html>
125 # All the rest goes into Body
126 ..Body>>