X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fimage.php;h=4cad2b0037f5119c1f9f5b119b37fd01ac59e504;hb=2c85de8f66702a488ea0c371f2576963c593d64d;hp=8ae17e0a886c2ced884bb153dea725219f516ac4;hpb=7baf86a911ddc0ef8b2c3f9b9dbaa579f31ab4bc;p=squirrelmail.git diff --git a/src/image.php b/src/image.php index 8ae17e0a..4cad2b00 100644 --- a/src/image.php +++ b/src/image.php @@ -1,52 +1,55 @@ ' . - '' . - "\n" . - '' . "\n" . - '
' . - '
' . - _("Viewing an image attachment") . " - "; - if (isset($where) && isset($what)) { - // from a search - echo '' . _("View message") . ''; - } else { - echo '' . _("View message") . ''; - } - - $DownloadLink = '../src/download.php?passed_id=' . $passed_id . - '&mailbox=' . urlencode($mailbox) . - '&passed_ent_id=' . $passed_ent_id . '&absolute_dl=true'; - - echo '
' . - _("Download this as a file") . - '
 ' . "\n" . - '
' . "\n" . - - '' . "\n" . - '
' . - '' . - - '
' . "\n"; - '' . "\n"; + * image.php + * + * Copyright (c) 1999-2002 The SquirrelMail Project Team + * Licensed under the GNU GPL. For full terms see the file COPYING. + * + * This file shows an attached image + * + * $Id$ + */ + +require_once('../src/validate.php'); +require_once('../functions/date.php'); +require_once('../functions/page_header.php'); +require_once('../src/load_prefs.php'); + +displayPageHeader($color, 'None'); + +echo '
' . + '' . + "\n" . + '' . "\n" . + '
' . + '
' . + _("Viewing an image attachment") . " - "; +if (isset($where) && isset($what)) { + // from a search + echo '' . _("View message") . ''; +} else { + echo '' . _("View message") . ''; +} + +$DownloadLink = '../src/download.php?passed_id=' . $passed_id . + '&mailbox=' . urlencode($mailbox) . + '&passed_ent_id=' . $passed_ent_id . '&absolute_dl=true'; + +echo '
' . + _("Download this as a file") . + '
 ' . "\n" . + '
' . "\n" . + + '' . "\n" . + '
' . + '' . + + '
' . "\n"; + '' . "\n"; ?>