mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
many changes in prep for launch
new doc page added changed AUR to community lower-cased unsupported fixed half of the bug with changing categories: categories now can't be changed for packages in community however they can still be changed out from under maintainers by joe users for unsupported packages debugged problem with package details not found when unsupported uploads were with Category 0 (changed default to 19)
This commit is contained in:
parent
7fccb8b634
commit
71b5b9e6b7
7 changed files with 196 additions and 21 deletions
|
@ -373,10 +373,10 @@ function html_header() {
|
|||
# XXX CSS help - a:link, a:visited, etc are defined, but I don't want to
|
||||
# use the defaults. Is this the way to override them?
|
||||
#
|
||||
print "<a href='".$_SERVER["PHP_SELF"]."?setlang=en'><span class='sideBarSmallHeader'>English</span></a> ";
|
||||
print "<a href='".$_SERVER["PHP_SELF"]."?setlang=es'><span class='sideBarSmallHeader'>Español</span></a> ";
|
||||
print "<a href='".$_SERVER["PHP_SELF"]."?setlang=de'><span class='sideBarSmallHeader'>Deutsch</span></a> ";
|
||||
print "<a href='".$_SERVER["PHP_SELF"]."?setlang=fr'><span class='sideBarSmallHeader'>Français</span></a>";
|
||||
#print "<a href='".$_SERVER["PHP_SELF"]."?setlang=en'><span class='sideBarSmallHeader'>English</span></a> ";
|
||||
#print "<a href='".$_SERVER["PHP_SELF"]."?setlang=es'><span class='sideBarSmallHeader'>Español</span></a> ";
|
||||
#print "<a href='".$_SERVER["PHP_SELF"]."?setlang=de'><span class='sideBarSmallHeader'>Deutsch</span></a> ";
|
||||
#print "<a href='".$_SERVER["PHP_SELF"]."?setlang=fr'><span class='sideBarSmallHeader'>Français</span></a>";
|
||||
print " </td>\n";
|
||||
print " </tr>\n";
|
||||
print " </table>\n";
|
||||
|
|
|
@ -296,11 +296,16 @@ function package_details($id=0) {
|
|||
print "</tr>\n";
|
||||
print "<tr>\n";
|
||||
print " <td colspan='2'><span class='f3'>";
|
||||
$edit_cat = "<a href='/pkgedit.php?change_Category=1&ID=";
|
||||
$edit_cat .= intval($_REQUEST["ID"])."'>".$row["Category"]."</a>";
|
||||
$edit_cat .= " <span class='fix'>(";
|
||||
$edit_cat .= __("change category").")</span>";
|
||||
if ($row["Location"] == "unsupported") {
|
||||
$edit_cat = "<a href='/pkgedit.php?change_Category=1&ID=";
|
||||
$edit_cat .= intval($_REQUEST["ID"])."'>".$row["Category"]."</a>";
|
||||
$edit_cat .= " <span class='fix'>(";
|
||||
$edit_cat .= __("change category").")</span>";
|
||||
} else {
|
||||
$edit_cat = $row["Category"];
|
||||
}
|
||||
print $row["Location"]." :: ".$edit_cat."</span></td>";
|
||||
|
||||
print "</tr>\n";
|
||||
print "<tr>\n";
|
||||
print " <td colspan='2'><span class='f3'>".__("Maintainer").": ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue