Skip to content

Commit 403751a

Browse files
authored
[4.0] Language content flags (#32283)
Similar to #32244 this p[r replaces a hard coded space with a margin. In addition it removes text-center from the column to aid readability
1 parent 1998e7e commit 403751a

File tree

1 file changed

+3
-3
lines changed
  • administrator/components/com_languages/tmpl/languages

1 file changed

+3
-3
lines changed

administrator/components/com_languages/tmpl/languages/default.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<th scope="col" class="w-10 d-none d-md-table-cell text-center">
7171
<?php echo HTMLHelper::_('searchtools.sort', 'COM_LANGUAGES_HEADING_LANG_CODE', 'a.sef', $listDirn, $listOrder); ?>
7272
</th>
73-
<th scope="col" class="w-10 d-none d-md-table-cell text-center">
73+
<th scope="col" class="w-10 d-none d-md-table-cell">
7474
<?php echo HTMLHelper::_('searchtools.sort', 'COM_LANGUAGES_HEADING_LANG_IMAGE', 'a.image', $listDirn, $listOrder); ?>
7575
</th>
7676
<th scope="col" class="w-10 d-none d-md-table-cell text-center">
@@ -134,9 +134,9 @@
134134
<td class="d-none d-md-table-cell text-center">
135135
<?php echo $this->escape($item->sef); ?>
136136
</td>
137-
<td class="d-none d-md-table-cell text-center">
137+
<td class="d-none d-md-table-cell">
138138
<?php if ($item->image) : ?>
139-
<?php echo HTMLHelper::_('image', 'mod_languages/' . $item->image . '.gif', $item->image, null, true); ?>&nbsp;<?php echo $this->escape($item->image); ?>
139+
<?php echo HTMLHelper::_('image', 'mod_languages/' . $item->image . '.gif', $item->image, array('class'=>'me-1'), true); ?><?php echo $this->escape($item->image); ?>
140140
<?php else : ?>
141141
<?php echo Text::_('JNONE'); ?>
142142
<?php endif; ?>

0 commit comments

Comments
 (0)