Skip to content

Commit

Permalink
# Prevents non installable packs to display in Install Languages manager
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 committed Aug 14, 2012
1 parent 389318b commit a4969ab
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

$listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction'));
$ver = new JVersion;

?>
<form
Expand Down Expand Up @@ -56,26 +57,29 @@
<tbody>
<?php foreach ($this->items as $i => $language) :
?>
<tr class="row<?php echo $i%2; ?>">
<td>
<?php echo JHtml::_('grid.id', $i, $language->update_id, false, 'cid'); ?>
</td>
<td>
<?php echo $language->name; ?>
</td>
<td class="center">
<?php echo $language->version; ?>
</td>
<td class="center">
<?php echo $language->type; ?>
</td>
<td>
<?php echo $language->detailsurl; ?>
</td>
<td>
<?php echo $language->update_id; ?>
</td>
</tr>
<?php if (substr($language->version, 0, 3) == $ver->RELEASE) :
?>
<tr class="row<?php echo $i%2; ?>">
<td>
<?php echo JHtml::_('grid.id', $i, $language->update_id, false, 'cid'); ?>
</td>
<td>
<?php echo $language->name; ?>
</td>
<td class="center">
<?php echo $language->version; ?>
</td>
<td class="center">
<?php echo $language->type; ?>
</td>
<td>
<?php echo $language->detailsurl; ?>
</td>
<td>
<?php echo $language->update_id; ?>
</td>
</tr>
<?php endif; ?>
<?php endforeach; ?>
</tbody>
</table>
Expand Down
3 changes: 3 additions & 0 deletions installation/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ $ -> Language fix or change
- -> Removed
! -> Note

14-Aug-2012 Jean-Marie Simonet
# Prevents non installable packs to display in Install Languages manager

11-Aug-2012 Jean-Marie Simonet
$+ Adding Vietnamese vi-VN to installation languages

Expand Down

0 comments on commit a4969ab

Please sign in to comment.