mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
e610360c95
commit
c751921aff
6 changed files with 8 additions and 9 deletions
|
@ -39,7 +39,7 @@ html_header( __("Home") );
|
||||||
</p>
|
</p>
|
||||||
<p class="important">
|
<p class="important">
|
||||||
<?= __('DISCLAIMER') ?>:
|
<?= __('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>
|
||||||
<p class="readmore"><a href="https://wiki.archlinux.org/index.php/AUR"><?= __('Learn more...') ?></a></p>
|
<p class="readmore"><a href="https://wiki.archlinux.org/index.php/AUR"><?= __('Learn more...') ?></a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -39,8 +39,7 @@ function user_table($userid) {
|
||||||
$base_q.= "WHERE MaintainerUID = " . $userid . " ";
|
$base_q.= "WHERE MaintainerUID = " . $userid . " ";
|
||||||
$base_q.= "AND PackagerUID IS NOT NULL";
|
$base_q.= "AND PackagerUID IS NOT NULL";
|
||||||
|
|
||||||
$maintainer_unsupported_count = db_cache_value($base_q,
|
$user_pkg_count = db_cache_value($base_q, 'user_pkg_count:' . $userid);
|
||||||
'user_unsupported_count:' . $userid);
|
|
||||||
|
|
||||||
$q = "SELECT COUNT(*) FROM PackageBases ";
|
$q = "SELECT COUNT(*) FROM PackageBases ";
|
||||||
$q.= "WHERE OutOfDateTS IS NOT NULL ";
|
$q.= "WHERE OutOfDateTS IS NOT NULL ";
|
||||||
|
@ -60,7 +59,7 @@ function user_table($userid) {
|
||||||
function general_stats_table() {
|
function general_stats_table() {
|
||||||
# AUR statistics
|
# AUR statistics
|
||||||
$q = "SELECT COUNT(*) FROM PackageBases WHERE PackagerUID IS NOT NULL";
|
$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 = "SELECT COUNT(*) FROM PackageBases ";
|
||||||
$q.= "WHERE MaintainerUID IS NULL ";
|
$q.= "WHERE MaintainerUID IS NULL ";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<p>
|
<p>
|
||||||
Copyright © 2004-2014 aurweb Development Team –
|
Copyright © 2004-2014 aurweb Development Team –
|
||||||
<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>
|
</p>
|
||||||
</div>
|
</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>
|
<p>aurweb <a href="https://projects.archlinux.org/aurweb.git/log/?h=<?= htmlspecialchars($ver, ENT_QUOTES) ?>"><?= htmlspecialchars($ver) ?></a></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<p>Copyright © 2004-<?= date("Y") ?> aurweb Development Team.</p>
|
<p>Copyright © 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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="stat-desc"><?= __("Packages"); ?></td>
|
<td class="stat-desc"><?= __("Packages"); ?></td>
|
||||||
<td><?= $unsupported_count; ?></td>
|
<td><?= $pkg_count; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="stat-desc"><?= __("Orphan Packages"); ?></td>
|
<td class="stat-desc"><?= __("Orphan Packages"); ?></td>
|
||||||
|
|
|
@ -8,9 +8,9 @@ $username = username_from_sid($_COOKIE["AURSID"]);
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="<?= get_uri('/packages/'); ?>?SeB=m&K=<?= $username; ?>">
|
<a href="<?= get_uri('/packages/'); ?>?SeB=m&K=<?= $username; ?>">
|
||||||
<?= __("Packages in unsupported"); ?></a>
|
<?= __("Packages"); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<td><?= $maintainer_unsupported_count; ?></td>
|
<td><?= $user_pkg_count; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Add table
Reference in a new issue