Removing HTML from a string.
authorjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 15 Jan 2008 09:08:36 +0000 (09:08 +0000)
committerjervfors <jervfors@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 15 Jan 2008 09:08:36 +0000 (09:08 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12882 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default_advanced/read_headers.tpl

index ddcc1a7360955333ba09f0b50634245229fbd32f..da573fb2b9e2f2cbedf15014108a20609a657ac2 100644 (file)
@@ -70,7 +70,8 @@ extract($t);
             $from = preg_replace('/^(&quot;)+|(&quot;)+$/', '', $from);
             $from = preg_replace('/&quot;$/', '', trim($from));
         }
-        $reduced_header = sprintf(_("<b>%s</b> From <b>%s</b> On <b>%s</b>"), $subject, $from, $date);
+        // i18n: The parameters are: subject, sender, and date.
+        $reduced_header = sprintf(_("%s from %s on %s"), "<b>$subject</b>", "<b>$from</b>", "<b>$date</b>");
         $expand_link = str_replace('&expand_header=0', '', $PHP_SELF) . '&expand_header=1';
 
         echo '<tr><td colspan="2" align="center" valign="top">'