Wrap everything in a content cotainer

For consistency with archweb.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: canyonknight <canyonknight@gmail.com>
This commit is contained in:
Lukas Fleischer 2012-05-23 13:32:38 -04:00
parent df19822e00
commit 9cee53f3cf
2 changed files with 29 additions and 28 deletions

View file

@ -5,5 +5,6 @@
echo "<div class=\"pgbox version\">" . htmlspecialchars($ver) . "</div>"; echo "<div class=\"pgbox version\">" . htmlspecialchars($ver) . "</div>";
} }
?> ?>
</div>
</body> </body>
</html> </html>

View file

@ -30,6 +30,7 @@
</div> </div>
</div><!-- #archnavbar --> </div><!-- #archnavbar -->
<div id="content">
<div id="archdev-navbar"> <div id="archdev-navbar">
<ul> <ul>
<li><a href="index.php">AUR <?php print __("Home"); ?></a></li> <li><a href="index.php">AUR <?php print __("Home"); ?></a></li>
@ -48,16 +49,15 @@
<?php include("login_form.php"); ?> <?php include("login_form.php"); ?>
<div id="lang_sub"> <div id="lang_sub">
<?php <?php
reset($SUPPORTED_LANGS); reset($SUPPORTED_LANGS);
foreach ($SUPPORTED_LANGS as $lang => $lang_name) { foreach ($SUPPORTED_LANGS as $lang => $lang_name) {
print '<a href="' print '<a href="'
. htmlspecialchars($_SERVER["PHP_SELF"], ENT_QUOTES) . htmlspecialchars($_SERVER["PHP_SELF"], ENT_QUOTES)
."?setlang=" . htmlspecialchars($lang, ENT_QUOTES) . "\" title=\"" . htmlspecialchars($lang_name, ENT_QUOTES) . "\">" ."?setlang=" . htmlspecialchars($lang, ENT_QUOTES) . "\" title=\"" . htmlspecialchars($lang_name, ENT_QUOTES) . "\">"
. htmlspecialchars(strtolower($lang)) . "</a>\n"; . htmlspecialchars(strtolower($lang)) . "</a>\n";
} }
?> ?>
</div> </div>
<!-- Start of main content --> <!-- Start of main content -->