From f0f5ad5e3eb5703b84f52a1f3e90df41abe7db2a Mon Sep 17 00:00:00 2001 From: jervfors Date: Sat, 3 Sep 2005 22:19:24 +0000 Subject: [PATCH] Recycling existing strings git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10035 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/printer_friendly_bottom.php | 8 ++++---- templates/default/error_message.tpl | 28 ++++++++++++++-------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/printer_friendly_bottom.php b/src/printer_friendly_bottom.php index 1d681ed1..71764c14 100644 --- a/src/printer_friendly_bottom.php +++ b/src/printer_friendly_bottom.php @@ -139,7 +139,7 @@ echo ''._("Attachments:").'', 'left', '', 'colspan="2"' ) + html_tag( 'td',''._("Attachments").':', 'left', '', 'colspan="2"' ) ) . "\n" ; // list of attachments echo html_tag( 'tr', @@ -250,7 +250,7 @@ function pf_show_attachments($message, $exclude_id, $mailbox, $id) { $filename = $att->getFilename(); if ($header->description) { $description = ''. - html_tag( 'td',_("Info:"), 'right') . + html_tag( 'td',_("Info").':', 'right') . html_tag( 'td',decodeHeader($header->description), 'left') . ''; } else { @@ -263,10 +263,10 @@ function pf_show_attachments($message, $exclude_id, $mailbox, $id) { // TODO: maybe make it nicer? $attachments .= '' . ''. - html_tag( 'td',_("Size:"), 'right') . + html_tag( 'td',_("Size").':', 'right') . html_tag( 'td',show_readable_size($header->size), 'left') . '' . - html_tag( 'td',_("Type:"), 'right') . + html_tag( 'td',_("Type").':', 'right') . html_tag( 'td',htmlspecialchars($type0).'/'.htmlspecialchars($type1), 'left') . ''; if (! empty($description)) { diff --git a/templates/default/error_message.tpl b/templates/default/error_message.tpl index a87439d0..90931eac 100644 --- a/templates/default/error_message.tpl +++ b/templates/default/error_message.tpl @@ -24,7 +24,7 @@ if (isset($aErrors) && is_array($aErrors)) {
'.decodeHeader($display_filename).'
$sValue) {?> + foreach ($aError['extra'] as $sKey => $sValue) { ?> $sValue) } // isset($aError['extra']) && is_array($aError['extra'])) ?> - + - +
-
+
- : + - +
- : + - +
- : + : - +
- : + - +
- : + - +