3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
6 * Copyright (c) 2001-2019 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
14 * Gestion d'affichage de page introuvable
16 * @package SPIP\Core\Exec
19 if (!defined('_ECRIRE_INC_VERSION')) {
26 function exec_404_dist() {
28 $exec = _request('exec');
30 $titre = "exec_$exec";
34 include_spip('inc/presentation'); // alleger les inclusions avec un inc/presentation_mini
35 $commencer_page = charger_fonction('commencer_page', 'inc');
36 echo $commencer_page($titre);
38 echo debut_gauche("404_$exec", true);
39 echo pipeline('affiche_gauche', array('args' => array('exec' => '404', 'exec_erreur' => $exec), 'data' => ''));
41 echo creer_colonne_droite('404', true);
42 echo pipeline('affiche_droite', array('args' => array('exec' => '404', 'exec_erreur' => $exec), 'data' => ''));
44 echo debut_droite('404', true);
45 echo "<h1 class='grostitre'>" . _T('fichier_introuvable', array('fichier' => $exec)) . '</h1>';
46 echo pipeline('affiche_milieu', array('args' => array('exec' => '404', 'exec_erreur' => $exec), 'data' => ''));
48 echo fin_gauche(), fin_page();