summaryrefslogtreecommitdiff
path: root/web/template/header.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-05-23 13:32:38 -0400
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-06 11:25:55 +0200
commit9cee53f3cfbe64286db9ac0361db205e6b9509e3 (patch)
treeaa7ce9d6cb6f5f7504023dc3f90fe2edc680af63 /web/template/header.php
parentdf19822e008b0d0df2f4e7589b5b8512674e6a59 (diff)
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>
Diffstat (limited to 'web/template/header.php')
-rw-r--r--web/template/header.php56
1 files changed, 28 insertions, 28 deletions
diff --git a/web/template/header.php b/web/template/header.php
index a53180a..885a74f 100644
--- a/web/template/header.php
+++ b/web/template/header.php
@@ -30,34 +30,34 @@
</div>
</div><!-- #archnavbar -->
- <div id="archdev-navbar">
- <ul>
- <li><a href="index.php">AUR <?php print __("Home"); ?></a></li>
- <li><a href="account.php"><?php print __("Accounts"); ?></a></li>
- <li><a href="packages.php"><?php print __("Packages"); ?></a></li>
- <li><a href="http://bugs.archlinux.org/index.php?tasks=all&amp;project=2"><?php print __("Bugs"); ?></a></li>
- <li><a href="http://archlinux.org/mailman/listinfo/aur-general"><?php print __("Discussion"); ?></a></li>
- <?php if (isset($_COOKIE['AURSID'])): ?>
- <?php if (check_user_privileges()): ?><li><a href="tu.php"><?php print __("Trusted User"); ?></a></li><?php endif; ?>
- <li><a href="packages.php?SeB=m&amp;K=<?php print username_from_sid($_COOKIE["AURSID"]); ?>"><?php print __("My Packages"); ?></a></li>
- <li><a href="pkgsubmit.php"><?php print __("Submit"); ?></a></li>
- <?php endif; ?>
- </ul>
- </div><!-- #archdev-navbar -->
-
- <?php include("login_form.php"); ?>
+ <div id="content">
+ <div id="archdev-navbar">
+ <ul>
+ <li><a href="index.php">AUR <?php print __("Home"); ?></a></li>
+ <li><a href="account.php"><?php print __("Accounts"); ?></a></li>
+ <li><a href="packages.php"><?php print __("Packages"); ?></a></li>
+ <li><a href="http://bugs.archlinux.org/index.php?tasks=all&amp;project=2"><?php print __("Bugs"); ?></a></li>
+ <li><a href="http://archlinux.org/mailman/listinfo/aur-general"><?php print __("Discussion"); ?></a></li>
+ <?php if (isset($_COOKIE['AURSID'])): ?>
+ <?php if (check_user_privileges()): ?><li><a href="tu.php"><?php print __("Trusted User"); ?></a></li><?php endif; ?>
+ <li><a href="packages.php?SeB=m&amp;K=<?php print username_from_sid($_COOKIE["AURSID"]); ?>"><?php print __("My Packages"); ?></a></li>
+ <li><a href="pkgsubmit.php"><?php print __("Submit"); ?></a></li>
+ <?php endif; ?>
+ </ul>
+ </div><!-- #archdev-navbar -->
- <div id="lang_sub">
-<?php
-reset($SUPPORTED_LANGS);
-foreach ($SUPPORTED_LANGS as $lang => $lang_name) {
- print '<a href="'
- . htmlspecialchars($_SERVER["PHP_SELF"], ENT_QUOTES)
- ."?setlang=" . htmlspecialchars($lang, ENT_QUOTES) . "\" title=\"" . htmlspecialchars($lang_name, ENT_QUOTES) . "\">"
- . htmlspecialchars(strtolower($lang)) . "</a>\n";
-}
-?>
- </div>
- <!-- Start of main content -->
+ <?php include("login_form.php"); ?>
+ <div id="lang_sub">
+ <?php
+ reset($SUPPORTED_LANGS);
+ foreach ($SUPPORTED_LANGS as $lang => $lang_name) {
+ print '<a href="'
+ . htmlspecialchars($_SERVER["PHP_SELF"], ENT_QUOTES)
+ ."?setlang=" . htmlspecialchars($lang, ENT_QUOTES) . "\" title=\"" . htmlspecialchars($lang_name, ENT_QUOTES) . "\">"
+ . htmlspecialchars(strtolower($lang)) . "</a>\n";
+ }
+ ?>
+ </div>
+ <!-- Start of main content -->