diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2013-01-19 12:21:26 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2013-01-19 12:21:26 +0100 |
commit | 49e61845085aff6076a3dde056d08a278f447e6d (patch) | |
tree | bd047d36321dbcff4b64e80d6ac7f2d7d4f31908 /web | |
parent | 8e1051932eb86ef87f7b64efc86f50e633201b56 (diff) | |
parent | 07edcdab17f78ef39c3b975ea3cdbac38de8a800 (diff) |
Merge branch 'maint'
Diffstat (limited to 'web')
-rw-r--r-- | web/lib/aur.inc.php | 2 | ||||
-rw-r--r-- | web/lib/stats.inc.php | 3 | ||||
-rw-r--r-- | web/template/footer.php | 2 | ||||
-rw-r--r-- | web/template/stats/user_table.php | 2 |
4 files changed, 2 insertions, 7 deletions
diff --git a/web/lib/aur.inc.php b/web/lib/aur.inc.php index e392102..9317ec9 100644 --- a/web/lib/aur.inc.php +++ b/web/lib/aur.inc.php @@ -303,8 +303,6 @@ function html_header($title="", $details=array()) { global $LANG; global $SUPPORTED_LANGS; - $title = htmlspecialchars($title, ENT_QUOTES); - include('header.php'); return; } diff --git a/web/lib/stats.inc.php b/web/lib/stats.inc.php index 60973e9..cfae794 100644 --- a/web/lib/stats.inc.php +++ b/web/lib/stats.inc.php @@ -43,9 +43,6 @@ function user_table($userid, $dbh) { $flagged_outdated = db_cache_value($q, $dbh, 'user_flagged_outdated:' . $userid); - # If the user is a TU calculate the number of the packages - $atype = account_from_sid($_COOKIE["AURSID"]); - include('stats/user_table.php'); } diff --git a/web/template/footer.php b/web/template/footer.php index 857211e..806d3be 100644 --- a/web/template/footer.php +++ b/web/template/footer.php @@ -5,7 +5,7 @@ <?php if ($ver): ?> <p>AUR <?= htmlspecialchars($ver) ?></p> <?php endif; ?> - <p>Copyright © 2004-2012 AUR Development Team.</p> + <p>Copyright © 2004-<?= date("Y") ?> AUR Development Team.</p> <p><?= __('Unsupported packages are user produced content. Any use of the provided files is at your own risk.') ?></p> </div> </div> diff --git a/web/template/stats/user_table.php b/web/template/stats/user_table.php index ba6751f..284d5b9 100644 --- a/web/template/stats/user_table.php +++ b/web/template/stats/user_table.php @@ -7,7 +7,7 @@ $username = username_from_sid($_COOKIE["AURSID"]); <table> <tr> <td> - <a href="<?= get_uri('/packages/'); ?>?SeB=m&L=2&K=<?= $username; ?>"> + <a href="<?= get_uri('/packages/'); ?>?SeB=m&K=<?= $username; ?>"> <?= __("Packages in unsupported"); ?></a> </td> <td><?= $maintainer_unsupported_count; ?></td> |