X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fmessage_details%2Fmessage_details_top.php;h=ac18acbf0252ead005f3c60920689cc2582767d1;hp=e2808f0ecbaae1f5433fa46b0529309ef08a213c;hb=84c81038e69b3d5f014beb6d2e0b767228891830;hpb=dcc1cc825e550711d0207a737f9ea3ac2b38e923 diff --git a/plugins/message_details/message_details_top.php b/plugins/message_details/message_details_top.php index e2808f0e..ac18acbf 100644 --- a/plugins/message_details/message_details_top.php +++ b/plugins/message_details/message_details_top.php @@ -1,27 +1,27 @@ \n". + "\n", FALSE ); -sqgetGlobalVar('passed_id', $passed_id, SQ_GET); +sqgetGlobalVar('passed_id', $passed_id, SQ_GET, NULL, SQ_TYPE_BIGINT); +if (!sqgetGlobalVar('passed_ent_id', $passed_ent_id, SQ_GET)) + $passed_ent_id = 0; sqgetGlobalVar('mailbox', $mailbox, SQ_GET); echo "\n" . - '
' . - '
' . - '  '. - '  '. - ' '. - '' . - '' . - '' . - '' . - '
'. - '
'. + '
' . + addForm(SM_PATH . 'src/download.php', 'GET'). + addHidden('mailbox', $mailbox). + addHidden('passed_id', $passed_id). + addHidden('ent_id', $passed_ent_id). + addHidden('absolute_dl', 'true'). + (checkForJavascript() ? + '  '. + '  ' :''). + addSubmit(_("Save Message")). + '
'. ''. "\n"; -?>