mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
df19822e00
commit
9cee53f3cf
2 changed files with 29 additions and 28 deletions
|
@ -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>
|
||||||
|
|
|
@ -30,34 +30,34 @@
|
||||||
</div>
|
</div>
|
||||||
</div><!-- #archnavbar -->
|
</div><!-- #archnavbar -->
|
||||||
|
|
||||||
<div id="archdev-navbar">
|
<div id="content">
|
||||||
<ul>
|
<div id="archdev-navbar">
|
||||||
<li><a href="index.php">AUR <?php print __("Home"); ?></a></li>
|
<ul>
|
||||||
<li><a href="account.php"><?php print __("Accounts"); ?></a></li>
|
<li><a href="index.php">AUR <?php print __("Home"); ?></a></li>
|
||||||
<li><a href="packages.php"><?php print __("Packages"); ?></a></li>
|
<li><a href="account.php"><?php print __("Accounts"); ?></a></li>
|
||||||
<li><a href="http://bugs.archlinux.org/index.php?tasks=all&project=2"><?php print __("Bugs"); ?></a></li>
|
<li><a href="packages.php"><?php print __("Packages"); ?></a></li>
|
||||||
<li><a href="http://archlinux.org/mailman/listinfo/aur-general"><?php print __("Discussion"); ?></a></li>
|
<li><a href="http://bugs.archlinux.org/index.php?tasks=all&project=2"><?php print __("Bugs"); ?></a></li>
|
||||||
<?php if (isset($_COOKIE['AURSID'])): ?>
|
<li><a href="http://archlinux.org/mailman/listinfo/aur-general"><?php print __("Discussion"); ?></a></li>
|
||||||
<?php if (check_user_privileges()): ?><li><a href="tu.php"><?php print __("Trusted User"); ?></a></li><?php endif; ?>
|
<?php if (isset($_COOKIE['AURSID'])): ?>
|
||||||
<li><a href="packages.php?SeB=m&K=<?php print username_from_sid($_COOKIE["AURSID"]); ?>"><?php print __("My Packages"); ?></a></li>
|
<?php if (check_user_privileges()): ?><li><a href="tu.php"><?php print __("Trusted User"); ?></a></li><?php endif; ?>
|
||||||
<li><a href="pkgsubmit.php"><?php print __("Submit"); ?></a></li>
|
<li><a href="packages.php?SeB=m&K=<?php print username_from_sid($_COOKIE["AURSID"]); ?>"><?php print __("My Packages"); ?></a></li>
|
||||||
<?php endif; ?>
|
<li><a href="pkgsubmit.php"><?php print __("Submit"); ?></a></li>
|
||||||
</ul>
|
<?php endif; ?>
|
||||||
</div><!-- #archdev-navbar -->
|
</ul>
|
||||||
|
</div><!-- #archdev-navbar -->
|
||||||
|
|
||||||
<?php include("login_form.php"); ?>
|
<?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 -->
|
|
||||||
|
|
||||||
|
<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 -->
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue