Skip to content

Commit

Permalink
Add table list label in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Feb 21, 2014
1 parent 796d447 commit b01b2dd
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@
<?php foreach ($this->items as $i => $item) : ?>
<tr class="row<?php echo $i % 2;?>">
<td><?php echo JHtml::_('grid.id', $i, $item->extension_id); ?></td>
<td><span class="bold hasTooltip" title="<?php echo JHtml::tooltipText($item->name, $item->description, 0); ?>"><?php echo $item->name; ?></span></td>
<td>
<label for="cb<?php echo $i;?>">
<span class="bold hasTooltip" title="<?php echo JHtml::tooltipText($item->name, $item->description, 0); ?>"><?php echo $item->name; ?></span>
</label>
</td>
<td class="center"><?php echo JText::_('COM_INSTALLER_TYPE_' . $item->type); ?></td>
<td class="center"><?php echo @$item->version != '' ? $item->version : '&#160;'; ?></td>
<td class="center"><?php echo @$item->creationDate != '' ? $item->creationDate : '&#160;'; ?></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,15 @@
<?php echo JHtml::_('grid.id', $i, $language->update_id, false, 'cid'); ?>
</td>
<td>
<?php echo $language->name; ?>
<label for="cb<?php echo $i; ?>">
<?php echo $language->name; ?>

<?php // Display a Note if language pack version is not equal to Joomla version ?>
<?php if (substr($language->version, 0, 3) != $version->RELEASE
<?php // Display a Note if language pack version is not equal to Joomla version ?>
<?php if (substr($language->version, 0, 3) != $version->RELEASE
|| substr($language->version, 0, 5) != $version->RELEASE . "." . $version->DEV_LEVEL) : ?>
<div class="small"><?php echo JText::_('JGLOBAL_LANGUAGE_VERSION_NOT_PLATFORM'); ?></div>
<?php endif; ?>
<div class="small"><?php echo JText::_('JGLOBAL_LANGUAGE_VERSION_NOT_PLATFORM'); ?></div>
<?php endif; ?>
</label>
</td>
<td class="center small">
<?php echo $language->version; ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,11 @@
<?php echo JHtml::_('grid.id', $i, $item->extension_id); ?>
</td>
<td>
<span class="bold hasTooltip" title="<?php echo JHtml::tooltipText($item->name, $item->description, 0); ?>">
<?php echo $item->name; ?>
</span>
<label for="cb<?php echo $i; ?>">
<span class="bold hasTooltip" title="<?php echo JHtml::tooltipText($item->name, $item->description, 0); ?>">
<?php echo $item->name; ?>
</span>
</label>
</td>
<td class="center">
<?php echo $item->client; ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@
<?php echo JHtml::_('grid.id', $i, $item->update_id); ?>
</td>
<td>
<span class="editlinktip hasTooltip" title="<?php echo JHtml::tooltipText(JText::_('JGLOBAL_DESCRIPTION'), $item->description ? $item->description : JText::_('COM_INSTALLER_MSG_UPDATE_NODESC'), 0); ?>">
<?php echo $this->escape($item->name); ?>
</span>
<label for="cb<?php echo $i; ?>">
<span class="editlinktip hasTooltip" title="<?php echo JHtml::tooltipText(JText::_('JGLOBAL_DESCRIPTION'), $item->description ? $item->description : JText::_('COM_INSTALLER_MSG_UPDATE_NODESC'), 0); ?>">
<?php echo $this->escape($item->name); ?>
</span>
</label>
</td>
<td class="center">
<?php echo $item->extension_id ? JText::_('COM_INSTALLER_MSG_UPDATE_UPDATE') : JText::_('COM_INSTALLER_NEW_INSTALL') ?>
Expand Down

0 comments on commit b01b2dd

Please sign in to comment.