charsets.twig 1.0 KB

1234567891011121314151617181920212223242526
  1. <div id="div_mysql_charset_collations">
  2. <table class="data noclick">
  3. <thead>
  4. <tr>
  5. <th id="collationHeader">{% trans 'Collation' %}</th>
  6. <th>{% trans 'Description' %}</th>
  7. </tr>
  8. </thead>
  9. {% for current_charset in mysql_charsets %}
  10. <tr>
  11. <th colspan="2" class="right">
  12. {{ current_charset }}
  13. {% if mysql_charsets_desc[current_charset] is not empty %}
  14. (<em>{{ mysql_charsets_desc[current_charset] }}</em>)
  15. {% endif %}
  16. </th>
  17. </tr>
  18. {% for current_collation in mysql_collations[current_charset] %}
  19. <tr class="{{ mysql_dft_collations[current_charset] == current_collation ? ' marked' }}">
  20. <td>{{ current_collation }}</td>
  21. <td>{{ Charsets_getCollationDescr(current_collation) }}</td>
  22. </tr>
  23. {% endfor %}
  24. {% endfor %}
  25. </table>
  26. </div>