mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
remove community
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
448f7ef120
commit
3fd08d5715
15 changed files with 5 additions and 60 deletions
10
web/README
10
web/README
|
@ -147,11 +147,11 @@ Scripts:
|
|||
|
||||
- html/packages.php
|
||||
PHP script to search the package database. It should support
|
||||
searching by location ("unsupported", "community", "extra"), name,
|
||||
category, maintainer, popularity, etc. It should resemble the
|
||||
packages.php script on archlinux.org. A checkbox should be
|
||||
included next to each package to allow users to flag a package
|
||||
out of date, adopt it, and vote for it (and reverse operations).
|
||||
searching by name, category, maintainer, popularity, etc. It
|
||||
should resemble the packages.php script on archlinux.org. A
|
||||
checkbox should be included next to each package to allow
|
||||
users to flag a package out of date, adopt it, and vote for
|
||||
it (and reverse operations).
|
||||
|
||||
- html/pkgsubmit.php
|
||||
This is the PHP script that allows users to upload a new package.
|
||||
|
|
|
@ -163,8 +163,6 @@ $_t["Packages in unsupported and flagged as safe"] = "Paquets a \"unsupported\"
|
|||
|
||||
$_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Encara que no pugam respondre als seus continguts, subministrem una %hllista de repositoris d'usuaris%h per a la vostra conveniència.";
|
||||
|
||||
$_t["Packages in [community]"] = "Paquets a [community]";
|
||||
|
||||
$_t["Recent Updates"] = "Actualitzacions recents";
|
||||
|
||||
$_t["Your account has been suspended."] = "El vostre compte s'ha suspès.";
|
||||
|
|
|
@ -166,8 +166,6 @@ $_t["Packages in unsupported and flagged as safe"] = "Pakete in \"unsupported\",
|
|||
|
||||
$_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Obwohl wir für deren Inhalte nicht garantieren können, stellen wir eine %hListe der Benutzer-Repositorien%h bereit.";
|
||||
|
||||
$_t["Packages in [community]"] = "Pakete in [community]";
|
||||
|
||||
$_t["Recent Updates"] = "Letzte Aktualisierungen";
|
||||
|
||||
$_t["Your account has been suspended."] = "Dein Konto wurde gesperrt.";
|
||||
|
|
|
@ -165,8 +165,6 @@ $_t["Packages in unsupported and flagged as safe"] = "Paquetes en [unsupported]
|
|||
|
||||
$_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Aunque no podemos responder por sus contenidos, suministramos para su comodidad una %hlista de repositorios de usuarios%h.";
|
||||
|
||||
$_t["Packages in [community]"] = "Paquetes en [community]";
|
||||
|
||||
$_t["Recent Updates"] = "Actualizaciones recientes";
|
||||
|
||||
$_t["Your account has been suspended."] = "Su cuenta ha sido suspendida.";
|
||||
|
|
|
@ -175,8 +175,6 @@ $_t["Packages in unsupported and flagged as safe"] = "Paquets dans non supporté
|
|||
|
||||
$_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Bien que nous ne puissions garantir leur contenu, nous fournissons une %hliste de dépôts d'utilisateurs%h à votre convenance.";
|
||||
|
||||
$_t["Packages in [community]"] = "Paquets dans [community]";
|
||||
|
||||
$_t["Recent Updates"] = "Mises à jour récentes";
|
||||
|
||||
$_t["Your account has been suspended."] = "Votre compte a été suspendu.";
|
||||
|
|
|
@ -223,8 +223,6 @@ $_t["Packages in unsupported"] = "Pacchetti in unsupported";
|
|||
|
||||
$_t["Packages in unsupported and flagged as safe"] = "Pacchetti in unsupported considerati sicuri";
|
||||
|
||||
$_t["Packages in [community]"] = "Pacchetti in [community]";
|
||||
|
||||
$_t["Remember to vote for your favourite packages! The most popular packages are provided as binary packages in [community]."] = "Ricorda di votare i tuoi pacchetti preferiti! I pacchetti più votati saranno disponibili in [community] come precompilati.";
|
||||
|
||||
$_t["Remember to vote for your favourite packages!"] = "Ricorda di votare i tuoi pacchetti preferiti!";
|
||||
|
|
|
@ -206,8 +206,6 @@ $_t["Trusted Users"] = "Zaufanych Użytkowników";
|
|||
|
||||
$_t["Packages added or updated in the past 7 days"] = "Pakietów dodanych lub zmienionych w ostatnich 7 dniach";
|
||||
|
||||
$_t["Packages in [community]"] = "Pakietów w [community]";
|
||||
|
||||
$_t["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information."] = "Witamy w AUR! Aby uzyskać więcej informacji, przeczytaj %hInstrukcję Użytkownika%h oraz %hInstrukcję Zaufanego Użytkownika%h.";
|
||||
|
||||
$_t["Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Pliki PKGBUILD %hmuszą%h być zgodne ze %hStandardami Pakietów Archa%h, inaczej będą usuwane!";
|
||||
|
|
|
@ -211,8 +211,6 @@ $_t["Packages in unsupported"] = "Pacotes no repositório unsupported";
|
|||
|
||||
$_t["Packages in unsupported and flagged as safe"] = "Pacotes no repositório unsupported e marcados como seguro";
|
||||
|
||||
$_t["Packages in [community]"] = "Pacotes no repositório [community]";
|
||||
|
||||
$_t["Remember to vote for your favourite packages! The most popular packages are provided as binary packages in [community]."] = "Lembre-se de votar nos seus pacotes favoritos! Os pacotes mais populares serão disponibilizados como pacotes binários no repositório [community].";
|
||||
|
||||
$_t["Remember to vote for your favourite packages!"] = "Lembre-se de votar nos seus pacotes favoritos!";
|
||||
|
|
|
@ -175,8 +175,6 @@ $_t["Packages in unsupported and flagged as safe"] = "Безопасных па
|
|||
|
||||
$_t["Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience."] = "Хотя мы не можем поручиться за содержимое, мы предоставляем %hсписок пользовательских репозитариев%h для удобства.";
|
||||
|
||||
$_t["Packages in [community]"] = "Пакетов в [community]";
|
||||
|
||||
$_t["Recent Updates"] = "Последние обновления";
|
||||
|
||||
$_t["Your account has been suspended."] = "Действие вашей учетной записи приостановлено.";
|
||||
|
|
|
@ -215,8 +215,6 @@ $_t["Packages in unsupported"] = "Desteklenmeyen paketler";
|
|||
|
||||
$_t["Packages in unsupported and flagged as safe"] = "Desteklenmeyen ve güvenli olarak olarak işaretlenen paketler";
|
||||
|
||||
$_t["Packages in [community]"] = "[community] üzerindeki paketler";
|
||||
|
||||
$_t["Remember to vote for your favourite packages!"] = "Beğendiğiniz paketleri oylamayı unutmayın!";
|
||||
|
||||
$_t["Packages added or updated in the past 7 days"] = "Son 7 günde eklenen ya da güncellenen paketler";
|
||||
|
|
|
@ -471,8 +471,6 @@ $_t["Out of Date"] = "过期包";
|
|||
|
||||
$_t["Statistics"] = "状态";
|
||||
|
||||
$_t["Packages in [community]"] = "位于 [community] 的包";
|
||||
|
||||
$_t["Packages added or updated in the past 7 days"] = "过去7天内更新或添加的包";
|
||||
|
||||
$_t["Registered Users"] = "注册用户";
|
||||
|
|
|
@ -67,11 +67,6 @@ function user_table($user, $dbh)
|
|||
# If the user is a TU calculate the number of the packages
|
||||
$atype = account_from_sid($_COOKIE["AURSID"]);
|
||||
|
||||
if (($atype == 'Trusted User') || ($atype == 'Developer')) {
|
||||
$maintainer_community_count = db_cache_value(sprintf($base_q, 'community'), $dbh,
|
||||
$apc_prefix . 'user_community_count:' . $escuser);
|
||||
}
|
||||
|
||||
include('stats/user_table.php');
|
||||
}
|
||||
|
||||
|
@ -82,9 +77,6 @@ function general_stats_table($dbh)
|
|||
$q = "SELECT count(*) FROM Packages,PackageLocations WHERE Packages.LocationID = PackageLocations.ID AND PackageLocations.Location = 'unsupported'";
|
||||
$unsupported_count = db_cache_value($q, $dbh, $apc_prefix . 'unsupported_count');
|
||||
|
||||
$q = "SELECT count(*) FROM Packages,PackageLocations WHERE Packages.LocationID = PackageLocations.ID AND PackageLocations.Location = 'community'";
|
||||
$community_count = db_cache_value($q, $dbh, $apc_prefix . 'community_count');
|
||||
|
||||
$q = "SELECT count(*) from Users";
|
||||
$user_count = db_cache_value($q, $dbh, $apc_prefix . 'user_count');
|
||||
|
||||
|
|
|
@ -68,9 +68,6 @@ $submitted_time = ($row["SubmittedTS"] == 0) ? "(unknown)" : gmdate("r", intval(
|
|||
$urlpath = URL_DIR . $row['Name'] . '/' . $row['Name'];
|
||||
print "<a href='$urlpath.tar.gz'>".__("Tarball")."</a> :: <a href='$urlpath'>".__("Files")."</a> :: <a href='$urlpath/PKGBUILD'>PKGBUILD</a></span>";
|
||||
}
|
||||
elseif ($row['LocationID'] == 3) {
|
||||
echo "<a href='http://repos.archlinux.org/viewvc.cgi/community/" . $row["Category"] . "/" . $row["Name"] . "/?root=community&pathrev=CURRENT'>CVS</a>";
|
||||
}
|
||||
|
||||
if ($row["OutOfDate"] == 1) {
|
||||
echo "<br /><span class='f6'>".__("This package has been flagged out of date.")."</span>";
|
||||
|
@ -165,9 +162,6 @@ $submitted_time = ($row["SubmittedTS"] == 0) ? "(unknown)" : gmdate("r", intval(
|
|||
if ($row["LocationID"] == 2) {
|
||||
echo "<a href='".dirname($row['URLPath'])."/".$row['Name'];
|
||||
echo "/$src'>$src</a><br />\n";
|
||||
} elseif ($row["LocationID"] == 3) {
|
||||
echo "<a href='http://repos.archlinux.org/viewvc.cgi/community/" . $row["Category"] . "/" . $row["Name"] . "/?root=community&pathrev=CURRENT'>";
|
||||
echo "$src</a><br />\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,12 +12,6 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class='boxSoft'>
|
||||
<span class='f4'><?php print __("Packages in [community]"); ?></span>
|
||||
</td>
|
||||
<td class='boxSoft'><span class='f4'><?php print $community_count; ?></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='boxSoft'>
|
||||
<span class='f4'><?php print __("Packages added or updated in the past 7 days"); ?></span>
|
||||
</td>
|
||||
<td class='boxSoft'><span class='f4'><?php print $update_count; ?></span></td>
|
||||
|
|
|
@ -17,21 +17,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
|
||||
<?php if (($atype == 'Trusted User') || ($atype == 'Developer')) : ?>
|
||||
|
||||
<tr>
|
||||
<td class='boxSoft'>
|
||||
<span class='f4'><a href="packages.php?SeB=m&L=3&K=<?php echo $username; ?>">
|
||||
<?php print __("Packages in [community]"); ?></a></span>
|
||||
</td>
|
||||
<td class='boxSoft'>
|
||||
<span class='f4'>
|
||||
<?php echo $maintainer_community_count; ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<tr>
|
||||
<td class='boxSoft'>
|
||||
<span class='f4'><a href="packages.php?SeB=m&outdated&K=<?php echo $username; ?>">
|
||||
|
|
Loading…
Add table
Reference in a new issue