This commit has been accessed 603 times via Git panel.
commit d2530d665fe89ce9b2144ccca4bd169cdcafc35c
tree e5009e65d14b95d223e4dd96d275bf236efb55be
parent 16a0235344d18ee4ea6a7e67e6508d39cda64d54
author Engels Antonio <engels@majcms.org> 1300053836 +0800
committer Engels Antonio <engels@majcms.org> 1300053836 +0800
Add basic filedrop support in Forward and Reply
diff --git a/send.php b/send.php
index 7e42598..832d0e0 100644
--- a/send.php
+++ b/send.php
@@ -197,6 +197,9 @@ if (isset($_POST['msg']) and !empty($_POST['msg']) and is_numeric($_POST['msg'])
echo "<input type=\"hidden\" name=\"mbox_min\" value=\"$mbox_min\">";
echo "<input type=\"hidden\" name=\"box\" value=\"$folder\">";
echo "<input type=\"hidden\" name=\"msg\" value=\"$msgno\">";
+
+ echo "<input type=\"hidden\" name=\"filedrop_box\" value=\"$filedrop_box\">";
+
echo "<tr><td></td><td align=\"right\"><div class=\"label\"><input type=\"image\" src=\"images/mail-reply.png\"></div><div class=\"label\">send</div></td></tr>";
echo "</table>";
@@ -210,3 +213,19 @@ if (isset($_POST['msg']) and !empty($_POST['msg']) and is_numeric($_POST['msg'])
}
?>
+
+<div class="message">
+
+<iframe name="filedrop" src="filedrop.php" frameborder="0" scrolling="0" width="0" height="0"></iframe>
+
+<table border="0" cellspcaing="0" cellpadding="0">
+<form enctype="multipart/form-data" action="filedrop.php" method="post" target="filedrop">
+<tr><td>
+<input type="hidden" name="filedrop_box" value="<?php echo $filedrop_box; ?>">
+<input type="file" name="filedrop_obj">
+<input type="submit">
+</td></tr>
+</form>
+</table>
+
+</div>
tree e5009e65d14b95d223e4dd96d275bf236efb55be
parent 16a0235344d18ee4ea6a7e67e6508d39cda64d54
author Engels Antonio <engels@majcms.org> 1300053836 +0800
committer Engels Antonio <engels@majcms.org> 1300053836 +0800
Add basic filedrop support in Forward and Reply
diff --git a/send.php b/send.php
index 7e42598..832d0e0 100644
--- a/send.php
+++ b/send.php
@@ -197,6 +197,9 @@ if (isset($_POST['msg']) and !empty($_POST['msg']) and is_numeric($_POST['msg'])
echo "<input type=\"hidden\" name=\"mbox_min\" value=\"$mbox_min\">";
echo "<input type=\"hidden\" name=\"box\" value=\"$folder\">";
echo "<input type=\"hidden\" name=\"msg\" value=\"$msgno\">";
+
+ echo "<input type=\"hidden\" name=\"filedrop_box\" value=\"$filedrop_box\">";
+
echo "<tr><td></td><td align=\"right\"><div class=\"label\"><input type=\"image\" src=\"images/mail-reply.png\"></div><div class=\"label\">send</div></td></tr>";
echo "</table>";
@@ -210,3 +213,19 @@ if (isset($_POST['msg']) and !empty($_POST['msg']) and is_numeric($_POST['msg'])
}
?>
+
+<div class="message">
+
+<iframe name="filedrop" src="filedrop.php" frameborder="0" scrolling="0" width="0" height="0"></iframe>
+
+<table border="0" cellspcaing="0" cellpadding="0">
+<form enctype="multipart/form-data" action="filedrop.php" method="post" target="filedrop">
+<tr><td>
+<input type="hidden" name="filedrop_box" value="<?php echo $filedrop_box; ?>">
+<input type="file" name="filedrop_obj">
+<input type="submit">
+</td></tr>
+</form>
+</table>
+
+</div>