next up previous contents
Next: view_text.php Up: 目錄 src Previous: right_main.php   Contents

view_header.php

  1. 顯示郵件 header 的程式。
    [root@mail squirrelmail-1.4.8]# diff -wuN ./src/view_header.php /var/www/squirrelmail/src/view_header.php
    --- ./src/view_header.php	2006-04-15 06:27:08.000000000 +0800
    +++ /var/www/squirrelmail/src/view_header.php	2014-01-10 09:42:13.964712454 +0800
    
  2. 修改郵件 header 顯示時編碼解碼參數。
    @@ -44,6 +45,7 @@
     
         for ($i=1; $i < count($read); $i++) {
             $line = htmlspecialchars($read[$i]);
    +		$line = decodeHeader($line, true,false,true);  //dywang
             switch (true) {
                 case (eregi("^&gt;", $line)):
                     $second[$i] = $line;
    



2016-03-11