Newer
Older
ubFramework / Portal / docroot / phpMyAdmin / templates / server / collations / charsets.phtml
@Christopher W. Olsen Christopher W. Olsen on 10 Dec 2017 1 KB Cleaning Up Making It A Sub Module
<div id="div_mysql_charset_collations">
    <table class="data noclick">
        <tr>
            <th id="collationHeader"><?= __('Collation'); ?></th>
            <th><?= __('Description'); ?></th>
        </tr>
        <?php foreach ($mysqlCharsets as $current_charset): ?>
            <tr>
                <th colspan="2" class="right">
                    <?= htmlspecialchars($current_charset); ?>
                    <?php if (! empty($mysqlCharsetsDesc[$current_charset])): ?>
                        (<i><?= htmlspecialchars($mysqlCharsetsDesc[$current_charset]); ?></i>)
                    <?php endif; ?>
                </th>
            </tr>
            <?php foreach ($mysqlCollations[$current_charset] as $current_collation): ?>
                <tr class="<?= ($mysqlDftCollations[$current_charset] == $current_collation ? ' marked' : ''); ?>">
                    <td><?= htmlspecialchars($current_collation); ?></td>
                    <td><?= PMA\libraries\Charsets::getCollationDescr($current_collation); ?></td>
                </tr>
            <?php endforeach; ?>
        <?php endforeach; ?>
    </table>
</div>