]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - www/template.inc
Updated website engine.
[people/shoehn/ipfire.org.git] / www / template.inc
similarity index 71%
rename from www/header.inc
rename to www/template.inc
index 2f7270744bf5b9230d97c823c86073b5fb0a2b52..6fd1f28b9f5d1993903365c4970bfa1582e3c566 100644 (file)
                                <div id="line1">
                                        %(menu)s
                                        <div id="lang">
-                                               <a href="/%(document_name)s/en" ><img src="/images/en.gif" alt="english" /></a>
-                                               <a href="/%(document_name)s/de" ><img src="/images/de.gif" alt="german" /></a>
+                                               %(languages)s
                                        </div>
-                               </div> <!-- Line 1 -->
+                               </div>
                                <div id="line2">
-                                       <h1><span>IPFire</span>.org</h1>
-                               </div> <!-- Line 2 -->
+                                       <h1>%(server)s</h1>
+                               </div>
                                <div id="line3">
-                                       <h2>Security today!</h2>
-                               </div> <!-- Line 3 -->
+                                       <h2>%(slogan)s</h2>
+                               </div>
                                
                        </div>
                </div>
                <div id="main">
                    <div id="main_inner" class="fixed">
-                       <table>
-                           <tr>
-                               <td id="sh-tl"></td>
-                               <td id="sh-top"></td>
-                               <td id="sh-tr"></td>
-                           </tr>
-                           <tr>
-                               <td id="sh-lft"></td>
-                               <td id="no-sh">
-
+                               <table>
+                               <tr>
+                                               <td id="sh-tl"></td>
+                                               <td id="sh-top"></td>
+                                               <td id="sh-tr"></td>
+                                       </tr>
+                                       <tr>
+                                               <td id="sh-lft"></td>
+                                               <td id="no-sh">
+                                                       <div id="primaryContent_2columns">
+                                                               <div id="columnA_2columns">
+                                                                       %(content)s
+                                                                       <br class="clear" />
+                                                               </div>
+                                                       </div>
+                                                       <div id="secondaryContent_2columns">
+                                                               <div id="columnC_2columns">
+                                                                       %(sidebar)s
+                                                                       <br class="clear" />
+                                                               </div>
+                                                       </div>
+                                               </td>
+                                               <td id="sh-rgt"></td>
+                                       </tr>
+                                       <tr>
+                                               <td id="sh-bl"></td>
+                                               <td id="sh-btn"></td>
+                                               <td id="sh-br"></td>
+                                       </tr>
+                               </table>
+                       </div>
+               </div>
+               <div id="footer" class="fixed2">
+                       Copyright &copy; %(year)s IPFire.org. All rights reserved. <a href="/%(lang)s/imprint">Imprint</a>
+               </div>
+       </body>
+</html>