Code

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