Fixed a glich that caused the 'Viewing message' line to show a strange colour when...
[squirrelmail.git] / functions / strings.php
index c9c6b9b29b32124d9343b43a6e998331e0f44804..dc85a717e560914f0cda4e36a6d6401598eb125c 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
    $strings_php = true;
 
       $text = str_replace(" ", "", $text);
       $text = str_replace(",", ";", $text);
       $array = explode(";", $text);
+               for ($i = 0; $i < count ($array); $i++) {
+                       $array[$i] = eregi_replace ("^.*\<", "", $array[$i]);
+                       $array[$i] = eregi_replace ("\>.*$", "", $array[$i]);
+               }
       return $array;
    }