read()) !== false) {
if (preg_match('|^\.+$|', $file))
continue;
if (preg_match('|\.php$|', $file))
require_once("$import_root/$file");
}
}
$importers = get_importers();
if (empty ($importers)) {
echo ''.__('No importers are available.').'
'; // TODO: make more helpful
} else {
?>
$data) {
$style = ('class="alternate"' == $style || 'class="alternate active"' == $style) ? '' : 'alternate';
$action = "{$data[0]}";
if ($style != '')
$style = 'class="'.$style.'"';
echo "
$action |
{$data[1]} |
";
}
?>