diff --git a/language/en-GB/mod_custom_quickicon.ini b/language/en-GB/mod_custom_quickicon.ini index 422550d..e11b729 100644 --- a/language/en-GB/mod_custom_quickicon.ini +++ b/language/en-GB/mod_custom_quickicon.ini @@ -59,6 +59,12 @@ MOD_CUSTOM_QUICKICON_SHOW_PRIVACYREQUEST_LABEL="Privacy Requests" MOD_CUSTOM_QUICKICON_SHOW_TEMPLATE_CODE_LABEL="Template Code Icon" MOD_CUSTOM_QUICKICON_SHOW_TEMPLATE_STYLES_LABEL="Template Styles Icon" MOD_CUSTOM_QUICKICON_SHOW_USERS_LABEL="User Icon" +MOD_CUSTOM_QUICKICON_SHOW_TAGS_LABEL="Tags Icon" +MOD_CUSTOM_QUICKICON_TAGS_MANAGER="Tags" +MOD_CUSTOM_QUICKICON_TAGS_MANAGER_ADD="Add Tag" +MOD_CUSTOM_QUICKICON_SHOW_REDIRECTS_LABEL="Redirects Icon" +MOD_CUSTOM_QUICKICON_REDIRECTS="Redirects" +MOD_CUSTOM_QUICKICON_REDIRECTS_ADD="Add Redirect" MOD_CUSTOM_QUICKICON_SITE="Icons Site" MOD_CUSTOM_QUICKICON_STRUCTURE="Structure" MOD_CUSTOM_QUICKICON_SYSTEM="Icons System" diff --git a/language/nl-NL/mod_custom_quickicon.ini b/language/nl-NL/mod_custom_quickicon.ini index f871cd3..73790c1 100644 --- a/language/nl-NL/mod_custom_quickicon.ini +++ b/language/nl-NL/mod_custom_quickicon.ini @@ -58,14 +58,17 @@ MOD_CUSTOM_QUICKICON_SHOW_OVERRIDEUPDATE_LABEL="Update controle overschrijven" MOD_CUSTOM_QUICKICON_SHOW_PLUGINS_LABEL="Plugin icoon" MOD_CUSTOM_QUICKICON_SHOW_PRIVACYREQUEST_LABEL="Privacy verzoeken" MOD_CUSTOM_QUICKICON_SHOW_TAGS_LABEL="Tags icoon" +MOD_CUSTOM_QUICKICON_TAGS_MANAGER="Tags" +MOD_CUSTOM_QUICKICON_TAGS_MANAGER_ADD="Tag toevoegen" MOD_CUSTOM_QUICKICON_SHOW_TEMPLATE_CODE_LABEL="Templatecode icoon" MOD_CUSTOM_QUICKICON_SHOW_TEMPLATE_STYLES_LABEL="Templatestijl icoon" MOD_CUSTOM_QUICKICON_SHOW_USERS_LABEL="Gebruiker icoon" +MOD_CUSTOM_QUICKICON_SHOW_REDIRECTS_LABEL="Verwijzingen icoon" +MOD_CUSTOM_QUICKICON_REDIRECTS="Verwijzingen" +MOD_CUSTOM_QUICKICON_REDIRECTS_ADD="Verwijzing toevoegen" MOD_CUSTOM_QUICKICON_SITE="Iconen site" MOD_CUSTOM_QUICKICON_STRUCTURE="Structuur" MOD_CUSTOM_QUICKICON_SYSTEM="Iconen systeem" -MOD_CUSTOM_QUICKICON_TAGS_MANAGER="Tags" -MOD_CUSTOM_QUICKICON_TAGS_MANAGER_ADD="Tag toevoegen" MOD_CUSTOM_QUICKICON_TEMPLATE_CODE="Templatecode" MOD_CUSTOM_QUICKICON_TEMPLATE_STYLES="Templatestijlen" MOD_CUSTOM_QUICKICON_TYPE="Icoontype" diff --git a/mod_custom_quickicon.xml b/mod_custom_quickicon.xml index 0ccec82..a6376fd 100644 --- a/mod_custom_quickicon.xml +++ b/mod_custom_quickicon.xml @@ -2,12 +2,12 @@ Custom Quick Icons Joomill Extensions - March 2022 + August 2022 Copyright (C) 2022 Joomill. All rights reserved. GNU General Public License version 2 or later; info@joomill-extensions.com https://www.joomill-extensions.com - 1.3.0 + 1.4.0 MOD_CUSTOM_QUICKICON_XML_DESCRIPTION Joomill\Module\Customquickicon @@ -201,6 +201,16 @@ + + + +
diff --git a/src/Helper/CustomQuickIconHelper.php b/src/Helper/CustomQuickIconHelper.php index db5c461..598450c 100644 --- a/src/Helper/CustomQuickIconHelper.php +++ b/src/Helper/CustomQuickIconHelper.php @@ -336,6 +336,17 @@ public function getButtons(Registry $params, CMSApplication $application = null) ]; } + if ($params->get('show_redirects')) { + $this->buttons[$key][] = [ + 'image' => 'fas fa-retweet', + 'link' => Route::_('index.php?option=com_redirect'), + 'linkadd' => Route::_('index.php?option=com_redirect&view=link&layout=edit'), + 'name' => 'MOD_CUSTOM_QUICKICON_REDIRECTS', + 'access' => array('core.admin', 'com_redirect'), + 'group' => $context + ]; + } + if ($params->get('show_checkin')) { $quickicon = [ 'image' => 'icon-unlock-alt',