Server : Apache System : Linux webd348.cluster026.gra.hosting.ovh.net 5.15.148-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 8 09:41:04 UTC 2024 x86_64 User : hednacluml ( 122243) PHP Version : 8.3.9 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/hednacluml/info/ecrire/exec/ |
<?php /***************************************************************************\ * SPIP, Système de publication pour l'internet * * * * Copyright © avec tendresse depuis 2001 * * Arnaud Martin, Antoine Pitrou, Philippe Rivière, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribué sous licence GNU/GPL. * \***************************************************************************/ /** * Gestion d'affichage ajax des sous rubriques dans le mini navigateur * * @package SPIP\Core\Exec */ if (!defined('_ECRIRE_INC_VERSION')) { return; } /** * Afficher en ajax les sous-rubriques d'une rubrique (composant du mini-navigateur) * * @uses inc_plonger_dist() * @uses ajax_retour() **/ function exec_plonger_dist() { include_spip('inc/actions'); $rac = preg_replace(',[^\w\,/#&;-]+,', ' ', _request('rac')); $id = intval(_request('id')); $exclus = intval(_request('exclus')); $col = intval(_request('col')); $do = _request('do'); if (preg_match('/^\w*$/', $do)) { if (!$do) { $do = 'aff'; } $plonger = charger_fonction('plonger', 'inc'); $r = $plonger($id, spip_htmlentities($rac), [], $col, $exclus, $do); } else { $r = ''; } ajax_retour($r); }