mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
applied duds.diff from simo to close bug #2584
This commit is contained in:
parent
544a6f58f7
commit
dd51db3cc9
2 changed files with 10 additions and 0 deletions
|
@ -67,6 +67,11 @@ if ($_COOKIE["AURSID"]) {
|
||||||
# can only add/change packages in Unsupported.
|
# can only add/change packages in Unsupported.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#Before processing, make sure we even have a file
|
||||||
|
#
|
||||||
|
if ($_FILES['pfile']['size'] == 0){
|
||||||
|
$error = __("Error - No file uploaded");
|
||||||
|
}
|
||||||
|
|
||||||
if (!$error) {
|
if (!$error) {
|
||||||
# no errors checking upload permissions, go ahead and try to process
|
# no errors checking upload permissions, go ahead and try to process
|
||||||
|
|
|
@ -201,4 +201,9 @@ $_t["en"]["Package upload successful."] = "Package upload successful.";
|
||||||
# $_t["fr"]["Package upload successful"] = "--> Traduction française ici. <--";
|
# $_t["fr"]["Package upload successful"] = "--> Traduction française ici. <--";
|
||||||
# $_t["de"]["Package upload successful"] = "--> Deutsche Übersetzung hier. <--";
|
# $_t["de"]["Package upload successful"] = "--> Deutsche Übersetzung hier. <--";
|
||||||
|
|
||||||
|
$_t["en"]["Error - No file uploaded"] = "Error - No file uploaded";
|
||||||
|
# $_t["es"]["Package upload successful"] = "--> Traducción española aquí. <--";
|
||||||
|
# $_t["fr"]["Package upload successful"] = "--> Traduction française ici. <--";
|
||||||
|
# $_t["de"]["Package upload successful"] = "--> Deutsche Übersetzung hier. <--";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue