Added basic support for message highlighting. Note that this needs quite
[squirrelmail.git] / src / load_prefs.php
index c562f1ba39b7dd2f62ac393c504ca73c4287f1f9..2a24938cca1926aa9bfb58d34a3bbafc0e79e251 100644 (file)
          $user_language = en;
    }      
 
+   //  highlightX comes in with the form: name,color,header,value
+   for ($i=0; $hlt = getPref($data_dir, $username, "highlight$i"); $i++) {
+      $ary = explode(",", $hlt);
+      $message_highlight_list[$i]["name"] = $ary[0]; 
+      $message_highlight_list[$i]["color"] = $ary[1];
+      $message_highlight_list[$i]["value"] = $ary[2];
+   }
 ?>