Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0][DRAFT] replace hard coded icon by jlayout #30634

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
56e1ac4
replace hard coded icon fas-plus for collapse by JLayout iconclass wi…
hans2103 Sep 11, 2020
f27d3a3
extend JLayout iconclass for fa-plus with collapse
hans2103 Sep 11, 2020
c1255d5
extend JLayout iconclass with optional class
hans2103 Sep 11, 2020
f8e7781
replace hard coded icon with extra class by JLayout iconclass with ex…
hans2103 Sep 11, 2020
5d4eb85
extend JLayout iconclass with icon for add
hans2103 Sep 11, 2020
f2d3667
replace hard coded icon for fa-plus by JLayout iconclass for icon add
hans2103 Sep 11, 2020
509265d
replace hard coded icon for fa-plus by JLayout iconclass for icon new
hans2103 Sep 11, 2020
4a46db5
extend JLayout iconclass with spinner and replace hard coded fa-loadi…
hans2103 Sep 11, 2020
23069fb
:bug: fix check on optional extra class.
hans2103 Sep 11, 2020
25e01ae
extend JLayout iconclass with attribute tabindex and replace hard cod…
hans2103 Sep 11, 2020
09f6abb
extend JLayout iconclass with folder-open and replace hard coded icon…
hans2103 Sep 11, 2020
45fb827
extend JLayout iconclass with folder and replace some hard coded icon…
hans2103 Sep 11, 2020
e0dbb6a
extend JLayout iconclass with check and replace iconstate icons by JL…
hans2103 Sep 11, 2020
6b45594
extend JLayout iconclass with attribute title
hans2103 Sep 13, 2020
74d5797
replace hard coded icon for fa-info-circle by JLayout iconclass for info
hans2103 Sep 13, 2020
f12eaf1
replace hard coded icon for fa-times by JLayout iconclass for times
hans2103 Sep 14, 2020
eb959dd
extend JLayout iconclass with search-plus and replace some hard coded…
hans2103 Sep 14, 2020
04a1ae7
extend JLayout iconclass with search and replace some hard coded icon…
hans2103 Sep 14, 2020
8acee39
split 'class' into fixed (true|false) and suffix (whatever class set)
hans2103 Sep 14, 2020
58f9327
replace hard coded icon for fa-check* by JLayout iconclass for check*
hans2103 Sep 14, 2020
c2359d3
replace hard coded icon for fa-folder by JLayout iconclass for folder
hans2103 Sep 14, 2020
233b49f
replace hard coded icon for fa-trash by JLayout iconclass for trash
hans2103 Sep 14, 2020
fed10b3
replace hard coded icons by JLayout iconclass
hans2103 Sep 14, 2020
80275b3
!! replaced hard coded non existing icon fa-location by JLayout home
hans2103 Sep 14, 2020
d394096
replace fas fa- by $iconPrefix
hans2103 Sep 14, 2020
d1dc414
replace hard coded icons by JLayout
hans2103 Sep 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Joomla\CMS\Form\FormField;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Router\Route;

