]> git.ipfire.org Git - ipfire.org.git/blobdiff - www/templates/base.html
Import of new website.
[ipfire.org.git] / www / templates / base.html
index 9996822f435442581148939f29e3d2db5ea76357..bd8d225d7e91f04825de45c3d57dcfacbcb196fe 100644 (file)
@@ -1,54 +1,55 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
        <head>
-               <meta http-equiv="content-type" content="text/html; charset=utf-8" />
-               <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
-               <title>{{ hostname }} - {% block title %}{{ title }}{% end block %}</title>
+               <title>{{ hostname }} - {% block title %}{% end block %}</title>
+
+               <!-- Your locale is {{ locale.code }} -->
+
+               <!-- Some meta information -->
                <meta name="keywords" content="Linux, Firewall, IPFire, Security" />
-               <meta name="description" content="" />
+               <meta name="description" content="{{ _("IPFire is a free firewall distribution based on Linux.") }}" />
+
+               <!-- Some browser specific stuff -->
                <meta name="verify-v1" content="2LEf3W8naILGWVy2dhedSVEHPXTpp2xFNVsHXZMH1JI=" />
+               <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+               <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
+
+               <!-- Style information and javascript -->
                <link rel="stylesheet" type="text/css" href="{{ static_url("css/style.css") }}" />
                <script type="text/javascript" src="{{ static_url("js/jquery.js") }}"></script>
                <script type="text/javascript" src="{{ static_url("js/jquery-ui.js") }}"></script>
-               <link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.ipfire.org/{{ lang }}/news.rss" />
                <!--[if lt IE 7]>
                        <link rel="stylesheet" type="text/css" href="{{ static_url("css/ie6.css") }}" />
                        <script src="{{ static_url("js/correctpng.js") }}" type="text/javascript"></script>
                <![endif]-->
+
+               <!-- RSS -->
+               <link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.ipfire.org/{{ lang }}/news.rss" />
        </head>
        <body>
                <div id="header">
                        <div id="header_inner" class="fixed">
                                <div id="logo">
-                                       <a href="{{ link("") }}">
+                                       <a href="http://www.ipfire.org/">
                                                <img src="{{ static_url("images/tux_menu_99x100.png") }}" class="symbol" alt="IPFire" />
                                        </a>
                                </div>
-                               <div id="line1">
+                               <div id="header_menu">
                                        {% block menu %}
                                                {{ modules.Menu() }}
                                        {% end block %}
-                                       <div id="lang">
-                                               {% block languages %}
-                                                       {% for lng in langs %}
-                                                               <a href="{{ lang_link(lng) }}"><img src="{{ static_url("images/%s.gif" % lng) }}" alt="{{ lng }}" /></a>
-                                                       {% end %}
-                                               {% end block %}
-                                       </div>
                                </div>
-                               <div id="line2">
-                                       <h1>{{ server }}</h1>
+                               <div id="header_hostname">
+                                       <h1>{{ hostname }}</h1>
                                </div>
-                               <div id="line3">
-                                       <h2>{{ _("Security gone easy!") }}</h2>
+                               <div id="header_slogan">
+                                       <h2>{{ _("An Open Source Firewall Solution") }}</h2>
                                </div>
-                               
                        </div>
                </div>
                <div id="main">
                    <div id="main_inner" class="fixed">
-                               <table>
+                               <table id="main_frame">
                                <tr>
                                                <td id="sh-tl"></td>
                                                <td id="sh-top"></td>
                                        <tr>
                                                <td id="sh-lft"></td>
                                                <td id="no-sh">
-                                                       <div id="primaryContent_2columns">
-                                                               <div id="columnA_2columns">
-                                                                       {% block content %}
-                                                                       {% end block %}
-                                                                       <br class="clear" />
-                                                               </div>
-                                                       </div>
-                                                       <div id="secondaryContent_2columns">
-                                                               <div id="columnC_2columns">
-                                                                       {% block sidebar %}
-                                                                               {{ modules.SidebarBanner(banner) }}
-                                                                       {% end block %}
-                                                                       <br class="clear" />
-                                                               </div>
-                                                       </div>
+                                                       {% block columns %}{% end block %}
                                                </td>
                                                <td id="sh-rgt"></td>
                                        </tr>
-                                       
                                        <tr>
                                                <td id="sh-lft"></td>
                                                <td id="footer" class="fixed2">
-                                                       Copyright &copy; {{ year }} IPFire.org. All rights reserved. <a href="{{ link("imprint") }}">{{ _("imprint") }}</a>
+                                                       Copyright &copy; {{ year }} IPFire.org. {{ _("All rights reserved.") }} <a href="http://www.ipfire.org/imprint">{{ _("imprint") }}</a>
                                                </td>
                                                <td id="sh-rgt"></td>
                                        </tr>
-                                       
                                        <tr>
                                                <td id="sh-bl"></td>
                                                <td id="sh-btn"></td>