AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/nantes/administrator/components/com_kunena/tmpl/categories/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/nantes/administrator/components/com_kunena/tmpl/categories/edit.js
/**
 * Kunena       Component
 * @package     Kunena.BackendTemplate
 *
 * @copyright     Copyright (C) 2008 - 2025 Kunena Team. All rights reserved.
 * @license     https://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link        https://www.kunena.org
 **/

jQuery(document).ready(function ($) {
	const input_alias = $("#jform_aliases");
	const box = $("#aliascheck");
	const info = $("#aliasinfo");
	const apply = $(".button-apply");
	const save = $(".button-save");
	const savenew = $(".button-save-new");
	const savecopy = $(".button-save-copy");

	input_alias.on('input', function () {
		$.ajax({
			dataType: "json",
			url: "index.php?option=com_kunena&view=category&task=category.chkaliases&alias=" + input_alias.val() +"&format=json"
		}).done(function (response) {
			if (!response.msg) {
				input_alias.addClass("inputbox invalid-border");

				if (box.length) {
					apply.prop('disabled', true);
					save.prop('disabled', true);
					savenew.prop('disabled', true);
					savecopy.prop('disabled', true);
				}

				box.removeClass("valid icon-ok");
				box.addClass("invalid icon icon-remove");
				box.html(Joomla.Text._('COM_KUNENA_CATEGORIES_ERROR_CHOOSE_ANOTHER_ALIAS'));
			}
			else {
				input_alias.addClass("inputbox");
				input_alias.removeClass("invalid-border");

				if (box.length) {
					apply.prop('disabled', false);
					save.prop('disabled', false);
					savenew.prop('disabled', false);
					savecopy.prop('disabled', false);
				}

				if (box.length) {
					info.addClass("valid icon icon-ok");
					info.html("");
				}
			}
		});
	});
});

Anon7 - 2022
AnonSec Team