This commit has been accessed 610 times via Git panel.
commit 439c3878901839454ad2490052a0d276c99c2b9e
tree 5ae58a24136be5271a0b49aa0b411dac69f35246
parent b92c6e892ebe3df0c465762512dfcc1fa19faef1
author Engels Antonio <engels@majcms.org> 1343355308 +0800
committer Engels Antonio <engels@majcms.org> 1343355308 +0800
Reduce alert() notifications
diff --git a/filedrop.php b/filedrop.php
index 57f092a..e7f64ed 100644
--- a/filedrop.php
+++ b/filedrop.php
@@ -25,7 +25,7 @@ if (isset($_FILES['filedrop_obj']) and !empty($_FILES['filedrop_obj'])) {
$res = copy($_FILES['filedrop_obj']['tmp_name'], "attach/i/$fileUsr/$filedrop_box/$filedrop_nom");
unlink($_FILES['filedrop_obj']['tmp_name']);
- echo "<script>alert(\"{$_FILES['filedrop_obj']['name']} saved as $filedrop_nom\");</script>";
+ //echo "<script>alert(\"{$_FILES['filedrop_obj']['name']} saved as $filedrop_nom\");</script>";
}
else {
unlink($_FILES['filedrop_obj']['tmp_name']);
@@ -33,7 +33,7 @@ if (isset($_FILES['filedrop_obj']) and !empty($_FILES['filedrop_obj'])) {
}
else {
unlink($_FILES['filedrop_obj']['tmp_name']);
- echo "<script>alert(\"Failed to save {$_FILES['filedrop_obj']['name']} because it is too big.\");</script>";
+ //echo "<script>alert(\"Failed to save {$_FILES['filedrop_obj']['name']} because it is too big.\");</script>";
}
}
else {
diff --git a/rcpt.php b/rcpt.php
index 474495c..423f5e0 100644
--- a/rcpt.php
+++ b/rcpt.php
@@ -22,6 +22,6 @@ $rcpt_subj = "Read: $rcpt_subj";
mail($rcpt_mail, $rcpt_subj, $rcpt_body, $rcpt_head, "-f $rcpt_user");
-echo "<script>alert('Read receipt sent to $rcpt_mail');</script>";
+//echo "<script>alert('Read receipt sent to $rcpt_mail');</script>";
?>
tree 5ae58a24136be5271a0b49aa0b411dac69f35246
parent b92c6e892ebe3df0c465762512dfcc1fa19faef1
author Engels Antonio <engels@majcms.org> 1343355308 +0800
committer Engels Antonio <engels@majcms.org> 1343355308 +0800
Reduce alert() notifications
diff --git a/filedrop.php b/filedrop.php
index 57f092a..e7f64ed 100644
--- a/filedrop.php
+++ b/filedrop.php
@@ -25,7 +25,7 @@ if (isset($_FILES['filedrop_obj']) and !empty($_FILES['filedrop_obj'])) {
$res = copy($_FILES['filedrop_obj']['tmp_name'], "attach/i/$fileUsr/$filedrop_box/$filedrop_nom");
unlink($_FILES['filedrop_obj']['tmp_name']);
- echo "<script>alert(\"{$_FILES['filedrop_obj']['name']} saved as $filedrop_nom\");</script>";
+ //echo "<script>alert(\"{$_FILES['filedrop_obj']['name']} saved as $filedrop_nom\");</script>";
}
else {
unlink($_FILES['filedrop_obj']['tmp_name']);
@@ -33,7 +33,7 @@ if (isset($_FILES['filedrop_obj']) and !empty($_FILES['filedrop_obj'])) {
}
else {
unlink($_FILES['filedrop_obj']['tmp_name']);
- echo "<script>alert(\"Failed to save {$_FILES['filedrop_obj']['name']} because it is too big.\");</script>";
+ //echo "<script>alert(\"Failed to save {$_FILES['filedrop_obj']['name']} because it is too big.\");</script>";
}
}
else {
diff --git a/rcpt.php b/rcpt.php
index 474495c..423f5e0 100644
--- a/rcpt.php
+++ b/rcpt.php
@@ -22,6 +22,6 @@ $rcpt_subj = "Read: $rcpt_subj";
mail($rcpt_mail, $rcpt_subj, $rcpt_body, $rcpt_head, "-f $rcpt_user");
-echo "<script>alert('Read receipt sent to $rcpt_mail');</script>";
+//echo "<script>alert('Read receipt sent to $rcpt_mail');</script>";
?>