projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updating pot
[squirrelmail.git]
/
plugins
/
message_details
/
message_details_top.php
diff --git
a/plugins/message_details/message_details_top.php
b/plugins/message_details/message_details_top.php
index a9e4b2c1361aaf1d38ed07f8338805083bb8f63b..6a5fe430e36ed7ebaec299dd7e7a241dc2bad2de 100644
(file)
--- a/
plugins/message_details/message_details_top.php
+++ b/
plugins/message_details/message_details_top.php
@@
-19,6
+19,7
@@
define('SM_PATH','../../');
require_once(SM_PATH . 'include/validate.php');
require_once(SM_PATH . 'functions/strings.php');
require_once(SM_PATH . 'config/config.php');
require_once(SM_PATH . 'include/validate.php');
require_once(SM_PATH . 'functions/strings.php');
require_once(SM_PATH . 'config/config.php');
+require_once(SM_PATH . 'functions/forms.php');
displayHtmlHeader( _("Message Details"),
"<script language=\"javascript\">\n".
displayHtmlHeader( _("Message Details"),
"<script language=\"javascript\">\n".
@@
-35,16
+36,16
@@
sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
echo "<body text=\"$color[8]\" bgcolor=\"$color[3]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\">\n" .
'<center><b>' .
echo "<body text=\"$color[8]\" bgcolor=\"$color[3]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\">\n" .
'<center><b>' .
- '<form action="' . SM_PATH . 'src/download.php" method="GET">' .
+ addForm(SM_PATH . 'src/download.php', 'GET').
+ addHidden('mailbox', $mailbox).
+ addHidden('passed_id', $passed_id).
+ addHidden('ent_id', '0').
+ addHidden('absolute_dl', 'true').
'<input type="button" value="' . _("Print") . '" onClick="printPopup()" /> '.
'<input type="button" value="' . _("Close Window") . '" onClick="window.parent.close()" /> '.
'<input type="button" value="' . _("Print") . '" onClick="printPopup()" /> '.
'<input type="button" value="' . _("Close Window") . '" onClick="window.parent.close()" /> '.
- '<input type="submit" value="' . _("Save Message") . '" /> '.
- '<input type="hidden" name="mailbox" value="' . urlencode($mailbox) . '" />' .
- '<input type="hidden" name="passed_id" value="' . urlencode($passed_id) . '" />' .
- '<input type="hidden" name="ent_id" value="0" />' .
- '<input type="hidden" name="absolute_dl" value="true" />' .
+ addSubmit(_("Save Message")).
'</form>'.
'</b>'.
'</body>'.
"</html>\n";
'</form>'.
'</b>'.
'</body>'.
"</html>\n";
-?>
\ No newline at end of file
+?>