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 <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-07-21 14:41:54 +02:00
parent e610360c95
commit c751921aff
6 changed files with 8 additions and 9 deletions

View file

@ -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>

View file

@ -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 ";

View file

@ -1,6 +1,6 @@
<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>

View file

@ -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>

View file

@ -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>

View file

@ -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>