-
+
+ $this)); ?>
+
fieldsets): ?>
fieldsets as $name => $fieldSet) : ?>
diff --git a/administrator/components/com_users/forms/user.xml b/administrator/components/com_users/forms/user.xml
index 11de26f71648d..b68cb2759a393 100644
--- a/administrator/components/com_users/forms/user.xml
+++ b/administrator/components/com_users/forms/user.xml
@@ -1,15 +1,15 @@
diff --git a/administrator/language/en-GB/en-GB.ini b/administrator/language/en-GB/en-GB.ini
index 00466b05c74f0..bc3946a936ee7 100644
--- a/administrator/language/en-GB/en-GB.ini
+++ b/administrator/language/en-GB/en-GB.ini
@@ -899,6 +899,7 @@ JSEARCH_FILTER_SUBMIT="Search"
JSEARCH_FILTER="Search"
JSEARCH_TITLE="Search %s"
JSEARCH_RESET="Reset"
+JSEARCH_TYPE_FILTER_TEXT="Type filter text"
JTOGGLE_SIDEBAR_LABEL="Sidebar"
JTOGGLE_HIDE_SIDEBAR="Hide the sidebar"
diff --git a/administrator/templates/atum/index.php b/administrator/templates/atum/index.php
index 00a5901a087fb..2049b8a24421a 100644
--- a/administrator/templates/atum/index.php
+++ b/administrator/templates/atum/index.php
@@ -2,7 +2,7 @@
/**
* @package Joomla.Administrator
* @subpackage Templates.Atum
- * @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
+ * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @since 4.0
*/
@@ -13,6 +13,7 @@
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Router\Route;
+use Joomla\CMS\Uri\Uri;
/** @var JDocumentHtml $this */
@@ -22,116 +23,155 @@
$wa = $this->getWebAssetManager();
// Detecting Active Variables
-$option = $input->get('option', '');
-$view = $input->get('view', '');
-$layout = $input->get('layout', '');
-$task = $input->get('task', '');
-$itemid = $input->get('Itemid', '');
-$cpanel = $option === 'com_cpanel';
-$hidden = $app->input->get('hidemainmenu');
-$logo = $this->baseurl . '/templates/' . $this->template . '/images/logo.svg';
-$logoBlue = $this->baseurl . '/templates/' . $this->template . '/images/logo-blue.svg';
+$option = $input->get('option', '');
+$view = $input->get('view', '');
+$layout = $input->get('layout', 'default');
+$task = $input->get('task', 'display');
+$itemid = $input->get('Itemid', '');
+$cpanel = $option === 'com_cpanel';
+$hiddenMenu = $app->input->get('hidemainmenu');
+$joomlaLogo = $this->baseurl . '/templates/' . $this->template . '/images/logo.svg';
+
+// Getting user accessibility settings
+$a11y_mono = (bool) $app->getIdentity()->getParam('a11y_mono', '');
+$a11y_contrast = (bool) $app->getIdentity()->getParam('a11y_contrast', '');
+$a11y_highlight = (bool) $app->getIdentity()->getParam('a11y_highlight', '');
+$a11y_font = $app->getIdentity()->getParam('a11y_font', 100);
+
+require_once __DIR__ . '/Service/HTML/Atum.php';
+
+// Template params
+$siteLogo = $this->params->get('siteLogo')
+ ? Uri::root() . htmlspecialchars($this->params->get('siteLogo'), ENT_QUOTES)
+ : $this->baseurl . '/templates/' . $this->template . '/images/logo-joomla-blue.svg';
+$smallLogo = $this->params->get('smallLogo')
+ ? Uri::root() . htmlspecialchars($this->params->get('smallLogo'), ENT_QUOTES)
+ : $this->baseurl . '/templates/' . $this->template . '/images/logo-blue.svg';
+
+$logoAlt = htmlspecialchars($this->params->get('altSiteLogo', ''), ENT_COMPAT, 'UTF-8');
+$logoSmallAlt = htmlspecialchars($this->params->get('altSmallLogo', ''), ENT_COMPAT, 'UTF-8');
// Enable assets
-$wa->enableAsset('template.atum.' . ($this->direction === 'rtl' ? 'rtl' : 'ltr'));
+$wa->usePreset('template.atum.' . ($this->direction === 'rtl' ? 'rtl' : 'ltr'))
+ ->useStyle('template.active.language')
+ ->useStyle('template.user');
-// Load specific language related CSS
-HTMLHelper::_('stylesheet', 'administrator/language/' . $lang->getTag() . '/' . $lang->getTag() . '.css', array('version' => 'auto'));
+// Override 'template.active' asset to set correct ltr/rtl dependency
+$wa->registerStyle('template.active', '', [], [], ['template.atum.' . ($this->direction === 'rtl' ? 'rtl' : 'ltr')]);
// Set some meta data
$this->setMetaData('viewport', 'width=device-width, initial-scale=1');
// @TODO sync with _variables.scss
$this->setMetaData('theme-color', '#1c3d5c');
-$this->addScriptDeclaration('cssVars();');
+$monochrome = (bool) $this->params->get('monochrome');
+
+HTMLHelper::getServiceRegistry()->register('atum', 'JHtmlAtum');
+HTMLHelper::_('atum.rootcolors', $this->params);
?>
-
+>
-
-
-
-
-
-
-