diff --git a/administrator/components/com_actionlogs/src/Field/PlugininfoField.php b/administrator/components/com_actionlogs/src/Field/PlugininfoField.php index b3daabbe43fd5..9433b0732c5ab 100644 --- a/administrator/components/com_actionlogs/src/Field/PlugininfoField.php +++ b/administrator/components/com_actionlogs/src/Field/PlugininfoField.php @@ -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; /** @@ -59,9 +60,8 @@ protected function getInput() ); return '
' - . '' - . Text::_('INFO') - . '' + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']) + . '' . Text::_('INFO') . '' . Text::sprintf('PLG_SYSTEM_ACTIONLOGS_JOOMLA_ACTIONLOG_DISABLED_REDIRECT', $link) . '
'; } diff --git a/administrator/components/com_actionlogs/tmpl/actionlogs/default.php b/administrator/components/com_actionlogs/tmpl/actionlogs/default.php index 146ce4cb1f982..a809172ddf2c3 100644 --- a/administrator/components/com_actionlogs/tmpl/actionlogs/default.php +++ b/administrator/components/com_actionlogs/tmpl/actionlogs/default.php @@ -34,7 +34,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_admin/tmpl/profile/edit.php b/administrator/components/com_admin/tmpl/profile/edit.php index 97f0a051985e4..93d983b3961fa 100644 --- a/administrator/components/com_admin/tmpl/profile/edit.php +++ b/administrator/components/com_admin/tmpl/profile/edit.php @@ -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; @@ -68,12 +69,14 @@ class="form-validate"
- + 'info']); ?> +
otpConfig->otep)) : ?>
- + 'warning']); ?> +
diff --git a/administrator/components/com_associations/src/Field/Modal/AssociationField.php b/administrator/components/com_associations/src/Field/Modal/AssociationField.php index 811321a9a7634..43ab6a1885f75 100644 --- a/administrator/components/com_associations/src/Field/Modal/AssociationField.php +++ b/administrator/components/com_associations/src/Field/Modal/AssociationField.php @@ -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; /** @@ -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">' - . ' ' + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'file']) + . ' ' . '' . ''; @@ -80,7 +82,8 @@ protected function getInput() . ' class="btn btn-secondary' . ($value ? '' : ' hidden') . '"' . ' onclick="return Joomla.submitbutton(\'undo-association\');"' . ' id="remove-assoc">' - . ' ' . Text::_('JCLEAR') + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'times']) + . ' ' . Text::_('JCLEAR') . ''; $html[] = ''; diff --git a/administrator/components/com_associations/src/View/Association/HtmlView.php b/administrator/components/com_associations/src/View/Association/HtmlView.php index 2701b56b108d5..5596b94072fe0 100644 --- a/administrator/components/com_associations/src/View/Association/HtmlView.php +++ b/administrator/components/com_associations/src/View/Association/HtmlView.php @@ -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; @@ -370,13 +371,15 @@ protected function addToolbar(): void $bar->appendButton( 'Custom', '', 'reference' ); $bar->appendButton( 'Custom', '', 'target' ); diff --git a/administrator/components/com_associations/tmpl/associations/default.php b/administrator/components/com_associations/tmpl/associations/default.php index d16f0d345179b..d56951466986b 100644 --- a/administrator/components/com_associations/tmpl/associations/default.php +++ b/administrator/components/com_associations/tmpl/associations/default.php @@ -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); @@ -43,12 +43,14 @@ $this)); ?> state->get('itemtype') == '' || $this->state->get('language') == '') : ?>
- + 'info']); ?> +
items)) : ?>
- + 'info']); ?> +
@@ -102,7 +104,7 @@ typeSupports['state'])) : ?> - + $iconStates[$this->escape($item->state)]]); ?> diff --git a/administrator/components/com_associations/tmpl/associations/modal.php b/administrator/components/com_associations/tmpl/associations/modal.php index af2dd3be63c16..7eeb031c47d61 100644 --- a/administrator/components/com_associations/tmpl/associations/modal.php +++ b/administrator/components/com_associations/tmpl/associations/modal.php @@ -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]); @@ -51,7 +51,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
@@ -101,7 +102,7 @@ typeSupports['state'])) : ?> - + $iconStates[$this->escape($item->state)]]); ?> diff --git a/administrator/components/com_banners/src/Field/ClicksField.php b/administrator/components/com_banners/src/Field/ClicksField.php index 84c12ea0eb067..09cec62aea1d3 100644 --- a/administrator/components/com_banners/src/Field/ClicksField.php +++ b/administrator/components/com_banners/src/Field/ClicksField.php @@ -13,6 +13,7 @@ use Joomla\CMS\Form\FormField; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; /** * Clicks field. @@ -43,6 +44,7 @@ protected function getInput() return '
' . '
'; + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'refresh']) + . ' ' . Text::_('COM_BANNERS_RESET_CLICKS') . ''; } } diff --git a/administrator/components/com_banners/src/Field/ImpmadeField.php b/administrator/components/com_banners/src/Field/ImpmadeField.php index c20f14f5c82a8..1c4a50a76ab6b 100644 --- a/administrator/components/com_banners/src/Field/ImpmadeField.php +++ b/administrator/components/com_banners/src/Field/ImpmadeField.php @@ -13,6 +13,7 @@ use Joomla\CMS\Form\FormField; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; /** * Impressions field. @@ -43,6 +44,7 @@ protected function getInput() return '
' . '
'; + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'refresh']) + . ' ' . Text::_('COM_BANNERS_RESET_IMPMADE') . ''; } } diff --git a/administrator/components/com_banners/tmpl/banners/default.php b/administrator/components/com_banners/tmpl/banners/default.php index b5132e84c7d72..97b99b30eafb3 100644 --- a/administrator/components/com_banners/tmpl/banners/default.php +++ b/administrator/components/com_banners/tmpl/banners/default.php @@ -43,7 +43,8 @@ ?> items)) : ?>
- + 'info']); ?> +
@@ -116,7 +117,7 @@ } ?> - + 'ellipsis-v']); ?> items)) : ?>
- + 'info']); ?> +
@@ -73,15 +74,15 @@ - + 'times', 'title' => Text::_('COM_BANNERS_COUNT_UNPUBLISHED_ITEMS')]); ?> - + 'folder', 'title' => Text::_('COM_BANNERS_COUNT_ARCHIVED_ITEMS')]); ?> - + 'trash', 'title' => Text::_('COM_BANNERS_COUNT_TRASHED_ITEMS')]); ?> diff --git a/administrator/components/com_banners/tmpl/tracks/default.php b/administrator/components/com_banners/tmpl/tracks/default.php index 27b006f191e97..74c6fc7a7dce4 100644 --- a/administrator/components/com_banners/tmpl/tracks/default.php +++ b/administrator/components/com_banners/tmpl/tracks/default.php @@ -26,7 +26,8 @@ $this]); ?> items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_cache/tmpl/cache/default.php b/administrator/components/com_cache/tmpl/cache/default.php index d88a2ccd56855..345aecf49813a 100644 --- a/administrator/components/com_cache/tmpl/cache/default.php +++ b/administrator/components/com_cache/tmpl/cache/default.php @@ -30,14 +30,15 @@
- + 'info']); ?>
$this]); ?> data) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_categories/src/Field/Modal/CategoryField.php b/administrator/components/com_categories/src/Field/Modal/CategoryField.php index a4962902b778c..b10e6e8cdacdf 100644 --- a/administrator/components/com_categories/src/Field/Modal/CategoryField.php +++ b/administrator/components/com_categories/src/Field/Modal/CategoryField.php @@ -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; @@ -178,7 +179,8 @@ protected function getInput() . ' data-toggle="modal"' . ' type="button"' . ' data-target="#ModalNew' . $modalId . '">' - . ' ' . Text::_('JACTION_CREATE') + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'new']) + . ' ' . Text::_('JACTION_CREATE') . ''; } @@ -203,7 +205,8 @@ protected function getInput() . ' id="' . $this->id . '_clear"' . ' type="button"' . ' onclick="window.processModalParent(\'' . $this->id . '\'); return false;">' - . ' ' . Text::_('JCLEAR') + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'times']) + . Text::_('JCLEAR') . ''; } diff --git a/administrator/components/com_categories/tmpl/categories/default.php b/administrator/components/com_categories/tmpl/categories/default.php index f249729f566cf..1c83f0c38ceba 100644 --- a/administrator/components/com_categories/tmpl/categories/default.php +++ b/administrator/components/com_categories/tmpl/categories/default.php @@ -58,7 +58,8 @@ ?> items)) : ?>
- + 'info']); ?> +
@@ -84,25 +85,25 @@ items[0]) && property_exists($this->items[0], 'count_published')) : ?> - + 'check', 'title' => Text::_('COM_CATEGORY_COUNT_PUBLISHED_ITEMS')]); ?> items[0]) && property_exists($this->items[0], 'count_unpublished')) : ?> - + 'times', 'title' => Text::_('COM_CATEGORY_COUNT_UNPUBLISHED_ITEMS')]); ?> items[0]) && property_exists($this->items[0], 'count_archived')) : ?> - + 'folder', 'title' => Text::_('COM_CATEGORY_COUNT_ARCHIVED_ITEMS')]); ?> items[0]) && property_exists($this->items[0], 'count_trashed')) : ?> - + 'trash', 'title' => Text::_('COM_CATEGORY_COUNT_TRASHED_ITEMS')]); ?> @@ -175,7 +176,7 @@ } ?> - + 'ellipsis-v']); ?> diff --git a/administrator/components/com_categories/tmpl/categories/modal.php b/administrator/components/com_categories/tmpl/categories/modal.php index b9de3a5c4148c..88a2ec4077f4a 100644 --- a/administrator/components/com_categories/tmpl/categories/modal.php +++ b/administrator/components/com_categories/tmpl/categories/modal.php @@ -40,7 +40,8 @@ items)) : ?>
- + 'info']); ?> +
@@ -72,10 +73,10 @@ 'fas fa-trash', - 0 => 'fas fa-times', - 1 => 'fas fa-check', - 2 => 'fas fa-folder', + -2 => 'trash', + 0 => 'times', + 1 => 'check', + 2 => 'folder', ); ?> items as $i => $item) : ?> @@ -102,7 +103,7 @@ ?> - + $iconStates[$this->escape($item->published)]]); ?> $item->level)); ?> diff --git a/administrator/components/com_config/tmpl/component/default.php b/administrator/components/com_config/tmpl/component/default.php index 970b1ebb543f6..48ccc40edda1e 100644 --- a/administrator/components/com_config/tmpl/component/default.php +++ b/administrator/components/com_config/tmpl/component/default.php @@ -13,6 +13,7 @@ use Joomla\CMS\Form\FormHelper; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; $app = Factory::getApplication(); @@ -105,7 +106,8 @@ description)) : ?>
- + 'info']); ?> + description); ?>
@@ -133,7 +135,8 @@
- + 'info']); ?> +
diff --git a/administrator/components/com_contact/src/Field/Modal/ContactField.php b/administrator/components/com_contact/src/Field/Modal/ContactField.php index 4949db95a44f8..dce994f2a3216 100644 --- a/administrator/components/com_contact/src/Field/Modal/ContactField.php +++ b/administrator/components/com_contact/src/Field/Modal/ContactField.php @@ -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; @@ -167,7 +168,8 @@ protected function getInput() . ' data-toggle="modal"' . ' type="button"' . ' data-target="#ModalNew' . $modalId . '">' - . ' ' . Text::_('JACTION_CREATE') + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'add']) + . ' ' . Text::_('JACTION_CREATE') . ''; } @@ -192,7 +194,8 @@ protected function getInput() . ' id="' . $this->id . '_clear"' . ' type="button"' . ' onclick="window.processModalParent(\'' . $this->id . '\'); return false;">' - . ' ' . Text::_('JCLEAR') + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'times']) + . Text::_('JCLEAR') . ''; } diff --git a/administrator/components/com_contact/tmpl/contacts/default.php b/administrator/components/com_contact/tmpl/contacts/default.php index 126aa0c61ad80..8197d291e7fcc 100644 --- a/administrator/components/com_contact/tmpl/contacts/default.php +++ b/administrator/components/com_contact/tmpl/contacts/default.php @@ -40,7 +40,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
@@ -117,7 +118,7 @@ } ?> - + 'ellipsis-v']); ?> items)) : ?>
- + 'info']); ?> +
@@ -88,10 +89,10 @@ 'fas fa-trash', - 0 => 'fas fa-times', - 1 => 'fas fa-check', - 2 => 'fas fa-folder', + -2 => 'trash', + 0 => 'times', + 1 => 'check', + 2 => 'folder', ); ?> items as $i => $item) : ?> @@ -117,7 +118,7 @@ ?> - + $iconStates[$this->escape($item->published)]]); ?> diff --git a/administrator/components/com_content/src/Field/Modal/ArticleField.php b/administrator/components/com_content/src/Field/Modal/ArticleField.php index 7afb664ab1329..ccafca96aa5a0 100644 --- a/administrator/components/com_content/src/Field/Modal/ArticleField.php +++ b/administrator/components/com_content/src/Field/Modal/ArticleField.php @@ -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; @@ -170,7 +171,8 @@ protected function getInput() . ' data-toggle="modal"' . ' type="button"' . ' data-target="#ModalNew' . $modalId . '">' - . ' ' . Text::_('JACTION_CREATE') + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'add']) + . ' ' . Text::_('JACTION_CREATE') . ''; } @@ -195,7 +197,8 @@ protected function getInput() . ' id="' . $this->id . '_clear"' . ' type="button"' . ' onclick="window.processModalParent(\'' . $this->id . '\'); return false;">' - . ' ' . Text::_('JCLEAR') + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'times']) + . Text::_('JCLEAR') . ''; } diff --git a/administrator/components/com_content/tmpl/articles/default.php b/administrator/components/com_content/tmpl/articles/default.php index 4b617f9e791e6..16f23382a05eb 100644 --- a/administrator/components/com_content/tmpl/articles/default.php +++ b/administrator/components/com_content/tmpl/articles/default.php @@ -102,7 +102,8 @@ ?> items)) : ?>
- + 'info']); ?> +
@@ -207,7 +208,7 @@ } ?> - + 'ellipsis-v']); ?> diff --git a/administrator/components/com_content/tmpl/articles/modal.php b/administrator/components/com_content/tmpl/articles/modal.php index 360999f69eedb..7fff4d3cd2bcd 100644 --- a/administrator/components/com_content/tmpl/articles/modal.php +++ b/administrator/components/com_content/tmpl/articles/modal.php @@ -54,7 +54,8 @@ items)) : ?>
- + 'info']); ?> +
@@ -91,9 +92,9 @@ 'fas fa-trash', - 0 => 'fas fa-times', - 1 => 'fas fa-check', + -2 => 'trash', + 0 => 'times', + 1 => 'check', ); ?> items as $i => $item) : ?> @@ -119,7 +120,7 @@ ?> - + $iconStates[$this->escape($item->state)]]); ?> escape($onclick) . '"' diff --git a/administrator/components/com_content/tmpl/featured/default.php b/administrator/components/com_content/tmpl/featured/default.php index 92fa306694097..8da3fd8d096b7 100644 --- a/administrator/components/com_content/tmpl/featured/default.php +++ b/administrator/components/com_content/tmpl/featured/default.php @@ -99,7 +99,8 @@ ?> items)) : ?>
- + 'info']); ?> +
@@ -207,7 +208,7 @@ } ?> - + 'ellipsis-v']); ?> diff --git a/administrator/components/com_contenthistory/tmpl/history/modal.php b/administrator/components/com_contenthistory/tmpl/history/modal.php index a4e5c4eb86e4b..1e4acfe86b1fe 100644 --- a/administrator/components/com_contenthistory/tmpl/history/modal.php +++ b/administrator/components/com_contenthistory/tmpl/history/modal.php @@ -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\CMS\Session\Session; @@ -51,11 +52,11 @@
diff --git a/administrator/components/com_cpanel/src/View/Cpanel/HtmlView.php b/administrator/components/com_cpanel/src/View/Cpanel/HtmlView.php index 5f6c557cfc2de..feaac2673adba 100644 --- a/administrator/components/com_cpanel/src/View/Cpanel/HtmlView.php +++ b/administrator/components/com_cpanel/src/View/Cpanel/HtmlView.php @@ -124,7 +124,7 @@ public function display($tpl = null) } elseif ($parts[0] === 'help') { - $icon = 'fas fa-info-circle'; + $icon = 'info'; } elseif ($lang->hasKey($keyIcon)) { diff --git a/administrator/components/com_cpanel/tmpl/cpanel/default.php b/administrator/components/com_cpanel/tmpl/cpanel/default.php index d4e367ae80729..d282eced1dd4f 100644 --- a/administrator/components/com_cpanel/tmpl/cpanel/default.php +++ b/administrator/components/com_cpanel/tmpl/cpanel/default.php @@ -13,6 +13,7 @@ use Joomla\CMS\Helper\ModuleHelper; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; // Load JavaScript message titles @@ -41,7 +42,8 @@ 'url' => Route::_('index.php?option=com_cpanel&task=addModule&function=jSelectModuleType&position=' . $this->escape($this->position)), 'bodyHeight' => '70', 'modalWidth' => '80', - 'footer' => '' . '', diff --git a/administrator/components/com_csp/tmpl/reports/default.php b/administrator/components/com_csp/tmpl/reports/default.php index 5eb781ae01f3d..b6e3322c6d52c 100644 --- a/administrator/components/com_csp/tmpl/reports/default.php +++ b/administrator/components/com_csp/tmpl/reports/default.php @@ -65,7 +65,8 @@ items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_fields/tmpl/fields/default.php b/administrator/components/com_fields/tmpl/fields/default.php index b5a070750d821..553cb821b1a0f 100644 --- a/administrator/components/com_fields/tmpl/fields/default.php +++ b/administrator/components/com_fields/tmpl/fields/default.php @@ -54,7 +54,8 @@ $this, 'options' => array('selectorFieldName' => 'context'))); ?> items)) : ?>
- + 'info']); ?> +
@@ -116,7 +117,7 @@ - + 'ellipsis-v']); ?> diff --git a/administrator/components/com_fields/tmpl/fields/modal.php b/administrator/components/com_fields/tmpl/fields/modal.php index 44836f5b54b7e..7e4389dca4c4b 100644 --- a/administrator/components/com_fields/tmpl/fields/modal.php +++ b/administrator/components/com_fields/tmpl/fields/modal.php @@ -35,7 +35,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
@@ -73,16 +74,16 @@ 'fas fa-trash', - 0 => 'fas fa-times', - 1 => 'fas fa-check', - 2 => 'fas fa-folder', + -2 => 'trash', + 0 => 'times', + 1 => 'check', + 2 => 'folder', ); foreach ($this->items as $i => $item) : ?> - + $iconStates[$this->escape($item->state)]]); ?>
escape($item->title); ?> diff --git a/administrator/components/com_fields/tmpl/groups/default.php b/administrator/components/com_fields/tmpl/groups/default.php index aac8b68bcb7a9..ef1c758e2f2de 100644 --- a/administrator/components/com_fields/tmpl/groups/default.php +++ b/administrator/components/com_fields/tmpl/groups/default.php @@ -52,7 +52,8 @@ $this, 'options' => array('selectorFieldName' => 'context'))); ?> items)) : ?>
- + 'info']); ?> +
@@ -108,7 +109,7 @@ - + 'ellipsis-v']); ?> diff --git a/administrator/components/com_finder/tmpl/filters/default.php b/administrator/components/com_finder/tmpl/filters/default.php index ac28e672655f0..8a523ffaf10a8 100644 --- a/administrator/components/com_finder/tmpl/filters/default.php +++ b/administrator/components/com_finder/tmpl/filters/default.php @@ -34,7 +34,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_finder/tmpl/index/default.php b/administrator/components/com_finder/tmpl/index/default.php index 5ded62eff6473..4381d634a00ed 100644 --- a/administrator/components/com_finder/tmpl/index/default.php +++ b/administrator/components/com_finder/tmpl/index/default.php @@ -36,7 +36,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_finder/tmpl/maps/default.php b/administrator/components/com_finder/tmpl/maps/default.php index 290ee7b6d608e..9c8c2c7154582 100644 --- a/administrator/components/com_finder/tmpl/maps/default.php +++ b/administrator/components/com_finder/tmpl/maps/default.php @@ -36,7 +36,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
@@ -63,11 +64,11 @@ - + 'check']); ?> - + 'times']); ?> diff --git a/administrator/components/com_finder/tmpl/searches/default.php b/administrator/components/com_finder/tmpl/searches/default.php index 4706e6c6bf0f2..5d8d1cc68a296 100644 --- a/administrator/components/com_finder/tmpl/searches/default.php +++ b/administrator/components/com_finder/tmpl/searches/default.php @@ -27,7 +27,8 @@ $this, 'options' => array('filterButton' => false))); ?> items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_installer/tmpl/database/default.php b/administrator/components/com_installer/tmpl/database/default.php index 7c845057cb76f..47f1e76e39ee4 100644 --- a/administrator/components/com_installer/tmpl/database/default.php +++ b/administrator/components/com_installer/tmpl/database/default.php @@ -29,7 +29,8 @@ $this)); ?> changeSet)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_installer/tmpl/discover/default.php b/administrator/components/com_installer/tmpl/discover/default.php index eaf82e3668875..eb4ffdadb64e5 100644 --- a/administrator/components/com_installer/tmpl/discover/default.php +++ b/administrator/components/com_installer/tmpl/discover/default.php @@ -33,11 +33,13 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
- + 'info']); ?> +
diff --git a/administrator/components/com_installer/tmpl/install/default.php b/administrator/components/com_installer/tmpl/install/default.php index cf480503879e2..3dfb2d26ab405 100644 --- a/administrator/components/com_installer/tmpl/install/default.php +++ b/administrator/components/com_installer/tmpl/install/default.php @@ -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; // Load JavaScript message titles @@ -45,7 +46,8 @@
- + 'warning']); ?> +
diff --git a/administrator/components/com_installer/tmpl/installer/default_ftp.php b/administrator/components/com_installer/tmpl/installer/default_ftp.php index e0c2fc1c75bdf..813839348022e 100644 --- a/administrator/components/com_installer/tmpl/installer/default_ftp.php +++ b/administrator/components/com_installer/tmpl/installer/default_ftp.php @@ -10,6 +10,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; ?>
@@ -17,7 +18,7 @@
- + 'info']); ?>
diff --git a/administrator/components/com_installer/tmpl/languages/default.php b/administrator/components/com_installer/tmpl/languages/default.php index 6cb6ce7a915a2..94d27d757f976 100644 --- a/administrator/components/com_installer/tmpl/languages/default.php +++ b/administrator/components/com_installer/tmpl/languages/default.php @@ -28,7 +28,8 @@ $this, 'options' => array('filterButton' => false))); ?> items)) : ?>
- + 'info']); ?> +
@@ -81,7 +82,7 @@ version, $minorVersion) !== 0 || strpos($language->version, $currentShortVersion) !== 0) : ?> version; ?> - + 'info', 'tabindex' => 0]); ?> diff --git a/administrator/components/com_installer/tmpl/manage/default.php b/administrator/components/com_installer/tmpl/manage/default.php index 99dadf25f7236..0b6d483f38128 100644 --- a/administrator/components/com_installer/tmpl/manage/default.php +++ b/administrator/components/com_installer/tmpl/manage/default.php @@ -37,7 +37,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_installer/tmpl/update/default.php b/administrator/components/com_installer/tmpl/update/default.php index 566ed858403ed..783d235a65bf0 100644 --- a/administrator/components/com_installer/tmpl/update/default.php +++ b/administrator/components/com_installer/tmpl/update/default.php @@ -37,7 +37,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_installer/tmpl/updatesites/default.php b/administrator/components/com_installer/tmpl/updatesites/default.php index 321642a9e0628..245289adcde1f 100644 --- a/administrator/components/com_installer/tmpl/updatesites/default.php +++ b/administrator/components/com_installer/tmpl/updatesites/default.php @@ -32,7 +32,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_installer/tmpl/warnings/default.php b/administrator/components/com_installer/tmpl/warnings/default.php index 6e26bb8c2626f..803b90597cc96 100644 --- a/administrator/components/com_installer/tmpl/warnings/default.php +++ b/administrator/components/com_installer/tmpl/warnings/default.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; ?> @@ -23,7 +24,7 @@ messages as $message) : ?>

- + 'warning-2']); ?>

@@ -32,7 +33,7 @@

- + 'info']); ?>

@@ -40,7 +41,7 @@
- + 'info']); ?>
diff --git a/administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_preupdatecheck.php b/administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_preupdatecheck.php index b8ceb0a724c1b..53f227de046e9 100644 --- a/administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_preupdatecheck.php +++ b/administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_preupdatecheck.php @@ -10,6 +10,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\Component\Joomlaupdate\Administrator\View\Joomlaupdate\HtmlView; /** @var HtmlView $this */ @@ -49,7 +50,7 @@ state ? 'JYES' : 'JNO'); ?> notice) : ?> - + 'info', 'suffix' => 'icon-white', 'title' => $option->notice]); ?> diff --git a/administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_reinstall.php b/administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_reinstall.php index 0f05f89929c85..66e308c83071b 100644 --- a/administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_reinstall.php +++ b/administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_reinstall.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Updater\Update; use Joomla\Component\Joomlaupdate\Administrator\View\Joomlaupdate\HtmlView; @@ -21,13 +22,13 @@

