1 <?
= '<?xml version="1.0" encoding="UTF-8"?>'; ?
>
2 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns
="http://www.w3.org/1999/xhtml"
5 xml
:lang
="<?= htmlspecialchars($LANG, ENT_QUOTES) ?>" lang
="<?= htmlspecialchars($LANG, ENT_QUOTES) ?>">
7 <title
>AUR (<?
= htmlspecialchars($LANG); ?
>)<?php
if ($title != "") { print " - " . htmlspecialchars($title); } ?
></title
>
8 <link rel
='stylesheet' type
='text/css' href
='/css/archweb.css' />
9 <link rel
='stylesheet' type
='text/css' href
='/css/aur.css' />
10 <link rel
='shortcut icon' href
='/images/favicon.ico' />
11 <link rel
='alternate' type
='application/rss+xml' title
='Newest Packages RSS' href
='<?= get_uri('/rss
/'); ?>' />
12 <meta http
-equiv
="Content-Type" content
="text/html; charset=UTF-8" />
15 <div id
="archnavbar" class="anb-aur">
16 <div id
="archnavbarlogo"><h1
><a href
="http://www.archlinux.org" title
="Return to the main page">Arch Linux
</a
></h1
></div
>
17 <div id
="archnavbarmenu">
18 <ul id
="archnavbarlist">
19 <li id
="anb-home"><a href
="http://www.archlinux.org/" title
="Arch news, packages, projects and more">Home
</a
></li
>
20 <li id
="anb-packages"><a href
="http://www.archlinux.org/packages/" title
="Arch Package Database">Packages
</a
></li
>
21 <li id
="anb-forums"><a href
="https://bbs.archlinux.org/" title
="Community forums">Forums
</a
></li
>
22 <li id
="anb-wiki"><a href
="https://wiki.archlinux.org/" title
="Community documentation">Wiki
</a
></li
>
23 <li id
="anb-bugs"><a href
="https://bugs.archlinux.org/" title
="Report and track bugs">Bugs
</a
></li
>
24 <li id
="anb-aur"><a href
="/" title
="Arch Linux User Repository">AUR
</a
></li
>
25 <li id
="anb-download"><a href
="http://www.archlinux.org/download/" title
="Get Arch Linux">Download
</a
></li
>
28 </div
><!-- #archnavbar -->
32 <form method
="get" action
="<?= htmlspecialchars($_SERVER["REQUEST_URI
"], ENT_QUOTES) ?>">
35 <select name
="setlang" id
="id_setlang">
37 reset($SUPPORTED_LANGS);
38 foreach ($SUPPORTED_LANGS as $lang => $lang_name) {
40 print '<option value="' . strtolower($lang) . '"' .
41 ($lang == $LANG ?
' selected="selected"' : '') .
42 '>' . strtolower($lang) . "</option>\n";
46 <input type
="submit" value
="Go" />
51 <div id
="archdev-navbar">
53 <li
><a href
="<?= get_uri('/'); ?>">AUR
<?
= __("Home"); ?
></a
></li
>
54 <li
><a href
="<?= get_uri('/packages/'); ?>"><?
= __("Packages"); ?
></a
></li
>
55 <?php
if (isset($_COOKIE['AURSID'])): ?
>
56 <li
><a href
="<?= get_uri('/packages/'); ?>?SeB=m&K=<?= username_from_sid($_COOKIE["AURSID
"]); ?>"><?
= __("My Packages"); ?
></a
></li
>
57 <li
><a href
="<?= get_uri('/submit/'); ?>"><?
= __("Submit"); ?
></a
></li
>
58 <?php
if (check_user_privileges()): ?
>
59 <li
><a href
="<?= get_uri('/accounts/') ; ?>"><?
= __("Accounts"); ?
></a
></li
>
61 <li
><a href
="<?= get_user_uri(username_from_sid($_COOKIE['AURSID'])) . 'edit/'; ?>"><?
= __(" My Account"); ?
></a
></li
>
62 <?php
if (check_user_privileges()): ?
><li
><a href
="<?= get_uri('/tu/'); ?>"><?
= __("Trusted User"); ?
></a
></li
><?php
endif; ?
>
63 <li
><a href
="<?= get_uri('/logout/'); ?>"><?
= __("Logout"); ?
></a
></li
>
65 <li
><a href
="<?= get_uri('/register/'); ?>"><?
= __("Register"); ?
></a
></li
>
66 <li
><a href
="<?= get_uri('/login/'); ?>"><?
= __("Login"); ?
></a
></li
>
69 </div
><!-- #archdev-navbar -->
70 <!-- Start of main content
-->