* the interface window.
*
* @author Konstantin Riabitsev <icon at duke.edu>
- * @copyright 1999-2015 The SquirrelMail Project Team
+ * @copyright 1999-2021 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
*/
$extrajs.= "var suggestions = new Array();\n";
$i=0;
- while (list($word, $value) = each($misses)){
+ foreach ($misses as $value){
if ($value=='_NONE') $value='';
$extrajs.= "suggestions[$i] = \"$value\";\n";
$i++;
*/
$extrajs.= "var locations= new Array();\n";
$i=0;
- while (list($word, $value) = each($locations)){
+ foreach ($locations as $value){
$extrajs.= "locations[$i] = \"$value\";\n";
$i++;
}