Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_komento/themes/default/settings/default.js
Ðазад
Komento.ready(function($) { $.Joomla("submitbutton", function(task) { if (task == 'export') { window.location.href = '<?php echo JURI::root();?>administrator/index.php?option=com_komento&view=settings&format=raw&layout=export&tmpl=component'; return; } if (task == 'import') { Komento.dialog({ "content": Komento.ajax('admin/views/settings/import') }); return; } $.Joomla("submitform", [task]); }); <?php if ($goto) { ?> var element = jQuery('#<?php echo $goto;?>'); var wrapper = element.parents('[data-fd-form-group]'); wrapper.css({ 'background': '#fff9c4', 'transition': 'background 1.0s ease-in-out' }); var resetBackground = function() { wrapper.css({ 'background': 'none' }); }; setInterval(function() { resetBackground(); }, 5000); function scrollToElement(element, offset) { var elementPosition = element.getBoundingClientRect().top; var offsetPosition = elementPosition - offset; setTimeout(function() { window.scrollTo({ top: offsetPosition, behavior: "smooth" }); }, 200); } var offset = $('nav.navbar').height() + $('header.header').height() + $('.subhead').height(); scrollToElement(element[0], offset); <?php } ?> // Append the settings search to the toolbar jQuery(document).on('fd.komento.search.settings', function(e, search, popup) { Komento.ajax('admin/views/settings/search', { 'text': search }).done(function(output) { popup.html(output).removeClass('t-hidden'); }); }); });
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка