                <div id='checkbox_container' class='level-center'>";
$catids = genrelist(true);
if ($CURUSER['opt2'] & user_options_2::BROWSE_ICONS) {
    foreach ($catids as $cat) {
        $text .= "
                    <span class='margin10 mw-50 is-flex bg-02 round10 tooltipper' title='" . htmlsafechars($cat['name']) . "'>
                        <span class='bordered level-center'>
                            <input type='checkbox' name='cats[]' id='cat_" . (int) $cat['id'] . "' value='" . (int) $cat['id'] . "'>