";
$n = 1;
foreach ($list as $item) {
$name = pathinfo($item, PATHINFO_FILENAME);
$body .= " :$name: | ";
if ($n++ % 3 == 0) {
$body .= "
";
}
}
$body .= "
";
$page->set_mode(PageMode::DATA);
$page->set_data((string)$page->html_html(
TITLE("Emoticon list"),
$body
));
}
}