From: jervfors Date: Sun, 15 Aug 2004 23:54:32 +0000 (+0000) Subject: Moving some HTML out of PHP X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=24419a724250992245ee1a9e0753577667c8eeec;p=squirrelmail.git Moving some HTML out of PHP git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7918 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/view_text.php b/src/view_text.php index 2c2b54b4..d0c38742 100644 --- a/src/view_text.php +++ b/src/view_text.php @@ -40,7 +40,7 @@ if (sqgetGlobalVar('passed_id', $temp, SQ_GET)) { } $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0); -$mbx_response = sqimap_mailbox_select($imapConnection, $mailbox); +$mbx_response = sqimap_mailbox_select($imapConnection, $mailbox); $message = &$messages[$mbx_response['UIDVALIDITY']][$passed_id]; if (!is_object($message)) { @@ -77,18 +77,22 @@ if ($type1 == 'html' || (isset($override_type1) && $override_type1 == 'html')) } displayPageHeader($color, 'None'); - -echo '
' . - '
' . - _("Viewing a text attachment") . ' - ' . - ''. _("View message") . '' . - '
' . - _("Download this as a file") . - '

' . - '' . - '
' . - '
' . - '
' . - $body . '
' . - ''; -?> \ No newline at end of file +?> +
+
+'. _("View message") . ''; +?> +
+' . _("Download this as a file") . ''; +?> +

+ +
+
+
+ +
+