- + 'info']); ?>

langKey, $this->updateSourceKey); ?>

- + 'check-circle']); ?>

diff --git a/administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_upload.php b/administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_upload.php index ed7f7aac7ce6c..a509ab2e410fc 100644 --- a/administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_upload.php +++ b/administrator/components/com_joomlaupdate/tmpl/joomlaupdate/default_upload.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Utility\Utility; use Joomla\Component\Joomlaupdate\Administrator\View\Joomlaupdate\HtmlView; @@ -23,7 +24,8 @@ ?>
- + 'info']); ?> +
@@ -32,7 +34,7 @@ warnings as $warning) : ?>

- + 'warning-2']); ?>

@@ -41,7 +43,7 @@

- + 'info']); ?>

diff --git a/administrator/components/com_joomlaupdate/tmpl/update/finaliseconfirm.php b/administrator/components/com_joomlaupdate/tmpl/update/finaliseconfirm.php index 555d38db19659..2afc9f4ea779d 100644 --- a/administrator/components/com_joomlaupdate/tmpl/update/finaliseconfirm.php +++ b/administrator/components/com_joomlaupdate/tmpl/update/finaliseconfirm.php @@ -13,6 +13,7 @@ use Joomla\CMS\Helper\AuthenticationHelper; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; HTMLHelper::_('behavior.keepalive'); @@ -86,7 +87,7 @@
- + 'times']); ?> diff --git a/administrator/components/com_media/layouts/toolbar/delete.php b/administrator/components/com_media/layouts/toolbar/delete.php index ff39499ed1f82..7ce7f546548a1 100644 --- a/administrator/components/com_media/layouts/toolbar/delete.php +++ b/administrator/components/com_media/layouts/toolbar/delete.php @@ -11,6 +11,7 @@ use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; Factory::getDocument()->getWebAssetManager() ->useScript('webcomponent.toolbar-button'); @@ -19,7 +20,7 @@ ?> diff --git a/administrator/components/com_menus/src/Field/Modal/MenuField.php b/administrator/components/com_menus/src/Field/Modal/MenuField.php index 54189ed1440fe..b50e343347c22 100644 --- a/administrator/components/com_menus/src/Field/Modal/MenuField.php +++ b/administrator/components/com_menus/src/Field/Modal/MenuField.php @@ -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; @@ -302,7 +303,8 @@ protected function getInput() . ' data-toggle="modal"' . ' type="button"' . ' data-target="#ModalNew' . $modalId . '">' - . ' ' . Text::_('JACTION_CREATE') + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'add']) + . ' ' . Text::_('JACTION_CREATE') . ''; } @@ -327,7 +329,8 @@ protected function getInput() . ' id="' . $this->id . '_clear"' . ' type="button"' . ' onclick="window.processModalParent(\'' . $this->id . '\'); return false;">' - . ' ' . Text::_('JCLEAR') + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'times']) + . Text::_('JCLEAR') . ''; } diff --git a/administrator/components/com_menus/tmpl/item/edit_container.php b/administrator/components/com_menus/tmpl/item/edit_container.php index a085b79108a0f..cd914ca745f3d 100644 --- a/administrator/components/com_menus/tmpl/item/edit_container.php +++ b/administrator/components/com_menus/tmpl/item/edit_container.php @@ -9,6 +9,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\Component\Menus\Administrator\Helper\MenusHelper; use Joomla\Registry\Registry; @@ -44,7 +45,8 @@
- + 'info']); ?> +
diff --git a/administrator/components/com_menus/tmpl/items/default.php b/administrator/components/com_menus/tmpl/items/default.php index 007bfaa5ef34b..d5bc4db5e282e 100644 --- a/administrator/components/com_menus/tmpl/items/default.php +++ b/administrator/components/com_menus/tmpl/items/default.php @@ -154,7 +154,7 @@ } ?> - + 'ellipsis-v']); ?> items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_menus/tmpl/menus/default.php b/administrator/components/com_menus/tmpl/menus/default.php index 3f89f2d73691a..b59791b2c8c7e 100644 --- a/administrator/components/com_menus/tmpl/menus/default.php +++ b/administrator/components/com_menus/tmpl/menus/default.php @@ -47,7 +47,8 @@ $this, 'options' => array('filterButton' => false))); ?> items)) : ?>
- + 'info']); ?> +
@@ -69,15 +70,15 @@ - + 'check']); ?> - + 'times']); ?> - + 'trash']); ?> diff --git a/administrator/components/com_messages/tmpl/messages/default.php b/administrator/components/com_messages/tmpl/messages/default.php index 3717e09c4d209..cfee68b146029 100644 --- a/administrator/components/com_messages/tmpl/messages/default.php +++ b/administrator/components/com_messages/tmpl/messages/default.php @@ -26,7 +26,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_modules/layouts/toolbar/cancelselect.php b/administrator/components/com_modules/layouts/toolbar/cancelselect.php index 39038afb4a52e..b8d2695b403cc 100644 --- a/administrator/components/com_modules/layouts/toolbar/cancelselect.php +++ b/administrator/components/com_modules/layouts/toolbar/cancelselect.php @@ -10,11 +10,12 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; $text = Text::_('JTOOLBAR_CANCEL'); ?> diff --git a/administrator/components/com_modules/tmpl/module/edit.php b/administrator/components/com_modules/tmpl/module/edit.php index 1131090748f6f..0045bf5996e83 100644 --- a/administrator/components/com_modules/tmpl/module/edit.php +++ b/administrator/components/com_modules/tmpl/module/edit.php @@ -119,7 +119,8 @@
- + 'warning-2']); ?> +
diff --git a/administrator/components/com_modules/tmpl/module/edit_assignment.php b/administrator/components/com_modules/tmpl/module/edit_assignment.php index 4331917c5bf97..0a4c410898f5f 100644 --- a/administrator/components/com_modules/tmpl/module/edit_assignment.php +++ b/administrator/components/com_modules/tmpl/module/edit_assignment.php @@ -12,6 +12,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Multilanguage; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\Component\Menus\Administrator\Helper\MenusHelper; use Joomla\Component\Modules\Administrator\Helper\ModulesHelper; @@ -140,11 +141,11 @@ diff --git a/administrator/components/com_modules/tmpl/modules/default.php b/administrator/components/com_modules/tmpl/modules/default.php index c85741b74134a..05fc59f5800b6 100644 --- a/administrator/components/com_modules/tmpl/modules/default.php +++ b/administrator/components/com_modules/tmpl/modules/default.php @@ -111,7 +111,7 @@ } ?> - + 'ellipsis-v']); ?> diff --git a/administrator/components/com_modules/tmpl/modules/modal.php b/administrator/components/com_modules/tmpl/modules/modal.php index c01d89bbe820b..491cdce083378 100644 --- a/administrator/components/com_modules/tmpl/modules/modal.php +++ b/administrator/components/com_modules/tmpl/modules/modal.php @@ -79,16 +79,16 @@ 'fas fa-trash', - 0 => 'fas fa-times', - 1 => 'fas fa-check', - 2 => 'fas fa-folder', + -2 => 'trash', + 0 => 'times', + 1 => 'check', + 2 => 'folder', ); foreach ($this->items as $i => $item) : ?> - + $iconStates[$this->escape($item->published)]]); ?> diff --git a/administrator/components/com_modules/tmpl/select/default.php b/administrator/components/com_modules/tmpl/select/default.php index 68c58849dd801..b1a20083f2db8 100644 --- a/administrator/components/com_modules/tmpl/select/default.php +++ b/administrator/components/com_modules/tmpl/select/default.php @@ -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; $app = Factory::getApplication(); @@ -43,7 +44,7 @@ class="form-control" id="comModulesSelectSearch" >
diff --git a/administrator/components/com_newsfeeds/src/Field/Modal/NewsfeedField.php b/administrator/components/com_newsfeeds/src/Field/Modal/NewsfeedField.php index b5fa2500154f5..885f23842cdca 100644 --- a/administrator/components/com_newsfeeds/src/Field/Modal/NewsfeedField.php +++ b/administrator/components/com_newsfeeds/src/Field/Modal/NewsfeedField.php @@ -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; @@ -168,7 +169,8 @@ protected function getInput() . ' data-toggle="modal"' . ' type="button"' . ' data-target="#ModalNew' . $modalId . '">' - . ' ' . Text::_('JACTION_CREATE') + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'add']) + . ' ' . Text::_('JACTION_CREATE') . ''; } @@ -193,7 +195,8 @@ protected function getInput() . ' id="' . $this->id . '_clear"' . ' type="button"' . ' onclick="window.processModalParent(\'' . $this->id . '\'); return false;">' - . ' ' . Text::_('JCLEAR') + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'times']) + . Text::_('JCLEAR') . ''; } diff --git a/administrator/components/com_newsfeeds/tmpl/newsfeeds/default.php b/administrator/components/com_newsfeeds/tmpl/newsfeeds/default.php index 7851ee27c5e15..9026a4766243d 100644 --- a/administrator/components/com_newsfeeds/tmpl/newsfeeds/default.php +++ b/administrator/components/com_newsfeeds/tmpl/newsfeeds/default.php @@ -39,7 +39,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
@@ -113,7 +114,7 @@ } ?> - + 'ellipsis-v']); ?> diff --git a/administrator/components/com_newsfeeds/tmpl/newsfeeds/modal.php b/administrator/components/com_newsfeeds/tmpl/newsfeeds/modal.php index e3e35286ec0c6..7d353993cf5fb 100644 --- a/administrator/components/com_newsfeeds/tmpl/newsfeeds/modal.php +++ b/administrator/components/com_newsfeeds/tmpl/newsfeeds/modal.php @@ -34,7 +34,8 @@ items)) : ?>
- + 'info']); ?> +
@@ -68,10 +69,10 @@ 'fas fa-trash', - 0 => 'fas fa-times', - 1 => 'fas fa-check', - 2 => 'fas fa-folder', + -2 => 'trash', + 0 => 'times', + 1 => 'check', + 2 => 'folder', ); ?> items as $i => $item) : ?> @@ -97,7 +98,7 @@ ?> - + $iconStates[$this->escape($item->published)]]); ?>
diff --git a/administrator/components/com_plugins/tmpl/plugin/edit.php b/administrator/components/com_plugins/tmpl/plugin/edit.php index 0ddfa54c4be76..240458f0ede76 100644 --- a/administrator/components/com_plugins/tmpl/plugin/edit.php +++ b/administrator/components/com_plugins/tmpl/plugin/edit.php @@ -97,7 +97,8 @@
- + 'warning-2']); ?> +
diff --git a/administrator/components/com_plugins/tmpl/plugins/default.php b/administrator/components/com_plugins/tmpl/plugins/default.php index f311c259901dd..9bb726472c376 100644 --- a/administrator/components/com_plugins/tmpl/plugins/default.php +++ b/administrator/components/com_plugins/tmpl/plugins/default.php @@ -34,7 +34,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
@@ -96,7 +97,7 @@ } ?> - + 'ellipsis-v']); ?> diff --git a/administrator/components/com_postinstall/tmpl/messages/default.php b/administrator/components/com_postinstall/tmpl/messages/default.php index 2801cec0b82c6..f6fa8e2b80aa8 100644 --- a/administrator/components/com_postinstall/tmpl/messages/default.php +++ b/administrator/components/com_postinstall/tmpl/messages/default.php @@ -13,6 +13,7 @@ use Joomla\CMS\Helper\ModuleHelper; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; $lang = Factory::getLanguage(); @@ -52,7 +53,7 @@

