Code

sync with reality
[rrdtool-all.git] / website / inc / html.inc
1 <define-tag h1 whitespace=delete endtag=required>
2 <preserve subtitle />
3 <set-var %attributes />
4 <h1*>%body</h1*>
5 {#H1_FLAT#:<: $x = <<kjhasdflkjhasdf;
6 %body
7 kjhasdflkjhasdf
8 $x =~ s/\\n/ /g; print $x; :>:#H1_FLAT#}
9 <if <get-var title_is_set /> ""
10    {#Title#:{#H1_FLAT#}:#Title#}
11 />
12 <div id="googlead_right">
13 <script type="text/javascript"><!--
14 google_ad_client = "pub-8135238818549668";
15 google_ad_width = 300; 
16 google_ad_height = 250;
17 google_ad_format = "300x250_as";
18 google_ad_type = "text_image";
19 google_ad_channel ="5627785043";
20 google_color_border = "ffffff";      
21 google_color_bg = "ffffff";
22 google_color_link = "0017C1"; 
23 google_color_url = "000000"; 
24 google_color_text = "000000";
25 #google_color_border = "ffffff";
26 #google_color_bg = "F0F0F0";
27 #google_color_link = "2c3fbf";
28 #google_color_url = "6851b0";
29 #google_color_text = "000000";
30 //--></script>
31 <script type="text/javascript"
32   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
33 </script>
34 </div>
35 <restore subtitle />
36 </define-tag>
38 <define-tag title whitespace=delete endtag=required>
39 <set-var title_is_set=1/>
40 {#!Title#:<: $_ = <<kjhasdflkjhasdf;
41 %body
42 kjhasdflkjhasdf
43 s/\\n/ /g; print :>:#Title#}
44 </define-tag>
46 <perl>my $addcount=0;</perl>
48 <define-tag h2 whitespace=delete endtag=required>
49 <perl>
50 $addcount++;
51 if ($addcount == 7){
52 print <<'GOOGLEAD';
53 <p>
54 <script type="text/javascript"><!--
55 google_ad_client = "pub-8135238818549668";
56 google_ad_width = 300;
57 google_ad_height = 250;
58 google_ad_format = "300x250_as";
59 google_ad_type = "text_image";
60 google_ad_channel ="9159032853";
61 google_color_border = "ffffff";
62 google_color_bg = "ffffff";
63 google_color_link = "2c3fbf";
64 google_color_url = "000000";
65 google_color_text = "000000";
66 //--></script>
67 <script type="text/javascript"
68   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
69 </script>
70 </p>
71 GOOGLEAD
72 }
73 </perl>
74 <h2* %attributes>%body</h2*>
75 </define-tag>
77 <define-tag h3 whitespace=delete endtag=required>
78 <perl>
79 $addcount++;
80 if ($addcount == 7){
81 print <<'GOOGLEAD';
82 <p>
83 <script type="text/javascript"><!--
84 google_ad_client = "pub-8135238818549668";
85 google_ad_width = 300;
86 google_ad_height = 250;
87 google_ad_format = "300x250_as";
88 google_ad_type = "text_image";
89 google_ad_channel ="9159032853";
90 google_color_border = "ffffff";
91 google_color_bg = "ffffff";
92 google_color_link = "2c3fbf";
93 google_color_url = "000000";
94 google_color_text = "000000";
95 //--></script>
96 <script type="text/javascript"
97   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
98 </script>
99 </p>
100 GOOGLEAD
102 </perl>
103 <h3* %attributes>%body</h3*>
104 </define-tag>