From 398fdb67ead0dd0fe82a9983f6aa0c99f322d806 Mon Sep 17 00:00:00 2001 From: Marcel Korpel Date: Sun, 6 Jan 2013 13:34:06 +0000 Subject: We live in 2013 now Signed-off-by: Lukas Fleischer --- web/template/footer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') 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 @@

AUR

-

Copyright © 2004-2012 AUR Development Team.

+

Copyright © 2004- AUR Development Team.

-- cgit v1.2.3-70-g09d2 From fcb30db59f301468fdd696964c07d27a3d09def8 Mon Sep 17 00:00:00 2001 From: Marcel Korpel Date: Wed, 9 Jan 2013 17:48:57 +0000 Subject: Remove double htmlspecialchars This is already done in header.php; doing this double will result in & in title element Signed-off-by: Lukas Fleischer --- web/lib/aur.inc.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'web') diff --git a/web/lib/aur.inc.php b/web/lib/aur.inc.php index 018d5c8..387d81d 100644 --- a/web/lib/aur.inc.php +++ b/web/lib/aur.inc.php @@ -303,8 +303,6 @@ function html_header($title="") { global $LANG; global $SUPPORTED_LANGS; - $title = htmlspecialchars($title, ENT_QUOTES); - include('header.php'); return; } -- cgit v1.2.3-70-g09d2 From d23a8706716415ecd5a51e93c8cb2b0d69056f03 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Mon, 14 Jan 2013 21:24:50 +0000 Subject: user_table.php: Remove unused link parameter Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/template/stats/user_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') 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"]); -- cgit v1.2.3-70-g09d2 From 07edcdab17f78ef39c3b975ea3cdbac38de8a800 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Mon, 14 Jan 2013 21:44:12 +0000 Subject: stats.inc.php: Remove unnecessary account type lookup Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/lib/stats.inc.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'web') 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'); } -- cgit v1.2.3-70-g09d2
- +