The "htmlspecialchars" was butchering the entites-encoded output
[squirrelmail.git] / functions / mailbox_display.php
index b0f2cc9a13e34abc66cc792bf4162c6732a1c43a..b0b03b3b07dde37727c59a3ea545fd680dceec7c 100644 (file)
@@ -35,7 +35,7 @@ function printMessageInfo($imapConnection, $t, $i, $key, $mailbox, $sort, $start
     }
     $msg = $msgs[$key];
 
-    $senderName = htmlspecialchars(sqimap_find_displayable_name($msg['FROM']));
+    $senderName = sqimap_find_displayable_name($msg['FROM']);
     if( $mailbox == 'None' ) {
         // $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
         $boxes = sqimap_mailbox_list($imapConnection);
@@ -840,7 +840,7 @@ function get_paginator_str
     } else if ($PG_SHOWNUM == 999999) {
         $pg_str = "<A HREF=\"right_main.php?use_mailbox_cache=$use"
                 . "&startMessage=1&mailbox=$box\" TARGET=\"right\">"
-                . _("Show Pages") . '</A>' . $spc;
+                . _("Paginate") . '</A>' . $spc;
     }
 
     /* If necessary, compute the 'show all' string. */