]> git.ipfire.org Git - ipfire.org.git/blob - www/header.inc
Define "heading" XML tag to set as HTML-anchor
[ipfire.org.git] / www / header.inc
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
4 <head>
5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 <title>%(title)s</title>
7 <meta name="keywords" content="Linux, Firewall, IPCop, IPFire, Security" />
8 <meta name="description" content="" />
9 <meta name="verify-v1" content="2LEf3W8naILGWVy2dhedSVEHPXTpp2xFNVsHXZMH1JI=" />
10 <link rel="stylesheet" type="text/css" href="../style.css" />
11 <link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.ipfire.org/data/feeds/main-en.rss" />
12 <!--[if lt IE 7]>
13 <link rel="stylesheet" type="text/css" href="./ie6.css" />
14 <script type="text/javascript">
15 function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher.
16 {
17 for(var i=0; i<document.images.length; i++)
18 {
19 var img = document.images[i]
20 var imgName = img.src.toUpperCase()
21 if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
22 {
23 var imgID = (img.id) ? "id='" + img.id + "' " : ""
24 var imgClass = (img.className) ? "class='" + img.className + "' " : ""
25 var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
26 var imgStyle = "display:inline-block;" + img.style.cssText
27 if (img.align == "left") imgStyle = "float:left;" + imgStyle
28 if (img.align == "right") imgStyle = "float:right;" + imgStyle
29 if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
30 var strNewHTML = "<span " + imgID + imgClass + imgTitle
31 + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
32 + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
33 + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
34 img.outerHTML = strNewHTML
35 i = i-1
36 }
37 }
38 }
39 window.attachEvent("onload", correctPNG);
40 </script>
41 <![endif]-->
42 </head>
43 <body>
44 <div id="header">
45 <div id="header_inner" class="fixed">
46 <div id="logo">
47 <img src="/ipfire3/tux2.png" width="102px" height="102px" class="symbol" alt="IPFire" />
48 </div>
49 <div id="line1">
50 %(menu)s
51 <div id="lang">
52 <a href="/%(document_name)s/en" ><img src="/images/en.gif" alt="english" /></a>
53 <a href="/%(document_name)s/de" ><img src="/images/de.gif" alt="german" /></a>
54 </div>
55 </div> <!-- Line 1 -->
56 <div id="line2">
57 <h1><span>IPFire</span>.org</h1>
58 </div> <!-- Line 2 -->
59 <div id="line3">
60 <h2>Security today!</h2>
61 </div> <!-- Line 3 -->
62
63 </div>
64 </div>
65 <div id="main">
66 <div id="main_inner" class="fixed">
67 <table>
68 <tr>
69 <td id="sh-tl"></td>
70 <td id="sh-top"></td>
71 <td id="sh-tr"></td>
72 </tr>
73 <tr>
74 <td id="sh-lft"></td>
75 <td id="no-sh">
76