]> git.ipfire.org Git - ipfire.org.git/blob - www/header.inc
Fix 1st content tag of news.xml.
[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 <script type="text/javascript">
14 function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher.
15 {
16 for(var i=0; i<document.images.length; i++)
17 {
18 var img = document.images[i]
19 var imgName = img.src.toUpperCase()
20 if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
21 {
22 var imgID = (img.id) ? "id='" + img.id + "' " : ""
23 var imgClass = (img.className) ? "class='" + img.className + "' " : ""
24 var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
25 var imgStyle = "display:inline-block;" + img.style.cssText
26 if (img.align == "left") imgStyle = "float:left;" + imgStyle
27 if (img.align == "right") imgStyle = "float:right;" + imgStyle
28 if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
29 var strNewHTML = "<span " + imgID + imgClass + imgTitle
30 + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
31 + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
32 + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
33 img.outerHTML = strNewHTML
34 i = i-1
35 }
36 }
37 }
38 window.attachEvent("onload", correctPNG);
39 </script>
40 <![endif]-->
41 </head>
42 <body>
43 <div id="header">
44 <div id="header_inner" class="fixed">
45 <div id="logo">
46 <img src="/images/icons/ipfire.png" width="48px" height="48px" class="symbol" alt="IPFire" />
47 <h1><span>IPFire</span>.org</h1>
48 <br />
49 <h2>Security today!</h2>
50 </div>
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 %(menu)s
56 </div>
57 </div>
58 <div id="main">
59 <div id="main_inner" class="fixed">