- + 'eye-open']); ?>
diff --git a/administrator/components/com_privacy/tmpl/capabilities/default.php b/administrator/components/com_privacy/tmpl/capabilities/default.php index 8e933626f165f..777f9c956c8ff 100644 --- a/administrator/components/com_privacy/tmpl/capabilities/default.php +++ b/administrator/components/com_privacy/tmpl/capabilities/default.php @@ -10,6 +10,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; /** @var PrivacyViewCapabilities $this */ @@ -21,7 +22,8 @@
capabilities)) : ?>
- + 'info']); ?> +
@@ -30,7 +32,8 @@
- + 'info']); ?> +
diff --git a/administrator/components/com_privacy/tmpl/consents/default.php b/administrator/components/com_privacy/tmpl/consents/default.php index 4a58ac21e8e8b..3f739a45ab4b8 100644 --- a/administrator/components/com_privacy/tmpl/consents/default.php +++ b/administrator/components/com_privacy/tmpl/consents/default.php @@ -37,7 +37,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_privacy/tmpl/request/default.php b/administrator/components/com_privacy/tmpl/request/default.php index a8d48a402bcc8..a3c3f44ce12b9 100644 --- a/administrator/components/com_privacy/tmpl/request/default.php +++ b/administrator/components/com_privacy/tmpl/request/default.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\Component\Actionlogs\Administrator\Helper\ActionlogsHelper; @@ -48,7 +49,8 @@
actionlogs)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_privacy/tmpl/requests/default.php b/administrator/components/com_privacy/tmpl/requests/default.php index 1830ebd9f2966..df0e908f0fb66 100644 --- a/administrator/components/com_privacy/tmpl/requests/default.php +++ b/administrator/components/com_privacy/tmpl/requests/default.php @@ -35,7 +35,8 @@ $this)); ?> items)) : ?>
- + 'info']); ?> +
@@ -82,7 +83,7 @@ status == 1 && $item->request_type === 'remove') : ?> - + 'times']); ?>
diff --git a/administrator/components/com_redirect/tmpl/links/default.php b/administrator/components/com_redirect/tmpl/links/default.php index 1f8706be091fa..9e45f292b881b 100644 --- a/administrator/components/com_redirect/tmpl/links/default.php +++ b/administrator/components/com_redirect/tmpl/links/default.php @@ -53,7 +53,8 @@ items)) : ?>
- + 'info']); ?> +
diff --git a/administrator/components/com_tags/tmpl/tags/default.php b/administrator/components/com_tags/tmpl/tags/default.php index 3d47be4f26762..e10e3b86b60f3 100644 --- a/administrator/components/com_tags/tmpl/tags/default.php +++ b/administrator/components/com_tags/tmpl/tags/default.php @@ -64,7 +64,8 @@ ?> items)) : ?>
- + 'info']); ?> +
@@ -91,22 +92,26 @@ items[0]) && property_exists($this->items[0], 'count_published')) : ?> - + 'check', 'title' => Text::_('COM_TAGS_COUNT_PUBLISHED_ITEMS')]); ?> + items[0]) && property_exists($this->items[0], 'count_unpublished')) : ?> - + 'times', 'title' => Text::_('COM_TAGS_COUNT_UNPUBLISHED_ITEMS')]); ?> + items[0]) && property_exists($this->items[0], 'count_archived')) : ?> - + 'folder', 'title' => Text::_('COM_TAGS_COUNT_ARCHIVED_ITEMS')]); ?> + items[0]) && property_exists($this->items[0], 'count_trashed')) : ?> - + 'trash', 'title' => Text::_('COM_TAGS_COUNT_TRASHED_ITEMS')]); ?> + @@ -178,7 +183,7 @@ } ?> - + 'ellipsis-v']); ?> diff --git a/administrator/components/com_templates/src/View/Template/HtmlView.php b/administrator/components/com_templates/src/View/Template/HtmlView.php index 0b6b42447d124..0a9383983574c 100644 --- a/administrator/components/com_templates/src/View/Template/HtmlView.php +++ b/administrator/components/com_templates/src/View/Template/HtmlView.php @@ -290,7 +290,7 @@ protected function addToolbar() ToolbarHelper::modal('renameModal', 'fas fa-sync', 'COM_TEMPLATES_BUTTON_RENAME_FILE'); // Add a Delete file Button - ToolbarHelper::modal('deleteModal', 'fas fa-times', 'COM_TEMPLATES_BUTTON_DELETE_FILE', 'btn-danger'); + ToolbarHelper::modal('deleteModal', 'times', 'COM_TEMPLATES_BUTTON_DELETE_FILE', 'btn-danger'); } } diff --git a/administrator/components/com_templates/tmpl/styles/default.php b/administrator/components/com_templates/tmpl/styles/default.php index 28da75c06320f..6a62d0eeeede7 100644 --- a/administrator/components/com_templates/tmpl/styles/default.php +++ b/administrator/components/com_templates/tmpl/styles/default.php @@ -89,7 +89,7 @@ - + 'eye-close', 'title' => Text::_('COM_TEMPLATES_TEMPLATE_NO_PREVIEW')]); ?> diff --git a/administrator/components/com_templates/tmpl/template/default.php b/administrator/components/com_templates/tmpl/template/default.php index 2675452f76907..b7a0c43c9a3b0 100644 --- a/administrator/components/com_templates/tmpl/template/default.php +++ b/administrator/components/com_templates/tmpl/template/default.php @@ -147,7 +147,7 @@ archive as $file) : ?>
  • -   + 'folder', 'fixed' => true]); ?>    @@ -263,7 +263,7 @@ overridesList['components'] as $key => $value) : ?>
  • -   + 'folder']); ?> 
      @@ -291,7 +291,7 @@ overridesList['plugins'] as $key => $group) : ?>
    • -   + 'folder']); ?> 
        @@ -319,7 +319,7 @@ overridesList['layouts'] as $key => $value) : ?>
      • -   + 'folder']); ?> 
          diff --git a/administrator/components/com_templates/tmpl/template/default_folders.php b/administrator/components/com_templates/tmpl/template/default_folders.php index e434ff043417a..93856b4da4cc6 100644 --- a/administrator/components/com_templates/tmpl/template/default_folders.php +++ b/administrator/components/com_templates/tmpl/template/default_folders.php @@ -7,6 +7,8 @@ * @license GNU General Public License version 2 or later; see LICENSE.txt */ +use Joomla\CMS\Layout\LayoutHelper; + defined('_JEXEC') or die; ksort($this->files, SORT_STRING); ?> @@ -16,7 +18,7 @@
        • - + 'folder', 'fixed' => true]); ?> escape(end($explodeArray)); ?> folderTree($value); ?> diff --git a/administrator/components/com_templates/tmpl/template/default_tree.php b/administrator/components/com_templates/tmpl/template/default_tree.php index 7324ee771caa3..9bd4f03bda53c 100644 --- a/administrator/components/com_templates/tmpl/template/default_tree.php +++ b/administrator/components/com_templates/tmpl/template/default_tree.php @@ -9,6 +9,7 @@ defined('_JEXEC') or die; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; ksort($this->files, SORT_NATURAL); @@ -51,7 +52,7 @@ ?>
        • -  escape(end($explodeArray)); ?> + 'folder', 'fixed' => true]); ?> escape(end($explodeArray)); ?> directoryTree($value); ?>
        • diff --git a/administrator/components/com_templates/tmpl/template/default_updated_files.php b/administrator/components/com_templates/tmpl/template/default_updated_files.php index 6acaa40fcf030..f13b4b9179210 100644 --- a/administrator/components/com_templates/tmpl/template/default_updated_files.php +++ b/administrator/components/com_templates/tmpl/template/default_updated_files.php @@ -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; $input = Factory::getApplication()->input; @@ -81,7 +82,8 @@
          - + 'check']); ?> +
          diff --git a/administrator/components/com_users/src/Service/HTML/Users.php b/administrator/components/com_users/src/Service/HTML/Users.php index 039c84bc9e00b..243e62e0b3063 100644 --- a/administrator/components/com_users/src/Service/HTML/Users.php +++ b/administrator/components/com_users/src/Service/HTML/Users.php @@ -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\Router\Route; use Joomla\CMS\Uri\Uri; use Joomla\Database\ParameterType; @@ -66,8 +67,9 @@ public function addNote($userId) $title = Text::_('COM_USERS_ADD_NOTE'); return ' ' . $title . ''; + . '" class="btn btn-secondary btn-sm">' + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'add']) + . ' ' . $title . ''; } /** @@ -113,7 +115,9 @@ public function notes($count, $userId) $title = Text::plural('COM_USERS_N_USER_NOTES', $count); return ''; + . '" data-toggle="modal" class="dropdown-item">' + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'eye-open']) + . ' ' . $title . ''; } /** diff --git a/administrator/components/com_users/tmpl/debuggroup/default.php b/administrator/components/com_users/tmpl/debuggroup/default.php index dd8e7a761b75f..eb5554662b44e 100644 --- a/administrator/components/com_users/tmpl/debuggroup/default.php +++ b/administrator/components/com_users/tmpl/debuggroup/default.php @@ -62,24 +62,29 @@ $name = $action[0]; $check = $item->checks[$name]; if ($check === true) : - $class = 'text-success fas fa-check'; + $icon = 'check'; + $class = 'text-success'; $button = 'btn-success'; $text = Text::_('COM_USERS_DEBUG_EXPLICIT_ALLOW'); elseif ($check === false) : - $class = 'text-danger fas fa-times'; + $icon = 'times'; + $class = 'text-danger'; $button = 'btn-danger'; $text = Text::_('COM_USERS_DEBUG_EXPLICIT_DENY'); elseif ($check === null) : - $class = 'text-danger fas fa-minus-circle'; + $icon = 'fas fa-minus-circle'; + $class = 'text-danger'; $button = 'btn-warning'; $text = Text::_('COM_USERS_DEBUG_IMPLICIT_DENY'); else : + $icon = ''; $class = ''; $button = ''; $text = ''; endif; ?> + $icon, 'class' => $class]); ?> @@ -97,8 +102,8 @@
             -    -   + 'check', 'suffix' => 'text-success']); ?>   + 'times', 'suffix' => 'text-danger']); ?> 
          diff --git a/administrator/components/com_users/tmpl/debuguser/default.php b/administrator/components/com_users/tmpl/debuguser/default.php index 0f08fa2b8ab12..1ae2ea0a5bbae 100644 --- a/administrator/components/com_users/tmpl/debuguser/default.php +++ b/administrator/components/com_users/tmpl/debuguser/default.php @@ -62,25 +62,29 @@ $name = $action[0]; $check = $item->checks[$name]; if ($check === true) : - $class = 'text-success fas fa-check'; + $icon = 'check'; + $class = 'text-success'; $button = 'btn-success'; $text = Text::_('COM_USERS_DEBUG_EXPLICIT_ALLOW'); elseif ($check === false) : - $class = 'text-danger fas fa-times'; + $icon = 'times'; + $class = 'text-danger'; $button = 'btn-danger'; $text = Text::_('COM_USERS_DEBUG_EXPLICIT_DENY'); elseif ($check === null) : - $class = 'text-danger fas fa-minus-circle'; + $icon = 'fas fa-minus-circle'; + $class = 'text-danger'; $button = 'btn-warning'; $text = Text::_('COM_USERS_DEBUG_IMPLICIT_DENY'); else : + $icon = ''; $class = ''; $button = ''; $text = ''; endif; ?> - + $icon, 'class' => $class]); ?> @@ -97,8 +101,8 @@
             -    - + 'check', 'suffix' => 'text-success']); ?>   + 'times', 'suffix' => 'text-danger']); ?> 
          diff --git a/administrator/components/com_users/tmpl/groups/default.php b/administrator/components/com_users/tmpl/groups/default.php index 5fd5ceaf79e3b..05d08b20475d9 100644 --- a/administrator/components/com_users/tmpl/groups/default.php +++ b/administrator/components/com_users/tmpl/groups/default.php @@ -36,7 +36,8 @@ $this, 'options' => array('filterButton' => false))); ?> items)) : ?>
          - + 'info']); ?> +
          @@ -58,11 +59,11 @@ - + 'check', 'title' => Text::_('COM_USERS_COUNT_ENABLED_USERS')]); ?> - + 'times', 'title' => Text::_('COM_USERS_COUNT_DISABLED_USERS')]); ?> diff --git a/administrator/components/com_users/tmpl/levels/default.php b/administrator/components/com_users/tmpl/levels/default.php index bbe650748c183..f97272bbd3f05 100644 --- a/administrator/components/com_users/tmpl/levels/default.php +++ b/administrator/components/com_users/tmpl/levels/default.php @@ -39,7 +39,8 @@ items)) : ?>
          - + 'info']); ?> +
          @@ -105,7 +106,7 @@ } ?> - + 'ellipsis-v']); ?> diff --git a/administrator/components/com_users/tmpl/notes/default.php b/administrator/components/com_users/tmpl/notes/default.php index bd6891735edb8..71ba559b347cd 100644 --- a/administrator/components/com_users/tmpl/notes/default.php +++ b/administrator/components/com_users/tmpl/notes/default.php @@ -30,7 +30,8 @@ items)) : ?>
          - + 'info']); ?> +
          diff --git a/administrator/components/com_users/tmpl/user/edit.php b/administrator/components/com_users/tmpl/user/edit.php index 9ebf8394e2c06..f36f9be3e8422 100644 --- a/administrator/components/com_users/tmpl/user/edit.php +++ b/administrator/components/com_users/tmpl/user/edit.php @@ -89,12 +89,14 @@
          - + 'info']); ?> +
          otpConfig->otep)) : ?>
          - + 'warning']); ?> +
          diff --git a/administrator/components/com_users/tmpl/users/default.php b/administrator/components/com_users/tmpl/users/default.php index 10b0c4c95a4e8..b6e2af32eab6a 100644 --- a/administrator/components/com_users/tmpl/users/default.php +++ b/administrator/components/com_users/tmpl/users/default.php @@ -36,7 +36,8 @@ ?> items)) : ?>
          - + 'info']); ?> +
          @@ -159,10 +160,10 @@ otpKey)) : ?> - + 'check']); ?> - + 'times']); ?> diff --git a/administrator/components/com_users/tmpl/users/modal.php b/administrator/components/com_users/tmpl/users/modal.php index aa61accdf3cf7..620b227c02b84 100644 --- a/administrator/components/com_users/tmpl/users/modal.php +++ b/administrator/components/com_users/tmpl/users/modal.php @@ -21,8 +21,8 @@ $field = $input->getCmd('field'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); -$enabledStates = array(0 => 'fas fa-check', 1 => 'fas fa-times'); -$activatedStates = array(0 => 'fas fa-check', 1 => 'fas fa-times'); +$enabledStates = array(0 => 'check', 1 => 'times'); +$activatedStates = array(0 => 'check', 1 => 'times'); $userRequired = (int) $input->get('required', 0, 'int'); $onClick = "window.parent.jSelectUser(this);window.parent.Joomla.Modal.getCurrent().close()"; @@ -38,7 +38,8 @@ $this)); ?> items)) : ?>
          - + 'info']); ?> +
          diff --git a/administrator/components/com_workflow/tmpl/stages/default.php b/administrator/components/com_workflow/tmpl/stages/default.php index 51182e169b732..b435c70c337dd 100644 --- a/administrator/components/com_workflow/tmpl/stages/default.php +++ b/administrator/components/com_workflow/tmpl/stages/default.php @@ -48,7 +48,8 @@ ?> stages)) : ?>
          - + 'info']); ?> +
          @@ -106,7 +107,7 @@ } ?> - + 'ellipsis-v']); ?> diff --git a/administrator/components/com_workflow/tmpl/transitions/default.php b/administrator/components/com_workflow/tmpl/transitions/default.php index 3b136be8fe52e..1553a9c28e79f 100644 --- a/administrator/components/com_workflow/tmpl/transitions/default.php +++ b/administrator/components/com_workflow/tmpl/transitions/default.php @@ -47,7 +47,8 @@ ?> transitions)) : ?>
          - + 'info']); ?> +
          @@ -107,7 +108,7 @@ } ?> - + 'ellipsis-v']); ?> diff --git a/administrator/components/com_workflow/tmpl/workflows/default.php b/administrator/components/com_workflow/tmpl/workflows/default.php index 9708c813e9bbb..175a45078dc9a 100644 --- a/administrator/components/com_workflow/tmpl/workflows/default.php +++ b/administrator/components/com_workflow/tmpl/workflows/default.php @@ -57,7 +57,8 @@ ?> workflows)) : ?>
          - + 'info']); ?> +
          @@ -123,7 +124,7 @@ } ?> - + 'ellipsis-v']); ?> diff --git a/administrator/modules/mod_login/tmpl/default.php b/administrator/modules/mod_login/tmpl/default.php index f5062f38f9b26..c6c85ebed126a 100644 --- a/administrator/modules/mod_login/tmpl/default.php +++ b/administrator/modules/mod_login/tmpl/default.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ @@ -65,7 +66,7 @@ class="form-control input-full" > diff --git a/administrator/modules/mod_privacy_status/tmpl/default.php b/administrator/modules/mod_privacy_status/tmpl/default.php index 53b630c86d78b..adb2e88a9b7d9 100644 --- a/administrator/modules/mod_privacy_status/tmpl/default.php +++ b/administrator/modules/mod_privacy_status/tmpl/default.php @@ -10,6 +10,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; ?> @@ -25,17 +26,17 @@ - + 'success']); ?> - + 'warning-2']); ?> - + 'warning-2']); ?> @@ -54,17 +55,17 @@ - + 'success']); ?> - + 'warning-2']); ?> - + 'warning-2']); ?> @@ -80,12 +81,12 @@ - + 'success']); ?> - + 'warning-2']); ?> @@ -102,12 +103,12 @@ - + 'success']); ?> - + 'warning-2']); ?> @@ -125,12 +126,12 @@ - + 'success']); ?> - + 'warning-2']); ?> diff --git a/administrator/modules/mod_quickicon/src/Helper/QuickIconHelper.php b/administrator/modules/mod_quickicon/src/Helper/QuickIconHelper.php index c3ad142049a46..7b672c0d1090e 100644 --- a/administrator/modules/mod_quickicon/src/Helper/QuickIconHelper.php +++ b/administrator/modules/mod_quickicon/src/Helper/QuickIconHelper.php @@ -123,7 +123,7 @@ public static function &getButtons(Registry $params, CMSApplication $application if ($params->get('show_categories')) { $tmp = [ - 'image' => 'fas fa-folder-open', + 'image' => 'folder-open', 'link' => Route::_('index.php?option=com_categories&view=categories&extension=com_content'), 'linkadd' => Route::_('index.php?option=com_categories&task=category.add'), 'name' => 'MOD_QUICKICON_CATEGORY_MANAGER', diff --git a/administrator/modules/mod_sampledata/tmpl/default.php b/administrator/modules/mod_sampledata/tmpl/default.php index 95c4d8ec50e12..3f6e1de246ca2 100644 --- a/administrator/modules/mod_sampledata/tmpl/default.php +++ b/administrator/modules/mod_sampledata/tmpl/default.php @@ -10,6 +10,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Uri\Uri; $app->getDocument()->getWebAssetManager() @@ -56,7 +57,8 @@
        - + 'warning']); ?> +
        diff --git a/components/com_config/tmpl/config/default.php b/components/com_config/tmpl/config/default.php index 3107b2194a23d..20c58cb583e6e 100644 --- a/components/com_config/tmpl/config/default.php +++ b/components/com_config/tmpl/config/default.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ @@ -24,11 +25,11 @@
        diff --git a/components/com_config/tmpl/modules/default.php b/components/com_config/tmpl/modules/default.php index 686048d0b1b4b..f5bb308bac011 100644 --- a/components/com_config/tmpl/modules/default.php +++ b/components/com_config/tmpl/modules/default.php @@ -14,6 +14,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Multilanguage; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; HTMLHelper::_('behavior.combobox'); @@ -49,15 +50,15 @@
        diff --git a/components/com_config/tmpl/templates/default.php b/components/com_config/tmpl/templates/default.php index 48e4b1cfb6744..d3474e1ad1209 100644 --- a/components/com_config/tmpl/templates/default.php +++ b/components/com_config/tmpl/templates/default.php @@ -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; $user = Factory::getUser(); @@ -27,11 +28,11 @@ diff --git a/components/com_contact/tmpl/categories/default_items.php b/components/com_contact/tmpl/categories/default_items.php index 6685faa2d61b8..871b1ac587945 100644 --- a/components/com_contact/tmpl/categories/default_items.php +++ b/components/com_contact/tmpl/categories/default_items.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\Component\Contact\Site\Helper\RouteHelper; @@ -37,7 +38,7 @@ class="btn btn-secondary btn-sm float-right" aria-label="" > - + 'collapse']); ?> diff --git a/components/com_contact/tmpl/form/edit.php b/components/com_contact/tmpl/form/edit.php index dd8614c0deaf0..05076f8e49257 100644 --- a/components/com_contact/tmpl/form/edit.php +++ b/components/com_contact/tmpl/form/edit.php @@ -66,11 +66,11 @@
  • params->get('save_history', 0) && $this->item->id) : ?> diff --git a/components/com_content/tmpl/archive/default_items.php b/components/com_content/tmpl/archive/default_items.php index bebb15dbbc81e..3d2f815913180 100644 --- a/components/com_content/tmpl/archive/default_items.php +++ b/components/com_content/tmpl/archive/default_items.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\Component\Content\Site\Helper\RouteHelper; @@ -214,7 +215,7 @@ get('show_hits')) : ?>
    - + 'hits']); ?> hits); ?>
    diff --git a/components/com_content/tmpl/categories/default_items.php b/components/com_content/tmpl/categories/default_items.php index b3c7750e301df..faa5ac9909973 100644 --- a/components/com_content/tmpl/categories/default_items.php +++ b/components/com_content/tmpl/categories/default_items.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\Component\Content\Site\Helper\RouteHelper; @@ -38,7 +39,7 @@ class="btn btn-secondary btn-sm float-right" aria-label="" > - + 'collapse']); ?> diff --git a/components/com_content/tmpl/category/blog_children.php b/components/com_content/tmpl/category/blog_children.php index ceed4bd0247ec..ca850e66448e1 100644 --- a/components/com_content/tmpl/category/blog_children.php +++ b/components/com_content/tmpl/category/blog_children.php @@ -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\Content\Site\Helper\RouteHelper; @@ -37,7 +38,7 @@ escape($child->title); ?> maxLevel > 1 && count($child->getChildren()) > 0) : ?> - + 'collapse']); ?> @@ -51,7 +52,7 @@ maxLevel > 1 && count($child->getChildren()) > 0) : ?> - + 'collapse']); ?> diff --git a/components/com_content/tmpl/category/default_children.php b/components/com_content/tmpl/category/default_children.php index 5dbc2974006e5..ee42e3dea6ded 100644 --- a/components/com_content/tmpl/category/default_children.php +++ b/components/com_content/tmpl/category/default_children.php @@ -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\Content\Site\Helper\RouteHelper; @@ -37,7 +38,7 @@ escape($child->title); ?> getChildren()) > 0 && $this->maxLevel > 1) : ?> - + 'collapse']); ?> @@ -50,7 +51,7 @@ getChildren()) > 0 && $this->maxLevel > 1) : ?> - + 'collapse']); ?> diff --git a/components/com_content/tmpl/form/edit.php b/components/com_content/tmpl/form/edit.php index 76955e9da6185..d5c8b1a5e9341 100644 --- a/components/com_content/tmpl/form/edit.php +++ b/components/com_content/tmpl/form/edit.php @@ -156,11 +156,11 @@
    get('save_history', 0) && $this->item->id) : ?> diff --git a/components/com_finder/tmpl/search/default_form.php b/components/com_finder/tmpl/search/default_form.php index aa440b8434c00..5be4cdf3179b4 100644 --- a/components/com_finder/tmpl/search/default_form.php +++ b/components/com_finder/tmpl/search/default_form.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; /* @@ -38,12 +39,12 @@ params->get('show_advanced', 1)) : ?> - + 'search-plus']); ?> diff --git a/components/com_newsfeeds/tmpl/categories/default_items.php b/components/com_newsfeeds/tmpl/categories/default_items.php index 4aab1e258827d..e9dbc5ce61457 100644 --- a/components/com_newsfeeds/tmpl/categories/default_items.php +++ b/components/com_newsfeeds/tmpl/categories/default_items.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\Component\Newsfeeds\Site\Helper\RouteHelper; @@ -38,7 +39,7 @@ class="btn btn-secondary btn-sm float-right" aria-label="" > - + 'collapse']); ?> diff --git a/components/com_privacy/tmpl/request/default.php b/components/com_privacy/tmpl/request/default.php index 081882c05d2c4..49c2f33db9619 100644 --- a/components/com_privacy/tmpl/request/default.php +++ b/components/com_privacy/tmpl/request/default.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; /** @var \Joomla\Component\Privacy\Site\View\Request\HtmlView $this */ @@ -48,7 +49,8 @@
    - + 'warning']); ?> +
    diff --git a/components/com_tags/tmpl/tag/default_items.php b/components/com_tags/tmpl/tag/default_items.php index 43eaeb0948ef0..61951b28962a1 100644 --- a/components/com_tags/tmpl/tag/default_items.php +++ b/components/com_tags/tmpl/tag/default_items.php @@ -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\CMS\Uri\Uri; use Joomla\Component\Tags\Site\Helper\RouteHelper; @@ -40,10 +41,10 @@
    diff --git a/components/com_tags/tmpl/tag/list_items.php b/components/com_tags/tmpl/tag/list_items.php index 5b519dace4833..cb6674ba1ba8d 100644 --- a/components/com_tags/tmpl/tag/list_items.php +++ b/components/com_tags/tmpl/tag/list_items.php @@ -11,6 +11,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; @@ -32,10 +33,10 @@
    diff --git a/components/com_tags/tmpl/tags/default_items.php b/components/com_tags/tmpl/tags/default_items.php index 55f35a037e3ae..cdac2ef2574c6 100644 --- a/components/com_tags/tmpl/tags/default_items.php +++ b/components/com_tags/tmpl/tags/default_items.php @@ -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\CMS\Uri\Uri; use Joomla\Component\Tags\Site\Helper\RouteHelper; @@ -59,10 +60,10 @@
    diff --git a/components/com_users/tmpl/profile/edit.php b/components/com_users/tmpl/profile/edit.php index 4124c0b728126..a2524525f528c 100644 --- a/components/com_users/tmpl/profile/edit.php +++ b/components/com_users/tmpl/profile/edit.php @@ -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; HTMLHelper::_('bootstrap.tooltip'); @@ -103,12 +104,14 @@
    - + 'info']); ?> +
    otpConfig->otep)) : ?>
    - + 'warning']); ?> +
    diff --git a/installation/template/error.php b/installation/template/error.php index 6433122027744..465252607ac3c 100644 --- a/installation/template/error.php +++ b/installation/template/error.php @@ -9,6 +9,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; /** @var JDocumentError $this */ @@ -63,12 +64,13 @@
    - + 'error']); ?> +
    - + 'warning-2', 'suffix' => 'alert-icon']); ?>

    diff --git a/installation/template/index.php b/installation/template/index.php index 37b14ea9b8824..7994aaf23a91f 100644 --- a/installation/template/index.php +++ b/installation/template/index.php @@ -9,6 +9,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; use Joomla\CMS\Version; @@ -83,7 +84,7 @@
    diff --git a/installation/tmpl/preinstall/default.php b/installation/tmpl/preinstall/default.php index e7bc1700207e3..f8a219d9621f7 100644 --- a/installation/tmpl/preinstall/default.php +++ b/installation/tmpl/preinstall/default.php @@ -10,6 +10,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; HTMLHelper::_('behavior.formvalidator'); @@ -20,14 +21,14 @@
    - + 'check']); ?>
    options as $option) : ?> state === 'JNO' || $option->state === false) : ?>
    - + 'warning-2', 'suffix' => 'alert-icon']); ?>
    label; ?> @@ -63,7 +64,7 @@
    form->getLabel('ftp_host'); ?>
    - form->getInput('ftp_host'); ?> + form->getInput('ftp_host'); ?>
    @@ -75,7 +76,7 @@
    - +
    diff --git a/installation/tmpl/remove/default.php b/installation/tmpl/remove/default.php index d3cc6832cd1bf..1fa94adb01ec2 100644 --- a/installation/tmpl/remove/default.php +++ b/installation/tmpl/remove/default.php @@ -10,6 +10,7 @@ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Uri\Uri; HTMLHelper::_('behavior.formvalidator'); @@ -188,7 +189,7 @@ class="j-install-step-form flex-column mt-5 border rounded d-none"
    diff --git a/layouts/joomla/content/icons/create.php b/layouts/joomla/content/icons/create.php index a26fd9241f97f..093fad79e20cc 100644 --- a/layouts/joomla/content/icons/create.php +++ b/layouts/joomla/content/icons/create.php @@ -10,12 +10,13 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; $params = $displayData['params']; ?> get('show_icons')) : ?> - + 'new', 'fixed' => true]); ?> diff --git a/layouts/joomla/content/info_block/category.php b/layouts/joomla/content/info_block/category.php index 8f4ba088f798f..7e6e5883e6421 100644 --- a/layouts/joomla/content/info_block/category.php +++ b/layouts/joomla/content/info_block/category.php @@ -16,7 +16,7 @@ ?>
    - 'fa-folder-open fa-fw']); ?> + 'folder-open', 'fixed' => true]); ?> escape($displayData['item']->category_title); ?> get('link_category') && !empty($displayData['item']->catid)) : ?>
    - + 'hits', 'fixed' => true]); ?> hits); ?>
    diff --git a/layouts/joomla/edit/metadata.php b/layouts/joomla/edit/metadata.php index 94309e1499368..35d975d36a4f8 100644 --- a/layouts/joomla/edit/metadata.php +++ b/layouts/joomla/edit/metadata.php @@ -10,6 +10,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; $form = $displayData->getForm(); @@ -20,7 +21,8 @@ $fieldSet) : ?> description) && trim($fieldSet->description)) : ?>
    - + 'info']); ?> + escape(Text::_($fieldSet->description)); ?>
    diff --git a/layouts/joomla/edit/params.php b/layouts/joomla/edit/params.php index da51a483d2af9..eef041e7a6115 100644 --- a/layouts/joomla/edit/params.php +++ b/layouts/joomla/edit/params.php @@ -123,7 +123,8 @@ if (!empty($fieldSet->description)) { echo '
    '; - echo '' . Text::_('INFO') . ' '; + echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); + echo '' . Text::_('INFO') . ' '; echo Text::_($fieldSet->description); echo '
    '; } @@ -160,7 +161,8 @@ if (!empty($fieldSet->description)) { echo '
    '; - echo '' . Text::_('INFO') . ' '; + echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); + echo '' . Text::_('INFO') . ' '; echo Text::_($fieldSet->description); echo '
    '; } @@ -173,7 +175,8 @@ elseif (!empty($fieldSet->description)) { echo '
    '; - echo '' . Text::_('INFO') . ' '; + echo LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'info']); + echo '' . Text::_('INFO') . ' '; echo Text::_($fieldSet->description); echo '
    '; } diff --git a/layouts/joomla/form/field/media.php b/layouts/joomla/form/field/media.php index d15b13270138a..a1a198c32c4ee 100644 --- a/layouts/joomla/form/field/media.php +++ b/layouts/joomla/form/field/media.php @@ -13,6 +13,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\CMS\Uri\Uri; @@ -163,7 +164,7 @@
    - +
    diff --git a/layouts/joomla/form/field/password.php b/layouts/joomla/form/field/password.php index ea8bf1ac62bc0..41dbbdd51db0c 100644 --- a/layouts/joomla/form/field/password.php +++ b/layouts/joomla/form/field/password.php @@ -11,6 +11,7 @@ use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; extract($displayData); @@ -142,7 +143,7 @@ > diff --git a/layouts/joomla/form/field/subform/repeatable-table.php b/layouts/joomla/form/field/subform/repeatable-table.php index 5936c5e7a5546..025e8e65af310 100644 --- a/layouts/joomla/form/field/subform/repeatable-table.php +++ b/layouts/joomla/form/field/subform/repeatable-table.php @@ -11,6 +11,7 @@ use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; extract($displayData); @@ -48,7 +49,7 @@ if ($fieldset->description) { - $table_head .= ''; + $table_head .= LayoutHelper::render('jooml.icon.iconclass', ['icon' => 'info', 'tabindex' => 0]) . ''; } $table_head .= ''; @@ -63,7 +64,7 @@ if ($field->description) { - $table_head .= ''; + $table_head .= LayoutHelper::render('jooml.icon.iconclass', ['icon' => 'info', 'tabindex' => 0]) . ''; } $table_head .= ''; @@ -95,7 +96,7 @@
    diff --git a/layouts/joomla/form/field/subform/repeatable-table/section-byfieldsets.php b/layouts/joomla/form/field/subform/repeatable-table/section-byfieldsets.php index 837af91149747..44ce6e0ef3e7b 100644 --- a/layouts/joomla/form/field/subform/repeatable-table/section-byfieldsets.php +++ b/layouts/joomla/form/field/subform/repeatable-table/section-byfieldsets.php @@ -10,6 +10,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; extract($displayData); @@ -36,7 +37,7 @@
    diff --git a/layouts/joomla/form/field/subform/repeatable-table/section.php b/layouts/joomla/form/field/subform/repeatable-table/section.php index 5166d470f60a1..7771f107adadc 100644 --- a/layouts/joomla/form/field/subform/repeatable-table/section.php +++ b/layouts/joomla/form/field/subform/repeatable-table/section.php @@ -10,6 +10,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; extract($displayData); @@ -34,7 +35,7 @@
    diff --git a/layouts/joomla/form/field/subform/repeatable.php b/layouts/joomla/form/field/subform/repeatable.php index e7ed17a273cbc..439e78bab6b76 100644 --- a/layouts/joomla/form/field/subform/repeatable.php +++ b/layouts/joomla/form/field/subform/repeatable.php @@ -11,6 +11,7 @@ use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; extract($displayData); @@ -49,7 +50,7 @@
    - + 'add', 'suffix' => 'icon-white']); ?>
    diff --git a/layouts/joomla/form/field/subform/repeatable/section-byfieldsets.php b/layouts/joomla/form/field/subform/repeatable/section-byfieldsets.php index 6604b34009c06..09d35730d5263 100644 --- a/layouts/joomla/form/field/subform/repeatable/section-byfieldsets.php +++ b/layouts/joomla/form/field/subform/repeatable/section-byfieldsets.php @@ -27,7 +27,7 @@
    diff --git a/layouts/joomla/form/field/subform/repeatable/section.php b/layouts/joomla/form/field/subform/repeatable/section.php index 09e6db02a230d..02097bce3d2b3 100644 --- a/layouts/joomla/form/field/subform/repeatable/section.php +++ b/layouts/joomla/form/field/subform/repeatable/section.php @@ -27,7 +27,7 @@
    diff --git a/layouts/joomla/icon/iconclass.php b/layouts/joomla/icon/iconclass.php index 58d50c8b71f3d..aa24dabe5bf02 100644 --- a/layouts/joomla/icon/iconclass.php +++ b/layouts/joomla/icon/iconclass.php @@ -7,11 +7,18 @@ * @license GNU General Public License version 2 or later; see LICENSE.txt */ +use Joomla\Utilities\ArrayHelper; + defined('_JEXEC') or die; // Convert icomoon to fa -$icon = $displayData['icon']; -$html = $displayData['html'] ?? true; +$icon = $displayData['icon']; +$iconFixed = $displayData['fixed'] ?? null; +$iconPrefix = 'fas fa-'; +$iconSuffix = $displayData['suffix'] ?? null; +$tabindex = $displayData['tabindex'] ?? null; +$title = $displayData['title'] ?? null; +$html = $displayData['html'] ?? true; switch ($icon) { @@ -22,18 +29,32 @@ case (strpos($icon, 'icon-') !== false): break; + case 'file': + $icon = $iconPrefix . 'file'; + break; + case 'archive': + case 'folder': case 'folder-close': case 'folder-folder-2': case 'folder-minus': case 'folder-plus-2': case 'folder-remove': case 'drawer-2': - $icon = 'fas fa-folder'; + $icon = $iconPrefix . 'folder'; break; + case 'folder-open': + $icon = $iconPrefix . 'folder-open'; + break; + + case 'check': case 'publish': - $icon = 'fas fa-check'; + $icon = $iconPrefix . 'check'; + break; + + case 'check-circle': + $icon = $iconPrefix . 'check-circle'; break; case 'unpublish': @@ -41,98 +62,189 @@ case 'delete': case 'remove': case 'times': - $icon = 'fas fa-times'; + $icon = $iconPrefix . 'times'; + break; + + case 'times-cancel': + $icon = $iconPrefix . 'times-cancel'; break; case 'new': case 'save-new': - $icon = 'fas fa-plus'; + case 'add': + case 'collapse': + $icon = $iconPrefix . 'plus'; break; case 'apply': case 'save': - $icon = 'fas fa-save'; + $icon = $iconPrefix . 'save'; break; case 'mail': - $icon = 'fas fa-envelope'; + $icon = $iconPrefix . 'envelope'; break; case 'unfeatured': case 'asterisk': - $icon = 'fas fa-star'; + $icon = $iconPrefix . 'star'; break; case 'featured': - $icon = 'fas fa-star featured'; + $icon = $iconPrefix . 'star featured'; break; case 'checkedout': case 'protected': - $icon = 'fas fa-lock'; + $icon = $iconPrefix . 'lock'; break; case 'eye-close': - $icon = 'fas fa-eye-slash'; + $icon = $iconPrefix . 'eye-slash'; break; + case 'hits'; case 'eye-open': - $icon = 'fas fa-eye'; + $icon = $iconPrefix . 'eye'; break; case 'loop': case 'refresh': case 'unblock': - $icon = 'fas fa-sync'; + $icon = $iconPrefix . 'sync'; break; case 'contract': - $icon = 'fas fa-compress'; + $icon = $iconPrefix . 'compress'; break; case 'purge': case 'trash': - $icon = 'fas fa-trash'; + $icon = $iconPrefix . 'trash'; break; case 'options': - $icon = 'fas fa-cog'; + $icon = $iconPrefix . 'cog'; break; case 'expired': - $icon = 'fas fa-minus-circle'; + $icon = $iconPrefix . 'minus-circle'; break; + case 'select-file': case 'save-copy': - $icon = 'fas fa-copy'; + $icon = $iconPrefix . 'copy'; break; + case 'success': case 'checkin': - $icon = 'fas fa-check-square'; + $icon = $iconPrefix . 'check-square'; break; case 'generic': - $icon = 'fas fa-dot-circle'; + $icon = $iconPrefix . 'dot-circle'; break; case 'list-2': - $icon = 'fas fa-list-ul'; + $icon = $iconPrefix . 'list-ul'; break; case 'default': - $icon = 'fas fa-home'; + $icon = $iconPrefix . 'home'; break; case 'crop': - $icon = 'fas fa-crop'; + $icon = $iconPrefix . 'crop'; break; case 'chevron-down': - $icon = 'fas fa-chevron-down'; + $icon = $iconPrefix . 'chevron-down'; + break; + + case 'previous': + case 'nextRtl': + $icon = $iconPrefix . 'chevron-left'; + break; + + case 'next': + case 'previousRtl': + $icon = $iconPrefix . 'chevron-right'; break; case 'move': - $icon = 'fas fa-arrows-alt'; + $icon = $iconPrefix . 'arrows-alt'; + break; + + case 'loading': + $icon = $iconPrefix . 'spinner'; + break; + + case 'question': + $icon = $iconPrefix . 'question'; + break; + + case 'register': + $icon = $iconPrefix . 'arrow-alt-circle-right'; + break; + + case 'search': + $icon = $iconPrefix . 'search'; + break; + + case 'search-plus': + $icon = $iconPrefix . 'search-plus'; + break; + + case 'ellipsis-v': + $icon = $iconPrefix . 'ellipsis-v'; + break; + + case 'ellipsis-h': + $icon = $iconPrefix . 'ellipsis-h'; + break; + + case 'sort': + $icon = $iconPrefix . 'sort'; + break; + + case 'user': + $icon = $iconPrefix . 'user'; + break; + + case 'info': + $icon = $iconPrefix . 'info-circle'; + break; + + case 'error': + $icon = $iconPrefix . 'exclamation'; + break; + + case 'warning': + $icon = $iconPrefix . 'exclamation-circle'; + break; + + case 'warning-2': + $icon = $iconPrefix . 'exclamation-triangle'; + break; + + case 'paginationStart': + case 'paginationEndRtl': + $icon = $iconPrefix . 'fa-angle-double-left'; + break; + + case 'paginationStartRtl': + case 'paginationEnd': + $icon = $iconPrefix . 'fa-angle-double-right'; + break; + + case 'paginationNext': + case 'paginationPrevRtl': + $icon = $iconPrefix . 'fa-angle-left'; + break; + + case 'paginationNextRtl': + case 'paginationPrev': + $icon = $iconPrefix . 'fa-angle-right'; break; default: @@ -140,9 +252,29 @@ break; } +if ($iconFixed) +{ + $iconFixed = 'fa-fw'; +} + if ($html !== false) { - $icon = ''; + $iconAttribs = [ + 'class' => implode(' ', [$icon, $iconFixed, $iconSuffix]), + 'aria-hidden' => "true" + ]; + + if ($tabindex) + { + $iconAttribs['tabindex'] = $tabindex; + } + + if ($title) + { + $iconAttribs['title'] = $title; + } + + $icon = ''; } -echo $icon; +echo implode(' ', [$icon, $iconFixed, $iconSuffix]); diff --git a/layouts/joomla/pagination/link.php b/layouts/joomla/pagination/link.php index 47b0d2ec12b0a..38ee44c7e3317 100644 --- a/layouts/joomla/pagination/link.php +++ b/layouts/joomla/pagination/link.php @@ -11,35 +11,37 @@ use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; -$item = $displayData['data']; -$display = $item->text; -$app = Factory::getApplication(); +$item = $displayData['data']; +$display = $item->text; +$app = Factory::getApplication(); +$direction = $app->getLanguage()->isRtl() ? "Rtl" : null; switch ((string) $item->text) { // Check for "Start" item case Text::_('JLIB_HTML_START') : - $icon = $app->getLanguage()->isRtl() ? 'fas fa-angle-double-right' : 'fas fa-angle-double-left'; + $icon = 'paginationStart' . $direction; $aria = Text::sprintf('JLIB_HTML_GOTO_POSITION', strtolower($item->text)); break; // Check for "Prev" item case $item->text === Text::_('JPREV') : $item->text = Text::_('JPREVIOUS'); - $icon = $app->getLanguage()->isRtl() ? 'fas fa-angle-right' : 'fas fa-angle-left'; - $aria =Text::sprintf('JLIB_HTML_GOTO_POSITION', strtolower($item->text)); + $icon = 'paginationPrev' . $direction; + $aria = Text::sprintf('JLIB_HTML_GOTO_POSITION', strtolower($item->text)); break; // Check for "Next" item case Text::_('JNEXT') : - $icon = $app->getLanguage()->isRtl() ? 'fas fa-angle-left' : 'fas fa-angle-right'; + $icon = 'paginationNext' . $direction; $aria = Text::sprintf('JLIB_HTML_GOTO_POSITION', strtolower($item->text)); break; // Check for "End" item case Text::_('JLIB_HTML_END') : - $icon = $app->getLanguage()->isRtl() ? 'fas fa-angle-double-left' : 'fas fa-angle-double-right'; + $icon = 'paginationEnd' . $direction; $aria = Text::sprintf('JLIB_HTML_GOTO_POSITION', strtolower($item->text)); break; @@ -51,7 +53,7 @@ if ($icon !== null) { - $display = ''; + $display = LayoutHelper::render('joomla.icon.iconclass', ['icon' => $icon]); } if ($displayData['active']) diff --git a/layouts/joomla/quickicons/icon.php b/layouts/joomla/quickicons/icon.php index 6ffc377ac5092..ea8f0852c4741 100644 --- a/layouts/joomla/quickicons/icon.php +++ b/layouts/joomla/quickicons/icon.php @@ -10,6 +10,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; $id = empty($displayData['id']) ? '' : (' id="' . $displayData['id'] . '"'); $target = empty($displayData['target']) ? '' : (' target="' . $displayData['target'] . '"'); @@ -68,7 +69,7 @@
    aria-hidden="true"> - + 'loading']); ?>
    @@ -90,7 +91,7 @@ if (isset($displayData['linkadd'])): ?> diff --git a/layouts/joomla/searchtools/default/bar.php b/layouts/joomla/searchtools/default/bar.php index 39cef9a25d166..92b1cb1a0a251 100644 --- a/layouts/joomla/searchtools/default/bar.php +++ b/layouts/joomla/searchtools/default/bar.php @@ -10,6 +10,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\Registry\Registry; $data = $displayData; @@ -48,7 +49,7 @@
    diff --git a/layouts/joomla/searchtools/default/noitems.php b/layouts/joomla/searchtools/default/noitems.php index 4e482201f6106..b1221d40b05b7 100644 --- a/layouts/joomla/searchtools/default/noitems.php +++ b/layouts/joomla/searchtools/default/noitems.php @@ -10,10 +10,12 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; $data = $displayData; ?>
    - + 'info']); ?> +
    diff --git a/layouts/joomla/tinymce/togglebutton.php b/layouts/joomla/tinymce/togglebutton.php index 79b004513275a..005fd5d1612ef 100644 --- a/layouts/joomla/tinymce/togglebutton.php +++ b/layouts/joomla/tinymce/togglebutton.php @@ -10,12 +10,13 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; ?>
    diff --git a/layouts/joomla/toolbar/title.php b/layouts/joomla/toolbar/title.php index 613b7576e82e7..06d28f5e16b51 100644 --- a/layouts/joomla/toolbar/title.php +++ b/layouts/joomla/toolbar/title.php @@ -7,6 +7,8 @@ * @license GNU General Public License version 2 or later; see LICENSE.txt */ +use Joomla\CMS\Layout\LayoutHelper; + defined('_JEXEC') or die; $icon = empty($displayData['icon']) ? 'dot-circle' : preg_replace('#\.[^ .]*$#', '', $displayData['icon']); @@ -19,6 +21,6 @@ $icon = stristr($icon, "joomla") ? str_ireplace("joomla", "fab fa-joomla", $icon) : "fas fa-" . $icon; ?>

    - + $icon]); ?>

    diff --git a/layouts/plugins/system/webauthn/manage.php b/layouts/plugins/system/webauthn/manage.php index 798c23008b241..844a0f5b4765e 100644 --- a/layouts/plugins/system/webauthn/manage.php +++ b/layouts/plugins/system/webauthn/manage.php @@ -12,6 +12,7 @@ use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\FileLayout; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Uri\Uri; use Joomla\CMS\User\User; use Joomla\CMS\User\UserHelper; @@ -105,6 +106,7 @@ @@ -134,7 +136,7 @@ id="plg_system_webauthn-manage-add" class="btn btn-success btn-block" data-random-id=""> - + 'add']); ?>

    diff --git a/libraries/src/HTML/Helpers/Grid.php b/libraries/src/HTML/Helpers/Grid.php index 4bd7c0f3eedc0..1e227bf415303 100644 --- a/libraries/src/HTML/Helpers/Grid.php +++ b/libraries/src/HTML/Helpers/Grid.php @@ -13,6 +13,7 @@ use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Table\Table; /** @@ -258,7 +259,9 @@ public static function order($rows, $image = 'filesave.png', $task = 'saveorder' { return ''; + . Text::_('JLIB_HTML_SAVE_ORDER') . '">' + . LayoutHelper::render('joomla.icon.iconclass', ['icon' => 'sort']) + . ''; } /** diff --git a/modules/mod_breadcrumbs/tmpl/default.php b/modules/mod_breadcrumbs/tmpl/default.php index 7442caeb90a89..0b64a12940a27 100644 --- a/modules/mod_breadcrumbs/tmpl/default.php +++ b/modules/mod_breadcrumbs/tmpl/default.php @@ -10,6 +10,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; ?>
    @@ -56,7 +57,7 @@ @@ -73,14 +74,14 @@
    - + 'asterisk']); ?> - + 'question']); ?>
    @@ -88,7 +89,7 @@ - + 'question']); ?>
    @@ -144,7 +145,8 @@ class="btn btn-secondary " get('allowUserRegistration')) : ?>
  • - + 'register']); ?> +
  • diff --git a/modules/mod_tags_popular/tmpl/cloud.php b/modules/mod_tags_popular/tmpl/cloud.php index 157b6f79e03f9..0a21d1139cce5 100644 --- a/modules/mod_tags_popular/tmpl/cloud.php +++ b/modules/mod_tags_popular/tmpl/cloud.php @@ -10,6 +10,7 @@ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\Component\Tags\Site\Helper\RouteHelper; @@ -21,7 +22,8 @@
    - + 'info']); ?> +
    - + 'info']); ?> +
    diff --git a/plugins/content/pagenavigation/tmpl/default.php b/plugins/content/pagenavigation/tmpl/default.php index 07c60de0af460..26c08e2036476 100644 --- a/plugins/content/pagenavigation/tmpl/default.php +++ b/plugins/content/pagenavigation/tmpl/default.php @@ -11,31 +11,33 @@ use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; +use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; -$lang = Factory::getLanguage(); ?> - +$lang = Factory::getLanguage(); +$direction = $lang->isRtl() ? 'Rtl' : null; +?>
  • - + 'info']); ?> +