Commit c751921a authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

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's avatarLukas Fleischer <lfleischer@archlinux.org>
parent e610360c
......@@ -39,7 +39,7 @@ html_header( __("Home") );
</p>
<p class="important">
<?= __('DISCLAIMER') ?>:
<?= __('Unsupported packages are user produced content. Any use of the provided files is at your own risk.'); ?>
<?= __('AUR packages are user produced content. Any use of the provided files is at your own risk.'); ?>
</p>
<p class="readmore"><a href="https://wiki.archlinux.org/index.php/AUR"><?= __('Learn more...') ?></a></p>
</div>
......
......@@ -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 ";
......
<div id="footer">
<p>
Copyright &copy; 2004-2014 aurweb Development Team &ndash;
<strong>Unsupported packages are user produced content. Any use of the provided files is at your own risk.</strong>
<strong>AUR packages are user produced content. Any use of the provided files is at your own risk.</strong>
</p>
</div>
......@@ -6,7 +6,7 @@
<p>aurweb <a href="https://projects.archlinux.org/aurweb.git/log/?h=<?= htmlspecialchars($ver, ENT_QUOTES) ?>"><?= htmlspecialchars($ver) ?></a></p>
<?php endif; ?>
<p>Copyright &copy; 2004-<?= date("Y") ?> aurweb Development Team.</p>
<p><?= __('Unsupported packages are user produced content. Any use of the provided files is at your own risk.') ?></p>
<p><?= __('AUR packages are user produced content. Any use of the provided files is at your own risk.') ?></p>
</div>
</div>
</body>
......
......@@ -3,7 +3,7 @@
<table>
<tr>
<td class="stat-desc"><?= __("Packages"); ?></td>
<td><?= $unsupported_count; ?></td>
<td><?= $pkg_count; ?></td>
</tr>
<tr>
<td class="stat-desc"><?= __("Orphan Packages"); ?></td>
......
......@@ -8,9 +8,9 @@ $username = username_from_sid($_COOKIE["AURSID"]);
<tr>
<td>
<a href="<?= get_uri('/packages/'); ?>?SeB=m&amp;K=<?= $username; ?>">
<?= __("Packages in unsupported"); ?></a>
<?= __("Packages"); ?></a>
</td>
<td><?= $maintainer_unsupported_count; ?></td>
<td><?= $user_pkg_count; ?></td>
</tr>
<tr>
<td>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment