芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/installation/template/index.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; use Joomla\CMS\Version; /** @var JDocumentHtml $this */ // Add required assets $this->getWebAssetManager() ->registerAndUseStyle('template.installation', 'template' . ($this->direction === 'rtl' ? '-rtl' : '') . '.css') ->useScript('core') ->useScript('keepalive') ->useScript('form.validate') ->registerAndUseScript('template.installation', 'installation/template/js/template.js', [], [], ['core', 'form.validate']); $this->getWebAssetManager() ->useStyle('webcomponent.joomla-alert') ->useScript('messages') ->useScript('webcomponent.core-loader') ->addInlineStyle(':root { --hue: 214; --template-bg-light: #f0f4fb; --template-text-dark: #495057; --template-text-light: #ffffff; --template-link-color: #2a69b8; --template-special-color: #001b4c; }'); // Add script options $this->addScriptOptions('system.installation', ['url' => Route::_('index.php')]); // Load JavaScript message titles Text::script('ERROR'); Text::script('WARNING'); Text::script('NOTICE'); Text::script('MESSAGE'); // Add strings for JavaScript error translations. Text::script('JLIB_JS_AJAX_ERROR_CONNECTION_ABORT'); Text::script('JLIB_JS_AJAX_ERROR_NO_CONTENT'); Text::script('JLIB_JS_AJAX_ERROR_OTHER'); Text::script('JLIB_JS_AJAX_ERROR_PARSE'); Text::script('JLIB_JS_AJAX_ERROR_TIMEOUT'); Text::script('INSTL_DATABASE_RESPONSE_ERROR'); // Load the JavaScript translated messages Text::script('INSTL_PROCESS_BUSY'); // Load strings for translated messages (directory removal) Text::script('INSTL_REMOVE_INST_FOLDER'); Text::script('INSTL_COMPLETE_REMOVE_FOLDER'); ?>
Joomla! getShortVersion(); ?>