From c751921affdcc8e67df2c04cb00de2d0c58e1927 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 21 Jul 2015 14:41:54 +0200 Subject: Do not use the term "unsupported" for AUR packages We no longer use the term [unsupported] to refer to the "repository" of AUR packages. Update texts and variable names accordingly. Fixes FS#45381. Signed-off-by: Lukas Fleischer --- web/html/home.php | 2 +- web/lib/stats.inc.php | 5 ++--- web/template/cgit/footer.html | 2 +- web/template/footer.php | 2 +- web/template/stats/general_stats_table.php | 2 +- web/template/stats/user_table.php | 4 ++-- 6 files changed, 8 insertions(+), 9 deletions(-) diff --git a/web/html/home.php b/web/html/home.php index 3252876..23f37fe 100644 --- a/web/html/home.php +++ b/web/html/home.php @@ -39,7 +39,7 @@ html_header( __("Home") );

: - +

diff --git a/web/lib/stats.inc.php b/web/lib/stats.inc.php index 203be0a..5a24591 100644 --- a/web/lib/stats.inc.php +++ b/web/lib/stats.inc.php @@ -39,8 +39,7 @@ function user_table($userid) { $base_q.= "WHERE MaintainerUID = " . $userid . " "; $base_q.= "AND PackagerUID IS NOT NULL"; - $maintainer_unsupported_count = db_cache_value($base_q, - 'user_unsupported_count:' . $userid); + $user_pkg_count = db_cache_value($base_q, 'user_pkg_count:' . $userid); $q = "SELECT COUNT(*) FROM PackageBases "; $q.= "WHERE OutOfDateTS IS NOT NULL "; @@ -60,7 +59,7 @@ function user_table($userid) { function general_stats_table() { # AUR statistics $q = "SELECT COUNT(*) FROM PackageBases WHERE PackagerUID IS NOT NULL"; - $unsupported_count = db_cache_value($q, 'unsupported_count'); + $pkg_count = db_cache_value($q, 'pkg_count'); $q = "SELECT COUNT(*) FROM PackageBases "; $q.= "WHERE MaintainerUID IS NULL "; diff --git a/web/template/cgit/footer.html b/web/template/cgit/footer.html index 80481d9..36e0f1b 100644 --- a/web/template/cgit/footer.html +++ b/web/template/cgit/footer.html @@ -1,6 +1,6 @@ diff --git a/web/template/footer.php b/web/template/footer.php index 068cc06..1b3c936 100644 --- a/web/template/footer.php +++ b/web/template/footer.php @@ -6,7 +6,7 @@

aurweb

Copyright © 2004- aurweb Development Team.

-

+

diff --git a/web/template/stats/general_stats_table.php b/web/template/stats/general_stats_table.php index 5b59832..9dcc3aa 100644 --- a/web/template/stats/general_stats_table.php +++ b/web/template/stats/general_stats_table.php @@ -3,7 +3,7 @@ - + diff --git a/web/template/stats/user_table.php b/web/template/stats/user_table.php index 284d5b9..e7b0083 100644 --- a/web/template/stats/user_table.php +++ b/web/template/stats/user_table.php @@ -8,9 +8,9 @@ $username = username_from_sid($_COOKIE["AURSID"]); - +
- +
-- cgit v1.2.3-54-g00ecf