芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/chicxulubpuebloyucatan.gob.mx/administrator/templates/atum/login.php
* @license GNU General Public License version 2 or later; see LICENSE.txt * @since 4.0.0 */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Uri\Uri; /** @var \Joomla\CMS\Document\HtmlDocument $this */ $app = Factory::getApplication(); $input = $app->input; $wa = $this->getWebAssetManager(); // Detecting Active Variables $option = $input->get('option', ''); $view = $input->get('view', ''); $layout = $input->get('layout', 'default'); $task = $input->get('task', 'display'); // Browsers support SVG favicons $this->addHeadLink(HTMLHelper::_('image', 'joomla-favicon.svg', '', [], true, 1), 'icon', 'rel', ['type' => 'image/svg+xml']); $this->addHeadLink(HTMLHelper::_('image', 'favicon.ico', '', [], true, 1), 'alternate icon', 'rel', ['type' => 'image/vnd.microsoft.icon']); $this->addHeadLink(HTMLHelper::_('image', 'joomla-favicon-pinned.svg', '', [], true, 1), 'mask-icon', 'rel', ['color' => '#000']); // Template params $logoBrandLarge = $this->params->get('logoBrandLarge') ? Uri::root() . htmlspecialchars($this->params->get('logoBrandLarge'), ENT_QUOTES) : $this->baseurl . '/templates/' . $this->template . '/images/logos/brand-large.svg'; $loginLogo = $this->params->get('loginLogo') ? Uri::root() . $this->params->get('loginLogo') : $this->baseurl . '/templates/' . $this->template . '/images/logos/login.svg'; $logoBrandSmall = $this->params->get('logoBrandSmall') ? Uri::root() . htmlspecialchars($this->params->get('logoBrandSmall'), ENT_QUOTES) : $this->baseurl . '/templates/' . $this->template . '/images/logos/brand-small.svg'; $logoBrandLargeAlt = empty($this->params->get('logoBrandLargeAlt')) && empty($this->params->get('emptyLogoBrandLargeAlt')) ? 'alt=""' : 'alt="' . htmlspecialchars($this->params->get('logoBrandLargeAlt'), ENT_COMPAT, 'UTF-8') . '"'; $logoBrandSmallAlt = empty($this->params->get('logoBrandSmallAlt')) && empty($this->params->get('emptyLogoBrandSmallAlt')) ? 'alt=""' : 'alt="' . htmlspecialchars($this->params->get('logoBrandSmallAlt'), ENT_COMPAT, 'UTF-8') . '"'; $loginLogoAlt = empty($this->params->get('loginLogoAlt')) && empty($this->params->get('emptyLoginLogoAlt')) ? 'alt=""' : 'alt="' . htmlspecialchars($this->params->get('loginLogoAlt'), ENT_COMPAT, 'UTF-8') . '"'; // Get the hue value preg_match('#^hsla?\(([0-9]+)[\D]+([0-9]+)[\D]+([0-9]+)[\D]+([0-9](?:.\d+)?)?\)$#i', $this->params->get('hue', 'hsl(214, 63%, 20%)'), $matches); // Enable assets $wa->usePreset('template.atum.' . ($this->direction === 'rtl' ? 'rtl' : 'ltr')) ->useStyle('template.active.language') ->useStyle('template.user') ->addInlineStyle(':root { --hue: ' . $matches[1] . '; --template-bg-light: ' . $this->params->get('bg-light', '#f0f4fb') . '; --template-text-dark: ' . $this->params->get('text-dark', '#495057') . '; --template-text-light: ' . $this->params->get('text-light', '#ffffff') . '; --template-link-color: ' . $this->params->get('link-color', '#2a69b8') . '; --template-special-color: ' . $this->params->get('special-color', '#001B4C') . '; }'); // 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'); $monochrome = (bool) $this->params->get('monochrome'); // Add cookie alert message Text::script('JGLOBAL_WARNCOOKIES'); // @see administrator/templates/atum/html/layouts/status.php $statusModules = LayoutHelper::render('status', ['modules' => 'status']); HTMLHelper::_('bootstrap.dropdown'); ?>
>
>
>
get('sitename'); ?>