summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergej Pupykin <sergej.pupykin@lx-ltd.ru>2009-08-25 14:04:15 +0200
committerLoui Chang <louipc.ist@gmail.com>2009-08-26 06:14:32 +0200
commit3fd08d5715f9ce53d3a7bdd2ef8565e2ec3ae22f (patch)
tree429892107a04a5c546772b7473798a4de7552a28
parent448f7ef120475226ce419e88455391a8bfcdce18 (diff)
downloadaur-3fd08d5715f9ce53d3a7bdd2ef8565e2ec3ae22f.tar.gz
aur-3fd08d5715f9ce53d3a7bdd2ef8565e2ec3ae22f.tar.xz
remove community
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-rw-r--r--web/README10
-rw-r--r--web/lang/ca.po2
-rw-r--r--web/lang/de.po2
-rw-r--r--web/lang/es.po2
-rw-r--r--web/lang/fr.po2
-rw-r--r--web/lang/it.po2
-rw-r--r--web/lang/pl.po2
-rw-r--r--web/lang/pt.po2
-rw-r--r--web/lang/ru.po2
-rw-r--r--web/lang/tr.po2
-rw-r--r--web/lang/zh_CN.po2
-rw-r--r--web/lib/stats.inc8
-rw-r--r--web/template/pkg_details.php6
-rw-r--r--web/template/stats/general_stats_table.php6
-rw-r--r--web/template/stats/user_table.php15
15 files changed, 5 insertions, 60 deletions
diff --git a/web/README b/web/README
index d08dae7b..d708e99f 100644
--- a/web/README
+++ b/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.
diff --git a/web/lang/ca.po b/web/lang/ca.po
index efc99f6c..72118f65 100644
--- a/web/lang/ca.po
+++ b/web/lang/ca.po
@@ -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.";
diff --git a/web/lang/de.po b/web/lang/de.po
index b23b43e7..a9b6a2f4 100644
--- a/web/lang/de.po
+++ b/web/lang/de.po
@@ -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.";
diff --git a/web/lang/es.po b/web/lang/es.po
index f623c272..ee14310f 100644
--- a/web/lang/es.po
+++ b/web/lang/es.po
@@ -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.";
diff --git a/web/lang/fr.po b/web/lang/fr.po
index d390984a..1637913d 100644
--- a/web/lang/fr.po
+++ b/web/lang/fr.po
@@ -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.";
diff --git a/web/lang/it.po b/web/lang/it.po
index e4ecc219..4bd07276 100644
--- a/web/lang/it.po
+++ b/web/lang/it.po
@@ -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!";
diff --git a/web/lang/pl.po b/web/lang/pl.po
index 9457184a..967ab367 100644
--- a/web/lang/pl.po
+++ b/web/lang/pl.po
@@ -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!";
diff --git a/web/lang/pt.po b/web/lang/pt.po
index 9133a792..117556c3 100644
--- a/web/lang/pt.po
+++ b/web/lang/pt.po
@@ -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!";
diff --git a/web/lang/ru.po b/web/lang/ru.po
index d1d3cf40..2382b356 100644
--- a/web/lang/ru.po
+++ b/web/lang/ru.po
@@ -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."] = "Действие вашей учетной записи приостановлено.";
diff --git a/web/lang/tr.po b/web/lang/tr.po
index ed6f5ebe..5d418405 100644
--- a/web/lang/tr.po
+++ b/web/lang/tr.po
@@ -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";
diff --git a/web/lang/zh_CN.po b/web/lang/zh_CN.po
index 2140bb6c..19cc4f68 100644
--- a/web/lang/zh_CN.po
+++ b/web/lang/zh_CN.po
@@ -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"] = "注册用户";
diff --git a/web/lib/stats.inc b/web/lib/stats.inc
index 706027c9..85c7e28e 100644
--- a/web/lib/stats.inc
+++ b/web/lib/stats.inc
@@ -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');
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index e87fc013..3677d973 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -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";
}
}
}
diff --git a/web/template/stats/general_stats_table.php b/web/template/stats/general_stats_table.php
index 254b6b64..01f1fec0 100644
--- a/web/template/stats/general_stats_table.php
+++ b/web/template/stats/general_stats_table.php
@@ -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>
diff --git a/web/template/stats/user_table.php b/web/template/stats/user_table.php
index e6841d71..05158689 100644
--- a/web/template/stats/user_table.php
+++ b/web/template/stats/user_table.php
@@ -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&amp;L=3&amp;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&amp;outdated&amp;K=<?php echo $username; ?>">