public static function and_list($array, $between = ', ', $between_last = null)
{
if (!is_array($array)) {
$array = array($array);
}
if ($between_last === null) {
// @locale The default string used between the last two items in a series (one, two, three *and* four).
$between_last = _t(' and ');
}
$last = array_pop($array);
$out = implode($between, $array);
$out .= $out == '' ? $last : $between_last . $last;
return $out;
}