/**
Expand Down Expand Up @@ -59,9 +60,8 @@ protected function getInput()
);

return '<div class="alert alert-info">'
. '<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only">'
. Text::_('INFO')
. '</span>'
. LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info'])
. '<span class="sr-only">' . Text::_('INFO') . '</span>'
. Text::sprintf('PLG_SYSTEM_ACTIONLOGS_JOOMLA_ACTIONLOG_DISABLED_REDIRECT', $link)
. '</div>';
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
<?php echo LayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?>
<?php if (empty($this->items)) : ?>
<div class="alert alert-info">
<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); ?>
<span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo Text::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
</div>
<?php else : ?>
Expand Down
7 changes: 5 additions & 2 deletions administrator/components/com_admin/tmpl/profile/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Router\Route;
use Joomla\Component\Users\Administrator\Helper\UsersHelper;

Expand Down Expand Up @@ -68,12 +69,14 @@ class="form-validate"
<?php echo Text::_('COM_ADMIN_PROFILE_OTEPS'); ?>
</legend>
<div class="alert alert-info">
<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); ?>
<span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo Text::_('COM_ADMIN_PROFILE_OTEPS_DESC'); ?>
</div>
<?php if (empty($this->otpConfig->otep)) : ?>
<div class="alert alert-warning">
<span class="fas fa-exclamation-circle" aria-hidden="true"></span><span class="sr-only"><?php echo Text::_('WARNING'); ?></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'warning']); ?>
<span class="sr-only"><?php echo Text::_('WARNING'); ?></span>
<?php echo Text::_('COM_ADMIN_PROFILE_OTEPS_WAIT_DESC'); ?>
</div>
<?php else : ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Joomla\CMS\Form\FormField;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Session\Session;

/**
Expand Down Expand Up @@ -70,7 +71,8 @@ protected function getInput()
. ' data-select="' . Text::_('COM_ASSOCIATIONS_SELECT_TARGET') . '"'
. ' data-change="' . Text::_('COM_ASSOCIATIONS_CHANGE_TARGET') . '"'
. ' data-target="#associationSelect' . $this->id . 'Modal">'
. '<span class="fas fa-file" aria-hidden="true"></span> '
. LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'file'])
. ' '
. '<span id="select-change-text"></span>'
. '</button>';

Expand All @@ -80,7 +82,8 @@ protected function getInput()
. ' class="btn btn-secondary' . ($value ? '' : ' hidden') . '"'
. ' onclick="return Joomla.submitbutton(\'undo-association\');"'
. ' id="remove-assoc">'
. '<span class="fas fa-times" aria-hidden="true"></span> ' . Text::_('JCLEAR')
. LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'times'])
. ' ' . Text::_('JCLEAR')
. '</button>';

$html[] = '<input type="hidden" id="' . $this->id . '_id" name="' . $this->name . '" value="' . $value . '">';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Joomla\CMS\Factory;
use Joomla\CMS\Form\Form;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\MVC\View\GenericDataException;
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
use Joomla\CMS\Object\CMSObject;
Expand Down Expand Up @@ -370,13 +371,15 @@ protected function addToolbar(): void

$bar->appendButton(
'Custom', '<joomla-toolbar-button><button onclick="Joomla.submitbutton(\'reference\')" '
. 'class="btn btn-success"><span class="fas fa-save" aria-hidden="true"></span>'
. 'class="btn btn-success">'
. LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'save'])
. Text::_('COM_ASSOCIATIONS_SAVE_REFERENCE') . '</button></joomla-toolbar-button>', 'reference'
);

$bar->appendButton(
'Custom', '<joomla-toolbar-button><button onclick="Joomla.submitbutton(\'target\')" '
. 'class="btn btn-success"><span class="fas fa-save" aria-hidden="true"></span>'
. 'class="btn btn-success">'
. LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'save'])
. Text::_('COM_ASSOCIATIONS_SAVE_TARGET') . '</button></joomla-toolbar-button>', 'target'
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
$canManageCheckin = Factory::getUser()->authorise('core.manage', 'com_checkin');

$iconStates = array(
-2 => 'fas fa-trash',
0 => 'fas fa-times',
1 => 'fas fa-check',
2 => 'fas fa-folder',
-2 => 'trash',
0 => 'times',
1 => 'check',
2 => 'folder',
);

Text::script('COM_ASSOCIATIONS_PURGE_CONFIRM_PROMPT', true);
Expand All @@ -43,12 +43,14 @@
<?php echo LayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?>
<?php if ($this->state->get('itemtype') == '' || $this->state->get('language') == '') : ?>
<div class="alert alert-info">
<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); ?>
<span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo Text::_('COM_ASSOCIATIONS_NOTICE_NO_SELECTORS'); ?>
</div>
<?php elseif (empty($this->items)) : ?>
<div class="alert alert-info">
<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); ?>
<span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo Text::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
</div>
<?php else : ?>
Expand Down Expand Up @@ -102,7 +104,7 @@
<tr class="row<?php echo $i % 2; ?>">
<?php if (!empty($this->typeSupports['state'])) : ?>
<td class="text-center">
<span class="<?php echo $iconStates[$this->escape($item->state)]; ?>"></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => $iconStates[$this->escape($item->state)]]); ?>
</td>
<?php endif; ?>
<th scope="row" class="has-context">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
$canManageCheckin = Factory::getUser()->authorise('core.manage', 'com_checkin');

$iconStates = array(
-2 => 'fas fa-trash',
0 => 'fas fa-times',
1 => 'fas fa-check',
2 => 'fas fa-folder',
-2 => 'trash',
0 => 'times',
1 => 'check',
2 => 'folder',
);

$this->document->addScriptOptions('associations-modal', ['func' => $function]);
Expand All @@ -51,7 +51,8 @@
<?php echo LayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?>
<?php if (empty($this->items)) : ?>
<div class="alert alert-info">
<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); ?>
<span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo Text::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
</div>
<?php else : ?>
Expand Down Expand Up @@ -101,7 +102,7 @@
<tr class="row<?php echo $i % 2; ?>">
<?php if (!empty($this->typeSupports['state'])) : ?>
<td class="text-center tbody-icon">
<span class="<?php echo $iconStates[$this->escape($item->state)]; ?>" aria-hidden="true"></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => $iconStates[$this->escape($item->state)]]); ?>
</td>
<?php endif; ?>
<th scope="row" class="has-context">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

use Joomla\CMS\Form\FormField;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;

/**
* Clicks field.
Expand Down Expand Up @@ -43,6 +44,7 @@ protected function getInput()
return '<div class="input-group"><input class="form-control" type="text" name="' . $this->name . '" id="' . $this->id . '" value="'
. htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8') . '" readonly="readonly">'
. '<span class="input-group-append"><button type="button" class="btn btn-secondary" ' . $onclick . '>'
. '<span class="fas fa-sync" aria-hidden="true"></span> ' . Text::_('COM_BANNERS_RESET_CLICKS') . '</button></span></div>';
. LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'refresh'])
. ' ' . Text::_('COM_BANNERS_RESET_CLICKS') . '</button></span></div>';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

use Joomla\CMS\Form\FormField;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;

/**
* Impressions field.
Expand Down Expand Up @@ -43,6 +44,7 @@ protected function getInput()
return '<div class="input-group"><input class="form-control" type="text" name="' . $this->name . '" id="' . $this->id . '" value="'
. htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8') . '" readonly="readonly">'
. '<span class="input-group-append"><button type="button" class="btn btn-secondary" ' . $onclick . '>'
. '<span class="fas fa-sync" aria-hidden="true"></span> ' . Text::_('COM_BANNERS_RESET_IMPMADE') . '</button></span></div>';
. LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'refresh'])
. ' ' . Text::_('COM_BANNERS_RESET_IMPMADE') . '</button></span></div>';
}
}
5 changes: 3 additions & 2 deletions administrator/components/com_banners/tmpl/banners/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
?>
<?php if (empty($this->items)) : ?>
<div class="alert alert-info">
<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); ?>
<span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo Text::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
</div>
<?php else : ?>
Expand Down Expand Up @@ -116,7 +117,7 @@
}
?>
<span class="sortable-handler <?php echo $iconClass ?>">
<span class="fas fa-ellipsis-v" aria-hidden="true"></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'ellipsis-v']); ?>
</span>
<?php if ($canChange && $saveOrder) : ?>
<input type="text" name="order[]" size="5"
Expand Down
9 changes: 5 additions & 4 deletions administrator/components/com_banners/tmpl/clients/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
?>
<?php if (empty($this->items)) : ?>
<div class="alert alert-info">
<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); ?>
<span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo Text::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
</div>
<?php else : ?>
Expand Down Expand Up @@ -73,15 +74,15 @@
<span class="sr-only"><?php echo Text::_('COM_BANNERS_COUNT_PUBLISHED_ITEMS'); ?></span>
</th>
<th scope="col" class="w-3 text-center d-none d-md-table-cell">
<span class="fas fa-times" aria-hidden="true" title="<?php echo Text::_('COM_BANNERS_COUNT_UNPUBLISHED_ITEMS'); ?>"></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'times', 'title' => Text::_('COM_BANNERS_COUNT_UNPUBLISHED_ITEMS')]); ?>
<span class="sr-only"><?php echo Text::_('COM_BANNERS_COUNT_UNPUBLISHED_ITEMS'); ?></span>
</th>
<th scope="col" class="w-3 text-center d-none d-md-table-cell">
<span class="fas fa-folder" aria-hidden="true" title="<?php echo Text::_('COM_BANNERS_COUNT_ARCHIVED_ITEMS'); ?>"></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'folder', 'title' => Text::_('COM_BANNERS_COUNT_ARCHIVED_ITEMS')]); ?>
<span class="sr-only"><?php echo Text::_('COM_BANNERS_COUNT_ARCHIVED_ITEMS'); ?></span>
</th>
<th scope="col" class="w-3 text-center d-none d-md-table-cell">
<span class="fas fa-trash" aria-hidden="true" title="<?php echo Text::_('COM_BANNERS_COUNT_TRASHED_ITEMS'); ?>"></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'trash', 'title' => Text::_('COM_BANNERS_COUNT_TRASHED_ITEMS')]); ?>
<span class="sr-only"><?php echo Text::_('COM_BANNERS_COUNT_TRASHED_ITEMS'); ?></span>
</th>
<th scope="col" class="w-10 d-none d-md-table-cell">
Expand Down
3 changes: 2 additions & 1 deletion administrator/components/com_banners/tmpl/tracks/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
<?php echo LayoutHelper::render('joomla.searchtools.default', ['view' => $this]); ?>
<?php if (empty($this->items)) : ?>
<div class="alert alert-info">
<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); ?>
<span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo Text::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
</div>
<?php else : ?>
Expand Down
5 changes: 3 additions & 2 deletions administrator/components/com_cache/tmpl/cache/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@
<div class="col-md-12">
<div id="j-main-container" class="j-main-container">
<div class="alert alert-info">
<span class="fas fa-info-circle" aria-hidden="true"></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); ?>
<span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo Text::_('COM_CACHE_PURGE_INSTRUCTIONS'); ?>
</div>
<?php echo LayoutHelper::render('joomla.searchtools.default', ['view' => $this]); ?>
<?php if (!$this->data) : ?>
<div class="alert alert-info">
<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); ?>
<span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo Text::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
</div>
<?php else : ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\LanguageHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Session\Session;
use Joomla\Database\ParameterType;

Expand Down Expand Up @@ -178,7 +179,8 @@ protected function getInput()
. ' data-toggle="modal"'
. ' type="button"'
. ' data-target="#ModalNew' . $modalId . '">'
. '<span class="fas fa-plus" aria-hidden="true"></span> ' . Text::_('JACTION_CREATE')
. LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'new'])
. ' ' . Text::_('JACTION_CREATE')
. '</button>';
}

Expand All @@ -203,7 +205,8 @@ protected function getInput()
. ' id="' . $this->id . '_clear"'
. ' type="button"'
. ' onclick="window.processModalParent(\'' . $this->id . '\'); return false;">'
. '<span class="fas fa-times" aria-hidden="true"></span> ' . Text::_('JCLEAR')
. LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'times'])
. Text::_('JCLEAR')
. '</button>';
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
?>
<?php if (empty($this->items)) : ?>
<div class="alert alert-info">
<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); ?>
<span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo Text::_('JGLOBAL_NO_MATCHING_RESULTS'); ?>
</div>
<?php else : ?>
Expand All @@ -84,25 +85,25 @@
</th>
<?php if (isset($this->items[0]) && property_exists($this->items[0], 'count_published')) : ?>
<th scope="col" class="w-3 text-center d-none d-md-table-cell">
<span class="fas fa-check" aria-hidden="true" title="<?php echo Text::_('COM_CATEGORY_COUNT_PUBLISHED_ITEMS'); ?>"></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'check', 'title' => Text::_('COM_CATEGORY_COUNT_PUBLISHED_ITEMS')]); ?>
<span class="sr-only"><?php echo Text::_('COM_CATEGORY_COUNT_PUBLISHED_ITEMS'); ?></span>
</th>
<?php endif; ?>
<?php if (isset($this->items[0]) && property_exists($this->items[0], 'count_unpublished')) : ?>
<th scope="col" class="w-3 text-center d-none d-md-table-cell">
<span class="fas fa-times" aria-hidden="true" title="<?php echo Text::_('COM_CATEGORY_COUNT_UNPUBLISHED_ITEMS'); ?>"></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'times', 'title' => Text::_('COM_CATEGORY_COUNT_UNPUBLISHED_ITEMS')]); ?>
<span class="sr-only"><?php echo Text::_('COM_CATEGORY_COUNT_UNPUBLISHED_ITEMS'); ?></span>
</th>
<?php endif; ?>
<?php if (isset($this->items[0]) && property_exists($this->items[0], 'count_archived')) : ?>
<th scope="col" class="w-3 text-center d-none d-md-table-cell">
<span class="fas fa-folder" aria-hidden="true" title="<?php echo Text::_('COM_CATEGORY_COUNT_ARCHIVED_ITEMS'); ?>"></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'folder', 'title' => Text::_('COM_CATEGORY_COUNT_ARCHIVED_ITEMS')]); ?>
<span class="sr-only"><?php echo Text::_('COM_CATEGORY_COUNT_ARCHIVED_ITEMS'); ?></span>
</th>
<?php endif; ?>
<?php if (isset($this->items[0]) && property_exists($this->items[0], 'count_trashed')) : ?>
<th scope="col" class="w-3 text-center d-none d-md-table-cell">
<span class="fas fa-trash" aria-hidden="true" title="<?php echo Text::_('COM_CATEGORY_COUNT_TRASHED_ITEMS'); ?>"></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'trash', 'title' => Text::_('COM_CATEGORY_COUNT_TRASHED_ITEMS')]); ?>
<span class="sr-only"><?php echo Text::_('COM_CATEGORY_COUNT_TRASHED_ITEMS'); ?></span>
</th>
<?php endif; ?>
Expand Down Expand Up @@ -175,7 +176,7 @@
}
?>
<span class="sortable-handler<?php echo $iconClass ?>">
<span class="fas fa-ellipsis-v"></span>
<?php echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'ellipsis-v']); ?>
</span>
<?php if ($canChange && $saveOrder) : ?>
<input type="text" class="hidden" name="order[]" size="5" value="<?php echo $item->lft; ?>">
Expand Down