Skip to content

Commit

Permalink
code style + better label
Browse files Browse the repository at this point in the history
  • Loading branch information
pe7er committed Jun 3, 2017
1 parent dd78951 commit 9631b3e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions administrator/components/com_installer/models/manage.php
Expand Up @@ -293,10 +293,10 @@ protected function getListQuery()
{
$query = $this->getDbo()->getQuery(true)
->select('e.*')
->select('u.update_site_id')
->select('u.update_site_id')
->select('2*protected+(1-protected)*enabled AS status')
->from('#__extensions AS e')
->leftJoin('#__update_sites_extensions AS u ON u.extension_id = e.extension_id')
->leftJoin('#__update_sites_extensions AS u ON u.extension_id = e.extension_id')
->where('state = 0');

// Process select filters.
Expand Down
Expand Up @@ -103,7 +103,7 @@
<?php echo $item->name; ?>
</span>
</label>
<?php if(($item->extension_id > 999) && ($item->update_site_id === null)): ?>
<?php if ($item->extension_id > 999 && $item->update_site_id === null) : ?>
<span class="badge badge-important bold hasTooltip"
title="<?php echo JText::_('COM_INSTALLER_UPDATE_NOT_SUPPORTED_DESC'); ?>">
<?php echo JText::_('COM_INSTALLER_UPDATE_NOT_SUPPORTED'); ?>
Expand Down
4 changes: 2 additions & 2 deletions administrator/language/en-GB/en-GB.com_installer.ini
Expand Up @@ -248,8 +248,8 @@ COM_INSTALLER_UNINSTALL_ERROR="Error uninstalling %s."
; This string is deprecated and will be removed with 4.0.
COM_INSTALLER_UNINSTALL_LANGUAGE="A language should always have been installed as a package. <br />To uninstall a language, filter type by package and uninstall the package."
COM_INSTALLER_UNINSTALL_SUCCESS="Uninstalling the %s was successful."
COM_INSTALLER_UPDATE_NOT_SUPPORTED="Update server unavailable"
COM_INSTALLER_UPDATE_NOT_SUPPORTED_DESC="Check Extensions &gt; Update Sites &gt; and use Rebuild button."
COM_INSTALLER_UPDATE_NOT_SUPPORTED="Update Sites not unavailable"
COM_INSTALLER_UPDATE_NOT_SUPPORTED_DESC="Check Extensions &gt; Manage &gt; Update Sites and use Rebuild button."
COM_INSTALLER_UPDATE_FILTER_SEARCH_DESC="Search in extension name. Prefix with ID:, UID: or EID: to search for a update ID, update site ID or extension ID."
COM_INSTALLER_UPDATE_FILTER_SEARCH_LABEL="Search Extensions with Updates"
COM_INSTALLER_UPDATESITE_DISABLE="Disable update site"
Expand Down

0 comments on commit 9631b3e

Please sign in to comment.